How To Configure Elasticsearch In Magento 2

In this post, I will guide you on How To Configure Elasticsearch In Magento 2. Recent Magento 2 instances have switched to using Elasticsearch. This is a powerful search engine that improves store search performance.

Steps To Configure Elasticsearch In Magento 2

1. Log in to Admin Panel.

2. On the Admin Panel sidebar, go to Stores > Settings > Configuration.

3. In the left panel, choose CATALOG > Catalog.

Choose-CATALOG-Catalog

4. Expand the Catalog Search section.

Expand the Catalog Search section

5. From the Search Engine list, select your Elasticsearch version.

From the Search Engine list, select your Elasticsearch version

Unless you changed Elasticsearch server settings, the defaults should work.

6. If you change the settings of the Elasticsearch server, you will need to reconfigure the options below:

Elasticsearch Option
  • Elasticsearch Server Hostname: Enter the fully qualified hostname or IP address of the machine running Elasticsearch.
  • Elasticsearch Server Port: Enter the Elasticsearch web server proxy port. The default is 9200.
  • Elasticsearch Index Prefix: Enter the Elasticsearch index prefix.
  • Enable Elasticsearch HTTP Auth: Click Yes only if you enabled authentication for your Elasticsearch server.
  • Elasticsearch Server Timeout: Enter the number of server timeout for elasticsearch.

7. Click Test Connection. If successful you will see the following:

Test Connection Successfully

8. Click Save Config when complete.

This is the end of the post.

Follow us for the more helpful posts!

We hope this is a useful post for you on How To Enable Cookie Restriction Mode In Magento 2.

Thank you for reading!

4.7 3 votes
Article Rating

Aaron LX

Aaron is a passionate writer, crazy about shopping, eCommerce and trends. Besides his outstanding research skills and a positive mind, Aaron eagerly shares his experience with the readers.

Leave a Reply or put your Question here

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x