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
BedrockMission!

Learn More

View all

Sign in to view all badges

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

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,129 likes

Total Posts

6,140 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,129 likes

Total Posts

6,140 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

18-05-2020

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.

AEM AEMEBlogSeeding Experience Manager