Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

How does lucence index works internally

Avatar

Level 5

Hi,

I have read bunch articles on lucence index in AEM, like how to create and it is helpful in reducing traversal but still not able to understand, how these indexes works internally .

 

How does defining an index makes difference in traversal , what is the internal logic?

 

Thanks

Ganesh

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

An index contains keys built from one or more properties in the node. These keys are stored in a structure (B-tree) that enables JCR to find the node(s) associated with the key values quickly and efficiently.



Arun Patidar

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

An index contains keys built from one or more properties in the node. These keys are stored in a structure (B-tree) that enables JCR to find the node(s) associated with the key values quickly and efficiently.



Arun Patidar

Avatar

Level 5

index has it's own storage of our data so that whenever query is run it will search in taht storage first if not found then will come to jcr:content ?