Assets Search is not showing all the Search results ..! | Community
Skip to main content
vijayk87714775
Level 4
Oct 22, 2018 7:27 PM UTC
Solved

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

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.
GaneshM
GaneshMAccepted solution
Level 3
Oct 23, 2018 5:26 PM UTC

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

smacdonald2008
Level 10
Oct 23, 2018 5:31 PM UTC

Nice response!

Translate
GaneshM
GaneshMAccepted solution
Level 3
Oct 23, 2018 5:26 PM UTC

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!

Translate
smacdonald2008
Level 10
Oct 23, 2018 2:50 PM UTC

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

Translate
vijayk87714775
Level 4
Oct 23, 2018 2:38 PM UTC

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.

Translate
Ravi_Pampana
New Participant
Oct 23, 2018 1:36 AM UTC

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

Translate