AEM Developer Certification - OAK Index | Community
Skip to main content
Level 3
January 26, 2025
Solved

AEM Developer Certification - OAK Index

  • January 26, 2025
  • 3 replies
  • 619 views

An AEM Developer creates a custom OAK index for /content/mywebsite under /oak:index node. While testing the live site. It is found that the index is not being applied to any query within the website. Default Lucene indexes with high cost are being picked up by the AEM.

What is the most likely of the issue?

 

The custom OAK lucene index is missing evaluatePathRestrictions property and includedPaths property

 

The Custom OAK lucene index is missing evaluatePathRestrictions property and queryPaths property

 

The Custom Oak Lucene index must include boost property to rank it higher than default Lucene index

 

The custom OAK Lucene index must be replaced with OAK Lucene Property index

Best answer by Raja_Reddy

Hi @s__k__agarwal 

These two properties are essential for ensuring that your custom index is applied correctly to queries on the /content/mywebsite path. So, my recommendation is:

The custom OAK lucene index is missing evaluatePathRestrictions property and includedPaths property

3 replies

Raja_Reddy
Community Advisor
Raja_ReddyCommunity AdvisorAccepted solution
Community Advisor
January 27, 2025

Hi @s__k__agarwal 

These two properties are essential for ensuring that your custom index is applied correctly to queries on the /content/mywebsite path. So, my recommendation is:

The custom OAK lucene index is missing evaluatePathRestrictions property and includedPaths property

AmitVishwakarma
Community Advisor
Community Advisor
February 2, 2025

The most likely issue is that the custom OAK Lucene index is missing the evaluatePathRestrictions property and the includedPaths property. These properties are essential to ensure that the custom index is applied to the correct paths, like /content/mywebsite, and optimize query performance.