Highlighted

How to search the content only from the specified directory using AEM query builder? | AEM Community Blog Seeding

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

5.6K

Likes

961

Correct Answer

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

5.6K

Likes

961

Correct Answer

1.1K
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