We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de72791 commit 3260b1bCopy full SHA for 3260b1b
src/IndexRotator.php
@@ -13,7 +13,9 @@ class IndexRotator
13
const SECONDARY_INCLUDE_ID = 1;
14
const RETRY_TIME_COPY = 500000;
15
const MAX_RETRY_COUNT = 5;
16
- const DEFAULT_PRIMARY_INDEX_STRATEGY = 'Zumba\ElasticsearchRotator\Strategy\ConfigurationStrategy';
+ const STRATEGY_CONFIGURATION = 'Zumba\ElasticsearchRotator\Strategy\ConfigurationStrategy';
17
+ const STRATEGY_ALIAS = 'Zumba\ElasticsearchRotator\Strategy\AliasStrategy';
18
+ const DEFAULT_PRIMARY_INDEX_STRATEGY = self::STRATEGY_CONFIGURATION;
19
20
/**
21
* Elasticsearch client instance.
0 commit comments