Home >
Magento 2.x >
Extensions >
Ajaxsearch >
Ajaxsearch configuration
Configuration
Ajaxsearch configuration is located at Stores > Configuration > Swissup > Ajaxsearch
page.
Main
Option |
Description |
Enabled |
Enable/Disable module. |
Limit |
Set the max number of results to be displayed. |
Highlight |
Highlight the words you are searhing, in search results dropdown. |
Minimal Query Length |
Set minimum amount of characters in search field to start searching. |
Design
Option |
Description |
Form Layout |
Setup how the search input is looks like: Default - Initially visible form, Icon only - Minimalistic form, Icon only - Fullscreen form. |
Results Layout |
Setup how the results dropdown layout looks like: Grid and List modes are available. |
Product Suggestions
Option |
Description |
Enabled |
Show/hide products in search results. |
Limit |
Set the max number of products in results dropdown. |
Category Suggestions and Filters
Option |
Description |
Enabled |
Show/hide categories in search results. |
Limit |
Set the max number of categories in results dropdown. |
Show filter by Category |
Show/hide categories filter. |
CMS Page Suggestions
Option |
Description |
Enabled |
Show/hide CMS pages in search results. |
Limit |
Set the max number of pages in results dropdown. |
Popular Search Terms Suggestions
Option |
Description |
Enabled |
Show/hide popular search terms in search results. |
Limit |
Set the max number of popular search terms in results dropdown. |
MySQL Search Engine
Here you can change Search Method for Magento MySQL Search Engine. By default,
Magento uses fulltext
search method. It has benefits as well as downsides.
One of the downsides is dash (-) symbol in search query. Fulltext method shows
poor results or show no results at all.
On other hand, like
method has no problem with dash. Searches for substring
inside words. And has slightly different approach to relevance value calculation.
Often the most wished item is on top. As for downsides, like-method can be slow
for huge catalogs, short search requests and search requests with common words
show big number of matches.