Search
×
Log in or create an account
If you have an account with us, please log in.

You have no items in your shopping cart.

Frequently Asked Questions

How can we help you?

banner image

Can Elasticsearch be disabled in Magento 2?

Elasticsearch is obligatory after Magento 2.4 release so it can't be disabled. But there are some ways how you can significantly improve its performance using our Elastic Search extension. It is optimized for all devices and will help you improve your SERP to increment your add-to-cart rate.

Configuring the Magento 2 ElasticSearch extension

Step 1. First off, you need to set up the connection. For this, navigate to Admin Panel > Stores >  Configuration > Elastic Search > Connection:elasticsearch configuration

Step 2. Select the Amasty ElasticSearch in the Search Engine dropdown.

Step 3. Then, indicate the Elasticsearch Server Hostname by entering the ElasticSearch running machine IP address.

Step 4. Define the Elasticsearch Server Port.

Step 5. Configure the particular Elasticsearch Index Prefix for every store you implement the elastic search for.

Step 6. Set Yes in the Elasticsearch HTTP Auth dropdown if verification for your Elasticsearch server is enabled and fulfill the shown lines by your authentication data.

Step 7. If you need, set the time for Elasticsearch Server Timeout.

Step 8. Test the connection. If it is successful, then you’ve done everything right.

 

After that, you need to set Autocomplete suggestions & Spelling correction.

Step 1. Navigate to Admin Panel > Stores > Configuration > Elastic Search > Catalog:

elasticsearch catalog

Step 2. In the Wildcard Type field, choose from 3 options for the part of the word that will be automatically filled in.

Step 3. Then write the number of characters to Enable Wildcard After.

Step 4. Then  define when to Enable Spell Correction by entering the number of characters.

Step 5. In the Max Number of Search Results field, you can write your own maximum number of elements in the search results or leave it 0 to use the preset Magento value.

Step 6. In the next dropdown, you can set Yes to Allow Special Characters which is useful when a customer uses a highly specific search phrase and words that contain slashes, hyphens, dashes, or any other non-alphabetic symbols.

Step 7. The last thing here is to configure Advanced Query Settings. Just choose your preferences for each attribute. 

And remember that if you need to add a product attribute to a search query configuration you need to do the following:

Navigate to Admin Panel > Stores > Attributes > Product > Choose a product attribute you want click Storefront Properties > Enable Use in Search.

After that, you have to fulfill the Indexation Settings fields according to your needs and choose whether you want to enable Debug.

That's it. Check the user guide for more details about extension settings.

Rate the answer?

Total rating: 4.6

If you didn’t find the answer on your question, please, ask here:

Back to top