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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Omni search not able to fetch search result for nested components

rajeshk7403909
Level 2
Level 2

Hi ,

I am trying to search the aem pages for a keyword from the Omni Search i.e  Search on the top of aem start page. It works fine and fetches all the result, but only for the pages where that keyword is present directly inside component in the page. If I nest the component (put component inside another component) , and try to search for the keyword which is inside the nested component inside the page. It is not able to list those page in the result. Any guidance how can i bring up those result ? Search is working fine through default Query builder api tool with full text and nowhere in omnisearch code I can see its calling Query builder API.

Thanks

1 Accepted Solution
Gaurav-Behl
Correct answer by
Community Advisor
Community Advisor

Omnisearch works from below nodes which are marked as granite:InternalArea

/libs/granite/ui/content/shell/omnisearch & /libs/granite/ui/components/shell/omnisearch

You can find the code in these paths..

You may check with DayCare for a solution.

View solution in original post

1 Reply
Gaurav-Behl
Correct answer by
Community Advisor
Community Advisor

Omnisearch works from below nodes which are marked as granite:InternalArea

/libs/granite/ui/content/shell/omnisearch & /libs/granite/ui/components/shell/omnisearch

You can find the code in these paths..

You may check with DayCare for a solution.

View solution in original post