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

  1. Modify the .magento.env.yaml file.

  2. Locate the following lines:

    code language-yaml
      deploy:
    ...
        SEARCH_CONFIGURATION:
          engine: opensearch
    
  3. If you don’t have these lines, add them to the .magento.env.yaml file.

  4. If these lines exist, modify the engine from opensearch to livesearch.

  5. Commit the change and then redeploy.

recommendation-more-help
8bd06ef0-b3d5-4137-b74e-d7b00485808a