cancel
Showing results for 
Search instead for 
Did you mean: 

Elasticsearch Not Working in Magento 2.0 on My Website – Need Help

Elasticsearch Not Working in Magento 2.0 on My Website – Need Help

Hi everyone,

I'm currently facing an issue with Elasticsearch not working properly on my Magento 2.0 website. I’ve set up Elasticsearch as the default search engine from the Magento admin panel, and I’ve double-checked that the service is running on my server (Elasticsearch version 2.x – compatible with Magento 2.0). However, the search functionality on the frontend is not returning any results, and the product search doesn’t seem to work at all.

Can anyone please help me figure this out? Has anyone faced a similar issue in Magento 2.0 with Elasticsearch? Any suggestions or debugging tips would be greatly appreciated.

Thanks in advance!

 

2 REPLIES 2

Re: Elasticsearch Not Working in Magento 2.0 on My Website – Need Help

Hello @pmkkgemsto3f38 

 

Yeah, this kind of issue was very common with early Magento 2.0 and Elasticsearch integration. Since you're running Magento 2.0 with Elasticsearch 2.x, you’re technically within supported versions but there are a few things to check and be aware of.

 

First, make sure all your indexes are up to date. Run:

php bin/magento indexer:reindex

Especially: catalogsearch_fulltext

 

In the Magento Admin Panel under:

Stores > Configuration > Catalog > Catalog Search

Make sure the Search Engine is set to Elasticsearch and the Elasticsearch Server Hostname and Port are correct (default is localhost and 9200).



Hope it helps ! 

If you find our reply helpful, please give us kudos.

 

A Leading Magento Development Agency That Delivers Powerful Results, Innovation, and Secure Digital Transformation.

 

WebDesk Solution Support Team

Get a Free Quote | | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789

 

Thank You,


WebDesk Solution Support Team
Get a Free Quote | Email | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789


Location: 150 King St. W. Toronto, ON M5H 1J9

Re: Elasticsearch Not Working in Magento 2.0 on My Website – Need Help

Magento 2 relies on Elasticsearch as its default search engine, so issues with its configuration or connection can lead to slow or broken search results. Common causes include incorrect Elasticsearch server credentials, incompatible versions, or service downtime. To resolve the issue, ensure that Elasticsearch is installed and running on your server, the correct version is being used (compatible with Magento 2.0), and the configuration settings in your Magento admin panel are accurate ts game. Restarting both Elasticsearch and your Magento services, and clearing cache, may also help restore proper functionality.