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

Public Member Functions

 execute ()
 
- 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

 $fromDate = null
 
 $toDate = null
 
 $toId = null
 
 $indexUpdates
 
 $archive
 
 $limit
 
 $queue
 
 $maxJobs
 
 $pauseForJobs
 
 $namespace
 
 $excludeContentTypes
 
 $lastJobQueueCheckTime = 0
 

Protected Member Functions

 getDeletesIterator ()
 
 getIdsIterator ()
 
 getUpdatesByDateIterator ()
 
 getUpdatesByIdIterator ()
 
- 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\ForceSearchIndex::__construct ( )

Member Function Documentation

◆ getDeletesIterator()

CirrusSearch\Maintenance\ForceSearchIndex::getDeletesIterator ( )
protected
Returns
CallbackIterator

◆ getIdsIterator()

CirrusSearch\Maintenance\ForceSearchIndex::getIdsIterator ( )
protected
Returns
CallbackIterator

◆ getUpdatesByDateIterator()

CirrusSearch\Maintenance\ForceSearchIndex::getUpdatesByDateIterator ( )
protected
Returns
CallbackIterator

◆ getUpdatesByIdIterator()

CirrusSearch\Maintenance\ForceSearchIndex::getUpdatesByIdIterator ( )
protected
Returns
CallbackIterator

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