cancel
Showing results for 
Search instead for 
Did you mean: 

Products are being disappeared randomly

Products are being disappeared randomly

In Magento 2.3.4, frequently Products are being disappeared from listing page and upon next refresh it works. I checked all possible cases but failed to find out the root cause.

 
Can some share the possible reason / solution for it?
2 REPLIES 2

Re: Products are being disappeared randomly

Found the solution for myself and wanted to share:

If you are using ElasticSearch or ElasticSuite for your search functionality and you have multiple Magento2 instances running on the same server (ex. Production server and Staging server); you need to ensure that they have separate values.

 

ElasticSearch:

In the admin go to Stores > Configuration > Catalog > Catalog > Catalog Search > Elasticsearch Index Prefix

This needs to be a unique value compared to other stores.

 

ElasticSuite:

In the admin go to Stores > Configuration > ElasticSuite > Base Settings > Indices Settings > Indices Alias Name

This needs to be a unique value compared to other stores.