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

Public Member Functions

 __construct (Index $index, ConfigUtils $utils, array $analysisConfig, array $mappings, ?array $similarityConfig=null, $greenTimeout=120)
 
 createIndex ( $rebuild, $maxShardsPerNode, $shardCount, $replicaCount, $refreshInterval, array $mergeSettings, array $extraSettings)
 

Constructor & Destructor Documentation

◆ __construct()

CirrusSearch\Maintenance\IndexCreator::__construct ( Index $index,
ConfigUtils $utils,
array $analysisConfig,
array $mappings,
?array $similarityConfig = null,
$greenTimeout = 120 )
Parameters
Index$index
ConfigUtils$utils
array$analysisConfig
array$mappings
array | null$similarityConfig
int$greenTimeoutHow long to wait for index to become green, in seconds

Member Function Documentation

◆ createIndex()

CirrusSearch\Maintenance\IndexCreator::createIndex ( $rebuild,
$maxShardsPerNode,
$shardCount,
$replicaCount,
$refreshInterval,
array $mergeSettings,
array $extraSettings )
Parameters
bool$rebuild
int$maxShardsPerNode
int$shardCount
string$replicaCount
int$refreshInterval
array$mergeSettings
array$extraSettings
Returns
Status

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