Configuring Catalog Search
By default, Magento uses the MySQL search engine. You have three options for your catalog search engine: MySQL, Elasticsearch, and Elasticsearch 5.0+. Each option includes a set of general search engine configurations and additional features specific to the search engine.
MySQL is the default search engine used by Magento Commerce.
Elasticsearch is a powerful and highly scalable distributed search engine that is used by many industry leaders with high-volume sites.
General Search Options
All search engines include a set of search options.
The minimum number of characters allowed in a catalog search.
The value set for this option must be compatible with the corresponding range set in your selected search engine configurations. For example, if you set this value to 2 in Magento, update the value in your search engine.
Maximum Query Length
The maximum number of characters allowed in a catalog search.
The value set for this option must be compatible with the corresponding range set in your selected search engine configurations. For example, if you set this value to 300 in Magento, update the value in your search engine.
Number of top search results to cache
The number of popular search terms and results to cache for faster responses. Entering a value of 0 caches all search terms and results when entered a second time. Default value: 100
The maximum number of search results to display for search autocomplete. Restricting this amount increases performance of searches and reduces the displayed list size. Default value: 8
Enable Search Suggestions
Determines if search suggestions appear for common misspellings. When enabled, search suggestions are offered for any request that returns no results. Search suggestions can impact the performance of search. Options: Yes / No
When set to Yes, additional options display for Enable Search Recommendations and associated fields.
Search Suggestions Count
The maximum number of search suggestions offered. Default value: 2
Show Results Count for Each Suggestion
Determines if the number of search results is shown for each suggestion. Depending on theme, the number usually appears in brackets after the suggestion. Options: Yes / No
Enable Search Recommendations
Determines if search recommendations are offered when a search returns no results. Options include: Yes / No
When set to Yes, additional options display for Search Recommendations Count and Shows Results Count for Each Recommendation.
Search Recommendations Count
Specifies the number of search terms offered as recommendations. By default, no more than five are shown.
Show Results Count for Each Recommendation
When set to "Yes," the number of products found for the proposed search recommendation is shown in the brackets. Options: Yes / No
A quick rating takes only 3 clicks. Add a comment to help us improve Magento even more.