How to get more than 100 results in /crx/explorer/ui/search.jsp? | Community
Skip to main content
Level 3
July 1, 2016
Solved

How to get more than 100 results in /crx/explorer/ui/search.jsp?

  • July 1, 2016
  • 4 replies
  • 1773 views

Hi all,

 

I'm using the following tool to test a query. However I'm not able to see more than 100 results. Any ideas?

/crx/explorer/ui/search.jsp

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 Tuhin_Ghosh

I hope you are using http://localhost:4502/libs/cq/search/content/querydebug.html for query and please set

p.offset=0

p.limit=-1

and see. 

Please refer to the https://docs.adobe.com/docs/en/aem/6-1/develop/search/querybuilder-api.html for more details.

4 replies

Tuhin_Ghosh
Level 8
July 3, 2016

If you want better control over searching and querying the JCR, then use the JCR API or the Query Builder API.

See this community article for the JCR API within an OSGi bundle:

http://helpx.adobe.com/experience-manager/using/querying-experience-manager-data-using1.html

See this community article for the Query Builder API:

http://helpx.adobe.com/experience-manager/using/using-query-builder-api1.html

squid267Author
Level 3
July 5, 2016

Thanks Tuhin. We actually use the JCR API in our application. The query is only returning 293 results, when it should returning 400+. That's why I was looking for other tools to debug it. Any ideas? I've already checked the limit parameter and its set to null. 

Tuhin_Ghosh
Tuhin_GhoshAccepted solution
Level 8
July 5, 2016

I hope you are using http://localhost:4502/libs/cq/search/content/querydebug.html for query and please set

p.offset=0

p.limit=-1

and see. 

Please refer to the https://docs.adobe.com/docs/en/aem/6-1/develop/search/querybuilder-api.html for more details.

squid267Author
Level 3
July 14, 2016

Just wanted to update this. Tuhin, using the JCR API was working correctly. It was an error in our logic. Thanks, I will mark your answer as correct.