How does lucence index works internally | Community
Skip to main content
Level 4
April 4, 2022
Solved

How does lucence index works internally

  • April 4, 2022
  • 1 reply
  • 939 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

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.

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
April 5, 2022

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
Level 4
April 7, 2022

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 ?