Skip to content

Commit

Permalink
Merge branch 'release-1.18.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Oct 10, 2024
2 parents cc8724f + 4722bea commit c4d0a2a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion model/SearchEngine/Driver/Elasticsearch/ElasticSearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,8 @@ public function updateAliases(): void
$aliases = [];

foreach ($indexes as $index) {
$aliases[$index['index']] = current(array_keys($index['body']['aliases']));
$indexName = $this->prefixer->prefix($index['index']);
$aliases[$indexName] = current(array_keys($index['body']['aliases']));
}
$this->client->indices()->updateAliases(
[
Expand Down

0 comments on commit c4d0a2a

Please sign in to comment.