CirrusSearch
Elasticsearch-powered search for MediaWiki
|
Public Member Functions | |
execute () | |
validateAlias () | |
outputProgress ( $docsDumped, $limit) | |
public because php 5.3 does not support accessing private methods in a closure. | |
log ( $message, $channel=null) | |
getIndex () | |
Public Member Functions inherited from CirrusSearch\Maintenance\Maintenance | |
finalSetup (SettingsBuilder $settingsBuilder=null) | |
runChild ( $maintClass, $classFile=null) | |
getConnection ( $cluster=null) | |
getSearchConfig () | |
getMetaStore (Connection $conn=null) | |
loadSpecialVars () | |
Execute a callback function at the end of initialisation. | |
done () | |
Call to signal that execution of this maintenance script is complete so the next one gets the right indentation. | |
output ( $message, $channel=null) | |
outputIndented ( $message) | |
error ( $err, $die=0) | |
Public Attributes | |
$builder | |
Protected Member Functions | |
getClient () | |
getIndexAliasName () | |
Protected Member Functions inherited from CirrusSearch\Maintenance\Maintenance | |
disablePoolCountersAndLogging () | |
Disable all pool counters and cirrus query logs. | |
maybeCreateMetastore () | |
Create metastore only if the alias does not already exist. | |
requireCirrusReady () | |
getBackCompatOption (string $current, string $bc, bool $required=true) | |
Provides support for backward compatible CLI options. | |
Additional Inherited Members | |
Static Protected Attributes inherited from CirrusSearch\Maintenance\Maintenance | |
static | $indent = null |
CirrusSearch\Maintenance\UpdateSuggesterIndex::__construct | ( | ) |
Reimplemented from CirrusSearch\Maintenance\Maintenance.
|
protected |
CirrusSearch\Maintenance\UpdateSuggesterIndex::getIndex | ( | ) |
|
protected |
CirrusSearch\Maintenance\UpdateSuggesterIndex::outputProgress | ( | $docsDumped, | |
$limit ) |
public because php 5.3 does not support accessing private methods in a closure.
int | $docsDumped | |
int | $limit |