Expand my Community achievements bar.

SOLVED

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

Avatar

Level 4

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.Assets-search.png

1 Accepted Solution

Avatar

Correct answer by
Level 4

Hi,

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

1603520_pastedImage_0.png

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

1603521_pastedImage_1.png

Hope this helps!

Caveat: This affects the sites as well.

Thanks!

View solution in original post

5 Replies

Avatar

Community Advisor

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

Screen Shot 2018-10-22 at 6.10.08 PM.png

Avatar

Level 4

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.

assets-limit.JPG

Avatar

Level 10

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

Avatar

Correct answer by
Level 4

Hi,

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

1603520_pastedImage_0.png

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

1603521_pastedImage_1.png

Hope this helps!

Caveat: This affects the sites as well.

Thanks!