Elasticsearch or OpenSearch is obligatory after Magento 2.4 release so it can't be disabled. However, while the search engine itself is mandatory, you are not limited to its basic configuration. You can significantly enhance its performance, relevance, and features through dedicated optimization and third-party extensions like our Elastic Search extension. It is optimized for all devices and will help you improve your SERP to increment your add-to-cart rate.
Step 1.
First, you need to set up the core connection in Magento. Navigate to Admin Panel > Stores > Settings > Configuration > Catalog > Catalog > Catalog Search.
Step 2. In the Search Engine dropdown, select your compatible search engine (Elasticsearch 7, Elasticsearch 8, or OpenSearch).
Step 3. Then, indicate the Elasticsearch/OpenSearch Server Hostname by entering the IP address or hostname of the machine where your search server is running.
Step 4. Define the Server Port.
Step 5. Configure the Index Prefix for your store.
Step 6. Set Yes for Enable HTTP Auth if authentication is required for your search server and enter your credentials.
Step 7. If needed, adjust the Server Timeout.
Step 8. Test the connection. If successful, the core connection is configured.
After that, you can configure the advanced features of our extension.
Step 1. Navigate to the extension's configuration section, for example: Admin Panel > Stores > Configuration > [Extension Name] > Catalog.
Step 2. In the Wildcard Type field, choose from the available options for partial word matching.
Step 3. Then specify the number of characters to Enable Wildcard After.
Step 4. Define when to Enable Spell Correction by setting the minimum number of characters.
Step 5. In the Max Number of Search Results field, set your limit or leave it at the default.
Step 6. You can set Yes to Allow Special Characters to handle searches containing symbols.
Step 7. Configure the Advanced Query Settings for each attribute according to your preferences.
Remember: For any product attribute to be searchable, you must enable it by navigating to Admin Panel > Stores > Attributes > Product, selecting the attribute, going to Storefront Properties, and enabling Use in Search.
After that, configure the Indexation Settings as needed and choose whether to enable Debug.
That's it. Check the user guide for more details about the extension settings.
Magento 2 disable Elasticsearch feature is not available if you have upgraded to Magento 2.4, as it became obligatory to have Elasticsearch or OpenSearch installed. There is no way to get around this core platform requirement. The primary way to extend and enhance the search functionality in the latest versions of Magento 2 is by installing and configuring third-party extensions that build upon the mandatory search engine.
Login and Registration Form