|
| __construct (Index $index, ConfigUtils $utils, array $analysisConfig, array $mappings, ?array $similarityConfig=null, $greenTimeout=120) |
|
| createIndex ( $rebuild, $maxShardsPerNode, $shardCount, $replicaCount, $refreshInterval, array $mergeSettings, array $extraSettings) |
|
◆ __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 | $greenTimeout | How long to wait for index to become green, in seconds |
◆ 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:
- includes/Maintenance/IndexCreator.php