CirrusSearch
Elasticsearch-powered search for MediaWiki
Loading...
Searching...
No Matches
CirrusSearch\Maintenance\UpdateSuggesterIndex Class Reference
+ Inheritance diagram for CirrusSearch\Maintenance\UpdateSuggesterIndex:
+ Collaboration diagram for CirrusSearch\Maintenance\UpdateSuggesterIndex:

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)
 
 createChild (string $maintClass, ?string $classFile=null)
 @inheritDoc
 
 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.
 
 unwrap (Status $status)
 Helper method for Status returning methods, such as via ConfigUtils.
 

Additional Inherited Members

- Static Protected Attributes inherited from CirrusSearch\Maintenance\Maintenance
static $indent = null
 

Constructor & Destructor Documentation

◆ __construct()

CirrusSearch\Maintenance\UpdateSuggesterIndex::__construct ( )

Member Function Documentation

◆ getClient()

CirrusSearch\Maintenance\UpdateSuggesterIndex::getClient ( )
protected
Returns
Elastica\Client

◆ getIndex()

CirrusSearch\Maintenance\UpdateSuggesterIndex::getIndex ( )
Returns
\Elastica\Index being updated

◆ getIndexAliasName()

CirrusSearch\Maintenance\UpdateSuggesterIndex::getIndexAliasName ( )
protected
Returns
string name of the index type being updated

◆ outputProgress()

CirrusSearch\Maintenance\UpdateSuggesterIndex::outputProgress ( $docsDumped,
$limit )

public because php 5.3 does not support accessing private methods in a closure.

Parameters
int$docsDumped
int$limit

The documentation for this class was generated from the following file: