Expand my Community achievements bar.

SOLVED

ACS Commons service Ensure oak index causing indexing to restart

Avatar

Level 1

I am using AEM 6.4.8 and acs aem commons version is 5.1.2. There is a requirement in the code to create  custom oak indexes. So, I am using a service "Ensure oak Index" which is part of acs aem commons. This service is being used to sync my custom oak indexes to aem oak indexes.

 

Now, the issue is everytime when we restart aem, then indexing also restarts. Is there a way to stop reindexing again when aem restarts.

or Is their a way to sync our custom oak indexes without using ensure oak Index.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @robingarg24 ,

 

Do you have the forceReindex property set to true by any chance?

On create or update, the Oak Index can be marked to be immediately re-indexed by setting @forceReindex=true`.

 

If not, then you can try to ignore the same property & others which contribute to the same like : 

  • recreateOnUpdate
  • forceReindex
 properties.ignore="[myDescription,ignoreMe]

 

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @robingarg24 ,

 

Do you have the forceReindex property set to true by any chance?

On create or update, the Oak Index can be marked to be immediately re-indexed by setting @forceReindex=true`.

 

If not, then you can try to ignore the same property & others which contribute to the same like : 

  • recreateOnUpdate
  • forceReindex
 properties.ignore="[myDescription,ignoreMe]