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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
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]

 

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now