MT Search extension settings are found:Admin Panel >> System >> Configuration >> MAGETREND EXTENSIONS >> ElasticSearch
General configuration
- Is Active – Enable/Disable MTsearch extension.
- Include jQuery – turn off if jQuery library already exists. Usually jQuery is already included.
- Indexer Product Limit – Product limit in cron process. More about crontab configuration in paragraph 3.4.
- Debug mode – turn on if you want to log errors, search queries and results. Log file is in /var/log/elasticsearch.log.
Search Settings
- Host – Elasticsearch’s host. By default: 127.0.0.1 or localhost.
- Port – Elasticsearch’s port.
- Language–Choose your store’s language. If you don’t find your language, leave it empty.
- Min Score – Search results have relevance score. You can filter search result with this setting.
Default min score is 0.15. The higher value means more relevant results but also less results. - Searchable Attributes – Add attributes which will be used in search.
Often used attributes: - Name
- Categories
- Manufacturer
- SKU
- Description
- Color
- Size
Some attributes can be more important, if you add higher weight for them. Weight range: 0 – 2. If new attributes were added, you will need to update Elasticsearch ("Button: Apply Settings to ElasticSearch").
Auto Suggestion
- Is Active – enable/Disable suggestion function.
- Show Products – enable/Disable products’ suggestion.
- Result Limit – limit number of suggestions.
- Show Image – show image in suggestions.
- Show Price – show price in suggestions.
- Show Description – show description in suggestions.
- Description Length – limit description size.
Crontab configuration
MT Search is using cron (periodic tasks) for product indexing. It should be run every 5 minutes by default.
How to calculate product limit per process:
{STORE_COUNT} – Your store count.
If you have more than 10 000 products, recommended optimal product per process number: 400/{STORE_COUNT }
If you have less than 10 000 products, recommended optimal product per process number: 200/{STORE_COUNT}
If you have less than 5 000 products, recommended optimal product per process number: 100/{STORE_COUNT}
Please enter your choice to "Indexer Product Limit " field