Hi Team,
While searching for any asset in AEM, the search's result is capped at 1000. I want to see all the search results.
Is there any way to increase the search result limit, or is this the default behaviour of AEM?
Please help me to resolve the issue.
Thanks in advance.
Solved! Go to Solution.
Views
Replies
Total Likes
@KaibalyaJena_123 Add a p.limit=-1 to your query builder parameters and it will give you all results.
It should look something like this
path=/content 1_property=sling:resourceType 1_property.value=foundation/components/text 1_property.operation=like p.limit=-1 orderby=path
@KaibalyaJena_123 Add a p.limit=-1 to your query builder parameters and it will give you all results.
It should look something like this
path=/content 1_property=sling:resourceType 1_property.value=foundation/components/text 1_property.operation=like p.limit=-1 orderby=path
If you are searching from the search panel in AEM , yes it is a default behavior as p.guessTotal is set to 1000 by default.
If you want to override you can update on below file in libs which will work for you but will not be recommended.
/libs/granite/ui/components/shell/omnisearch/overlay/overlay.jsp
Update p.guessTotal = 1000 as per your requirement.
By default 10 results are shown but you can increase the limit using p.limit=N or p.limit=-1(for all results) where N stands for number of result you want to see.
@Sachin_Arora_ @Harwinder-singh @KaibalyaJena_123 where do i add/change the limits in default component?
Thank you
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies