The index uses V1/V2 to switch between versions during a rebuild allowing the index to be available while a reindex is on going and after the process has been indices will be switched (aka rollover) without down time. The index uses aliases to hide the "real" identity of the current active index.
- See also
- https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-rollover-index.html
GNU GPL v2+
- Since
- 3.0
- Author
- mwjames
◆ __construct()
SMW\Elastic\Indexer\Rollover::__construct |
( |
ElasticClient |
$connection | ) |
|
◆ delete()
SMW\Elastic\Indexer\Rollover::delete |
( |
|
$type | ) |
|
- Since
- 3.0
- Parameters
-
- Exceptions
-
◆ rollover()
SMW\Elastic\Indexer\Rollover::rollover |
( |
|
$type, |
|
|
|
$version |
|
) |
| |
- Since
- 3.0
- Parameters
-
string | $type | |
string | $version | |
- Returns
- string
◆ update()
SMW\Elastic\Indexer\Rollover::update |
( |
|
$type | ) |
|
- Since
- 3.0
- Parameters
-
- Exceptions
-
The documentation for this class was generated from the following file: