CirrusSearch
Elasticsearch-powered search for MediaWiki
|
Dump an index from elasticsearch. More...
Public Member Functions | |
execute () | |
write (array $document) | |
outputIndented ( $message) | |
output ( $message, $channel=null) | |
outputProgress ( $docsDumped, $limit) | |
public because php 5.3 does not support accessing private methods in a closure. | |
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. | |
error ( $err, $die=0) | |
Protected Member Functions | |
getClient () | |
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 |
Dump an index from elasticsearch.
CirrusSearch\Maintenance\DumpIndex::__construct | ( | ) |
Reimplemented from CirrusSearch\Maintenance\Maintenance.
|
protected |
CirrusSearch\Maintenance\DumpIndex::output | ( | $message, | |
$channel = null ) |
string | $message | |
string | null | $channel |
Reimplemented from CirrusSearch\Maintenance\Maintenance.
CirrusSearch\Maintenance\DumpIndex::outputIndented | ( | $message | ) |
string | $message |
Reimplemented from CirrusSearch\Maintenance\Maintenance.
CirrusSearch\Maintenance\DumpIndex::outputProgress | ( | $docsDumped, | |
$limit ) |
public because php 5.3 does not support accessing private methods in a closure.
int | $docsDumped | |
int | $limit |
CirrusSearch\Maintenance\DumpIndex::write | ( | array | $document | ) |
array | $document | Valid elasticsearch document to write to stdout |