Connecting Elasticsearch Engine
Make sure, that you had installed Elastic Search prior to configuring it.
Note
Supported Elastic Search Engine versions are 5.2.+, 5.5.+ or 6.0.+.If you had installed it, and checked, whether it is running, visit System -> Search Management -> Settings subsection.
-
Set Elastic Search Engine in option Search Engine, and subpanel with connection settings will appear:
- Elasticsearch Host - Elastic Search host (localhost, or 127.0.0.1 by default).
- Elasticsearch Port - Elastic Search Query port (9200 by default).
- Elasticsearch Index Prefix - prefix for store index. Should be changed if you have multiple magento installations on server, each with respective prefix.
-
Check correctness of configuration by pressing Check Status button. It should return output, as described in How to check and manage Elastic Search Service subsection.
-
If parameters are incorrect, use Reset button to return to defaults.
- Save configuration, if you sure, that configuration is fine.
Note
After configuration saving, you need to run reindex:- At System -> Search Management -> Search Indices or
- Using CLI interface with a command
php bin/magento indexer:reindex catalogsearch_fulltext
from your store's root directory.