reindexing | Community
Skip to main content
bsr060893
Level 3
May 15, 2020
Solved

reindexing

  • May 15, 2020
  • 2 replies
  • 6735 views

I have done the purge activity and trying to re-index.

As a part of re-indexing i have deleted the folder index under /crx-quickstart/repository.

After the start of the instance i see the re-index doesnt happen and when i trigger from crxde by setting the reindex to true then reindex happened .

Ideally re-index should happen when the index folder is deleted and restarted the instance and what should be wrong in this scenario?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

Be aware, that "reindexing" is something which was done way to often in the past, and in most cases it was not necessary at all and sometimes even caused more issues. Please performa a reindex (as a process to fix a problem) only when the Adobe support instructed you to do.

 

Please check the official documentation regarding this: https://docs.adobe.com/content/help/en/experience-manager-65/deploying/practices/best-practices-for-queries-and-indexing.html#re-indexing

2 replies

bilal_ahmad
Level 5
May 15, 2020

Hi @bsr060893,
First off, why did you delete the folder index under /crx-quickstart/repository as a part of full re-index(I believe that's what you're trying to achieve). You don't have to do that even if you want to fully re-index.

Have a look at this : How to complete full re-indexing in AEM

 

Also, setting reindex={Boolean}true is one way to do it, but only a particular index will get re-indexed, not all of them.

Thanks, Bilal.

Nirmal_Jose
Adobe Employee
Adobe Employee
May 17, 2020

Removing the index folder and restarting AEM is the recommended method if lucene index binary is corrupt. Ref - https://github.com/AdobeDocs/experience-manager-65.en/blob/master/help/sites-deploying/best-practices-for-queries-and-indexing.md#lucene-index-binary-is-corrupt-lucene-index-binary-is-corrupt

Agree that oak run is the right way to do a full reindexing, but deleting the index folder and restarting should work as well.

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
May 17, 2020

Be aware, that "reindexing" is something which was done way to often in the past, and in most cases it was not necessary at all and sometimes even caused more issues. Please performa a reindex (as a process to fix a problem) only when the Adobe support instructed you to do.

 

Please check the official documentation regarding this: https://docs.adobe.com/content/help/en/experience-manager-65/deploying/practices/best-practices-for-queries-and-indexing.html#re-indexing