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

AEM OAK Indexing

Avatar

Level 7

AEM oak indexing is a very crucial and important concept as performance of all queries depends upon how oak has indexed the properties in back-end. I have received multiple request to write on indexing in aem as this is a very vast concept and very limited knowledge and documentation is available on internet. Because if no index is found for a specific query, then whole repository will be traversed, which is a very costly operation and might result in temporary freeze/hang of system/instance if multiple full path traversal queries are fired.

In this tutorial i will try my best to describe what are the type of index available in oak and which one should be used when in aem. As oak does not index as much content by default as Jackrabbit 2 does earlier and we have to create custom index to improve performance of query. So I will also cover how to create custom lucene and property index as part of this tutorial. After completing this tutorial you will have clear understanding about:-

  • Overview of OAK indexes.
  • Analyze queries in aem
  • Create custom property index in aem.
  • Create custom lucene index in aem
  • Troubleshooting aem queries.
4 Replies

Avatar

Administrator

Really valuable content for the community.

~kautuk

Avatar

Community Advisor

Hi Ankur,

I have read this article and very good!!

Ratna.

Avatar

Level 7

Thanks Everyone for reading the article and appreciating it . Thanks kautuk for your comments will take care of them in future posts.