Error opensearch search engine doesn’t exist. Falling back to livesearch.
This article provides a solution to the issue where you see the error: Error: opensearch search engine doesn’t exist. Falling back to livesearch. in Adobe Commerce on cloud infrastructure where Live Search is used.
Affected products and versions
- Adobe Commerce on cloud infrastructure, all versions
- Live Search is installed and in use
Issue
The following message is shown in the logs (and observable in New Relic):
Error: opensearch search engine doesn’t exist. Falling back to livesearch.
Solution
-
Modify the
.magento.env.yaml
file. -
Locate the following lines:
code language-yaml deploy: ... SEARCH_CONFIGURATION: engine: opensearch
-
If you don’t have these lines, add them to the
.magento.env.yaml
file. -
If these lines exist, modify the engine from opensearch to livesearch.
-
Commit the change and then redeploy.
Related reading
- Install Live Search in our Live Search Guide
recommendation-more-help
8bd06ef0-b3d5-4137-b74e-d7b00485808a