Need for Query and Index in AEM | AEM Community Blog Seeding | Community
Skip to main content
kautuk_sahni
Community Manager
Community Manager
May 19, 2020

Need for Query and Index in AEM | AEM Community Blog Seeding

  • May 19, 2020
  • 0 replies
  • 2203 views

BlogImage.jpg

Need for Query and Index in AEM by myaemlearnings blogspot

Abstract

For functionalities like full text search, retrieve content based on certain property or conditions associated with property/to avoid iterations on huge volume of content under the root, we write query based logic in AEM.

Languages supported :
1.XPATH
2.JCR-SQL2
XPath:
1.Created using AEM Query Builder API. - com.day.cq.search.*
2.From development point of view, we need to be aware of standard OOB predicates to arrive at XPATH query.
JCR-SQL2:
1.JCR-SQL2 queries are created using QueryManager - javax.jcr.query.QueryManager
2.QueryManager is acquired through JCR Session - session.getWorkspace().getQueryManager()

Read Full Blog

Need for Query and Index in AEM

Q&A

Please use this thread to ask the related questions.

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