Skip to content

Commit 09e6bda

Browse files
committed
MC-31304: [ElasticSearch] Exception on catalog search result page
1 parent 5848057 commit 09e6bda

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Elasticsearch/Model/Adapter/Elasticsearch.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,7 @@ public function updateAlias($storeId, $mappedIndexerId)
344344
// remove obsolete index
345345
if ($oldIndex) {
346346
$this->client->deleteIndex($oldIndex);
347+
unset($this->indexByCode[$mappedIndexerId . '_' . $storeId]);
347348
}
348349

349350
return $this;

0 commit comments

Comments
 (0)