Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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]