How to fix the Algolia search engine for not showing newly added products? – A Story of a Programmer interest in Technology, Life Style

Magento 2

One day, I noticed that already showed products are not showing in the product search result page of the e-commerce Magento web application. This web application has implemented the Alogila Search Engine.

Therefore, today I thought I should tell you about how could I fix that Algolia search engine not showing the result for newly added or previously added products on the Magento eCommerce website. I am not sure that you may already know this but I thought it will be worthwhile to let you if you wouldn’t know it.

What is Algolia?

Algolia is a product search engine tool that we can implement on Magento eCommerce websites to use as the product search module. This Algolia tool will be an elastic search engine and all the product information will be indexed in their platform. For instance, Index means similarly keeping keys to map with the data. They will maintain separate keys/indexes to relevant data in their database. They provide this service as a SaaS (Software As A Service) platform. Algolia has a wonderful analytical dashboard to analyze user behavior for marketing purposes as well.

To resolve this indexing problem, there are 2 ways that we can fix this issue as below,

Method One:

1) In the first method, search the newly added product info in the Algolia control panel PROD_indexname_products index after did the full re-index in the Magento Web Application. You can follow the below steps,

     – Do full re-index

     – Logging to the Alolgia control panel

     – Goto Indices

     – Search and select PROD_indexname_products index (This Index name might be different according to your website indexes)

     – Search newly added product info

If the index is not available you will require to do another full re-index and re-do the previous steps. In the Dashboard latest operations section build and error tabs, you could see current re-index transactions and errors.

Method Two:

2) In the second method, remove the PROD_indexname_products index and re-create PROD_indexname_products index in the Algolia control panel, and do another full re-index. You can follow the below steps,

     – Logging to the Alolgia control panel

     – Goto Indices

     – Search and select PROD_indexname_products index

     – Copy the PROD_indexname_products index name

     – Click Manage current index

     – Delete PROD_indexname_products index

     – Click New Index

     – Re-add the PROD_indexname_products index name

     – Do full re-index

In conclusion, we will have to do a full re-index and verify that the related index was created in the Algolia dashboard. Otherwise, you will require to remove that specific index from the dashboard and manually re-create that index with the same name, and do a full re-index. You will see current re-index transactions and errors in the Dashboard latest operations section build and error tabs,

So try these simple two methods and add comments if you would get any issues. I am sure it will work out to resolve the Algolia search engine indexing issue.

I am here to help you out. Have a nice day!

Cheers!

References:



Source link

Leave a Comment

Your email address will not be published. Required fields are marked *


Scroll to Top