Connect with the Elasticsearch Engine

Make sure that you have installed the Elasticsearch Engine on your server.

Go to System > Search Management > Settings.
Select Elasticsearch within the option Search Engine.
Fill in the following fields:

  • Elasticsearch Host - elasticsearch host (localhost by default).
  • Elasticsearch Port - elasticsearch port (9200 by default).
  • Elasticsearch Index Prefix - prefix for store index. Should be changed if you have few magento installations on server.

Note

After changing engine configuration, you need to run search reindex at System > Search Management > Search Indices or using CLI interface php bin/magento indexer:reindex catalogsearch_fulltext.