Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

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

Avatar

Administrator

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.



Kautuk Sahni
Topics

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies