Skip to content

Product Search retuns error

Hi all while searching product in magento 2.4.1 am getting below error my elastic search version is 7.12.1 can any one suggest what is the exact issue here.

1 exception(s): Exception #0
(ElasticsearchCommonExceptionsMissing404Exception):
{“error”:{“root_cause”:[{“type”:”index_not_found_exception”,”reason”:”no
such index
[magento2_product_1]”,”resource.type”:”index_or_alias”,”resource.id”:”magento2_product_1″,”index_uuid”:”na“,”index”:”magento2_product_1″}],”type”:”index_not_found_exception”,”reason”:”no
such index
[magento2_product_1]”,”resource.type”:”index_or_alias”,”resource.id”:”magento2_product_1″,”index_uuid”:”na“,”index”:”magento2_product_1″},”status”:404}

Exception #0 (ElasticsearchCommonExceptionsMissing404Exception):
{“error”:{“root_cause”:[{“type”:”index_not_found_exception”,”reason”:”no
such index
[magento2_product_1]”,”resource.type”:”index_or_alias”,”resource.id”:”magento2_product_1″,”index_uuid”:”na“,”index”:”magento2_product_1″}],”type”:”index_not_found_exception”,”reason”:”no
such index
[magento2_product_1]”,”resource.type”:”index_or_alias”,”resource.id”:”magento2_product_1″,”index_uuid”:”na“,”index”:”magento2_product_1″},”status”:404}

#1
ElasticsearchConnectionsConnection->ElasticsearchConnections{closure}()
called at [vendor/react/promise/src/FulfilledPromise.php:28]
#2 ReactPromiseFulfilledPromise->then() called at [vendor/ezimuel/ringphp/src/Future/CompletedFutureValue.php:55]
#3 GuzzleHttpRingFutureCompletedFutureValue->then() called at [vendor/ezimuel/ringphp/src/Core.php:341]