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.
4. Expand the Catalog Search section.
5. 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 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:
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!