Assets Search is not showing all the Search results ..! | Community
Skip to main content
vijayk87714775
Level 4
October 22, 2018
Solved

Assets Search is not showing all the Search results ..!

  • October 22, 2018
  • 5 replies
  • 3627 views

I was searching to get a set of assets that share a common name. It was showing the search results but the max number of results I am seeing is 40.  Is there any certain limit to show for the search results.?? I am  using aem 6.2 SP1 CFP 16 Thanks in Advance.

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 GaneshM

Hi,

You need to change the limit value here : /libs/granite/ui/content/shell/omnisearch/searchresults/singleresults/views/list

When I change the limit to 5, I can see the limit as 5 in network.

Hope this helps!

Caveat: This affects the sites as well.

Thanks!

5 replies

Ravi_Pampana
Community Advisor
Community Advisor
October 23, 2018

Hi,

I see there is limit set at below node for asset search

Limit 40 is set at node: /libs/granite/omnisearch/content/metadata/asset/views/list

vijayk87714775
Level 4
October 23, 2018

Thanks Ravi for responding . I have checked the same path on my local but I do not see any such properties that I see in your screenshot.

smacdonald2008
Level 10
October 23, 2018

Try putting in this prop and set to 50 and see if that property has an impact on the result set.

GaneshM
GaneshMAccepted solution
Level 3
October 23, 2018

Hi,

You need to change the limit value here : /libs/granite/ui/content/shell/omnisearch/searchresults/singleresults/views/list

When I change the limit to 5, I can see the limit as 5 in network.

Hope this helps!

Caveat: This affects the sites as well.

Thanks!

smacdonald2008
Level 10
October 23, 2018

Nice response!