wCMF
3.6
|
Public Member Functions | |
getWorkPackage ($number) | |
collect ($types) | |
index ($oids) | |
optimize ($oids) | |
Public Member Functions inherited from BatchController | |
initialize (&$request, &$response) | |
addWorkPackage ($name, $size, $oids, $callback, $args=null) | |
getWorkPackage ($number) | |
getNumberOfSteps () | |
getDisplayText ($step) | |
getSummaryText () | |
processPart () | |
Public Member Functions inherited from LongTaskController | |
initialize (&$request, &$response) | |
hasView () | |
executeKernel () | |
getStepNumber () | |
getNumberOfSteps () | |
getDisplayText ($step) | |
getSummaryText () | |
initializeTask () | |
processPart () | |
Public Member Functions inherited from Controller | |
Controller (&$delegate) | |
initialize (&$request, &$response) | |
validate () | |
hasView () | |
execute () | |
executeKernel () | |
getErrorMsg () | |
setErrorMsg ($msg) | |
appendErrorMsg ($msg) | |
& | getRequest () |
& | getResponse () |
& | getView () |
& | getDelegate () |
getViewTemplate ($controller, $context, $action) | |
getCacheId () | |
assignViewDefaults (&$view) | |
isLocalizedRequest () | |
Additional Inherited Members | |
Public Attributes inherited from BatchController | |
$WORK_PACKAGES_VARNAME = 'BatchController.workPackages' | |
$NUM_STEPS_VARNAME = 'BatchController.numSteps' | |
$_workPackages = array() | |
Public Attributes inherited from LongTaskController | |
$STEP_SESSION_VARNAME = 'LongTaskController.curStep' | |
$ONE_CALL_SESSION_VARNAME = 'LongTaskController.oneCall' | |
$_curStep = 1 | |
Public Attributes inherited from Controller | |
$_request = null | |
$_response = null | |
$_errorMsg = '' | |
$_view = null | |
$_delegate = null | |
SearchIndexController creates a Lucene index from the complete datastore.
wCMF - wemove Content Management Framework Copyright (C) 2005-2014 wemove digital solutions GmbH
Licensed under the terms of any of the following licenses at your choice:
See the license.txt file distributed with this work for additional information.
Input actions:
Output actions:
Definition at line 36 of file class.SearchIndexController.php.
SearchIndexController::getWorkPackage | ( | $number | ) |
Definition at line 42 of file class.SearchIndexController.php.
References BUILDDEPTH_SINGLE, Message\get(), PersistenceFacade\getInstance(), PersistenceFacade\getKnownTypes(), SearchUtil\isActivated(), and SearchUtil\resetIndex().
SearchIndexController::collect | ( | $types | ) |
Collect all oids of the given types
types | The types to process |
Definition at line 74 of file class.SearchIndexController.php.
References BatchController\addWorkPackage(), Message\get(), and PersistenceFacade\getInstance().
SearchIndexController::index | ( | $oids | ) |
Create the lucene index from the given objects
oids | The oids to process |
Definition at line 91 of file class.SearchIndexController.php.
References BatchController\addWorkPackage(), BUILDDEPTH_SINGLE, SearchUtil\commitIndex(), Message\get(), PersistenceFacade\getInstance(), BatchController\getNumberOfSteps(), LongTaskController\getStepNumber(), SearchUtil\indexInSearch(), and PersistenceFacade\isValidOID().
SearchIndexController::optimize | ( | $oids | ) |
Definition at line 109 of file class.SearchIndexController.php.
References SearchUtil\optimizeIndex().