What is causing the "search engine doesn't exist" error?
You might come across the following error in system logs when Live Search is used. The "elasticsearch" part can also be slightly different in various cases, for example, "elasticsearch7" or "opensearch" can be mentioned instead:
report.ERROR: elasticsearch search engine doesn't exist. Falling back to livesearch
It means that, while Live Search is installed and configured in the backend of a Magento instance, the core_config_data table in the database that stores all the configuration info has some other search engine mentioned in it. This happens if backend configs were overridden by hardcoding one of the core Magento files:
app/etc/env.php
app/etc/config.php
To get rid of the error, it is recommended to update the catalog/search/engine record in the core_config_data table and replace irrelevant search engine name with "livesearch".
Related Articles
What's the difference between Advanced Search and Elastic Search?
In our catalog, we offer two search extensions for Magento 2 - Advanced Search and Elastic Search. Both of them are aimed at improvement of the search process but the functionality differs. Elastic Search consists of several components, including the ...
I face some issues with the Elastic Search extension. What should I check?
If the extension doesn't work as expected (e.g. search results are not relevant or do not display at all), we'd recommend checking the module configurations following the instructions below. 1. A compatible version of the Elasticsearch Engine should ...
How to translate the search popup created by Amasty Advanced Search?
The stores often have multiple views for different languages. The Amasty extensions are easy to translate using the following article - How to translate a Magento 2 extension? However, there are peculiarities associated with the translation of the ...
How to configure search synonyms in Amasty Elastic Search?
Besides other features like Search Relevance Rules, Stop Words, etc., the Amasty Elastic Search extension supports Search Synonyms. Default Magento synonyms aren't used in Amasty Elastic Search, the module manages synonyms separately. Step 1. To ...
How to Fix the "Syntax error or access violation: 1072 Key column 'customer_group_id' doesn't exist in table" issue?
The outlined error is related to the amasty_groupcat_rule_product table, which is used by the Customer Group Catalog extension and serves as an index table. Data gets written into it only after performing a full Magento reindex. However, some issues ...