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

How to search the content only from the specified directory using AEM query builder? | 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

28-07-2020

BlogImage.jpg

How to search the content only from the specified directory using AEM query builder? by rashid jorvee blog

Abstract

Using the AEM query builder, will search a content which is available in specified directory only. This query will not search the content in sub directories, or not even child of the child directories.

Open AEM Query Builder Debugger: http://localhost:4502/libs/cq/search/content/querydebug.html. Add the following options to perform the search.

path=/content/dam/we-retail/en/features
path.flat=true
type=dam:Asset
fulltext=cart

Filters definition:
--> path=? // On which path this query will perform the search operation.
--> path.flat=true // will look the content only in the specified directory.
--> fulltext=? //name or keyword which you are searching.

Read Full Blog

How to search the content only from the specified directory using AEM query builder?

Q&A

Please use this thread to ask the related questions.

AEM AEMEBlogSeeding Experience Manager