Omni search not able to fetch search result for nested components | Community
Skip to main content
Level 2
April 19, 2019
Solved

Omni search not able to fetch search result for nested components

  • April 19, 2019
  • 1 reply
  • 1224 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Gaurav-Behl

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.

1 reply

Gaurav-Behl
Gaurav-BehlAccepted solution
Level 10
April 19, 2019

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.