Elasticsearch is a robust and highly scalable catalog search solution which is used by high-volume sites such as eBay, Wikipedia, and GitHub. With the support of Elasticsearch, store admins can implement both search suggestions and recommendations. In this article, you will be instructed to configure Elasticsearch in Magento 2. Let’s explore three steps below!
In the Enable EAV Indexer field, select Yes/ No option to enable/ disable the Product EAV indexer. This functionality increases indexation speed and keeps the indexer from the use by 3rd party extensions. This feature does not display for the system value Search Engines.
To restrict the length and word count of search query text, set the Minimal Query Length and Maximum Query Length.
Note: The value set for this minimum and maximum range must be compatible with the corresponding range set in your Elasticsearch search engine configurations. For example, if you set these values to 2 and 300 in Magento, update the values in your search engine.
To restrict the number of popular search results to cache for faster responses, enter a number on Number of top search results to cache field.
To restrict the maximum number of search results to show for search autocomplete, set an amount for Autocomplete Limit. Limiting this amount enhances the performance of searches and cut down the displayed list size. The default number is 8.
Search suggestions and recommendations can affect server performance
Above is the detail instruction to configure Elasticsearch in Magento 2. If you have questions on any steps, don’t hesitate to contact us. Would you like to provide all advanced techniques for searching online in your store? Let’s Ajax Search extension to help you! Mageplaza Ajax Search for Magento 2 is the perfect solution to make your website more optimized and flexible in searching for products as well as enhance customer satisfaction and boost your online store sale.
It comes to the end of the tutorial: How To Configure Elasticseach in Magento 2.