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.
2 parents de23faf + 0653ecb commit 684c1d9Copy full SHA for 684c1d9
src/IndexRotator.php
@@ -86,7 +86,8 @@ public function getPrimaryIndex()
86
$primaryPayload = [
87
'index' => $this->configurationIndexName,
88
'type' => static::TYPE_CONFIGURATION,
89
- 'id' => static::PRIMARY_ID
+ 'id' => static::PRIMARY_ID,
90
+ 'preference' => '_primary'
91
];
92
try {
93
$primary = $this->engine->get($primaryPayload);
0 commit comments