CirrusSearch
Elasticsearch-powered search for MediaWiki
Loading...
Searching...
No Matches
CirrusSearch\Maintenance\UpdateOneSearchIndexConfig Class Reference

Update the elasticsearch configuration for this index. More...

+ Inheritance diagram for CirrusSearch\Maintenance\UpdateOneSearchIndexConfig:
+ Collaboration diagram for CirrusSearch\Maintenance\UpdateOneSearchIndexConfig:

Public Member Functions

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

Static Public Member Functions

static addSharedOptions ( $maintenance)
 

Protected Member Functions

 validateShardAllocation ()
 
 initMappingConfigBuilder ()
 
 getSpecificIndexName ()
 
 getIndexAliasName ()
 
 getIndexName ()
 
 getOldIndex ()
 
- 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.
 

Protected Attributes

 $bannedPlugins
 
 $optimizeIndexForExperimentalHighlighter
 
 $refreshInterval
 
 $masterTimeout
 

Additional Inherited Members

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

Detailed Description

Update the elasticsearch configuration for this index.

Constructor & Destructor Documentation

◆ __construct()

CirrusSearch\Maintenance\UpdateOneSearchIndexConfig::__construct ( )

Member Function Documentation

◆ addSharedOptions()

static CirrusSearch\Maintenance\UpdateOneSearchIndexConfig::addSharedOptions ( $maintenance)
static
Parameters
Maintenance$maintenance

◆ execute()

CirrusSearch\Maintenance\UpdateOneSearchIndexConfig::execute ( )

@suppress PhanUndeclaredMethod ExceptionInterface has no methods

◆ getIndex()

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

◆ getIndexAliasName()

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

◆ getIndexName()

CirrusSearch\Maintenance\UpdateOneSearchIndexConfig::getIndexName ( )
protected
Returns
string

◆ getOldIndex()

CirrusSearch\Maintenance\UpdateOneSearchIndexConfig::getOldIndex ( )
protected
Returns
\Elastica\Index

◆ getSpecificIndexName()

CirrusSearch\Maintenance\UpdateOneSearchIndexConfig::getSpecificIndexName ( )
protected
Returns
string name of the index being updated

◆ initMappingConfigBuilder()

CirrusSearch\Maintenance\UpdateOneSearchIndexConfig::initMappingConfigBuilder ( )
protected
Exceptions

ConfigException


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