Expand my Community achievements bar.

SOLVED

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

Avatar

Level 4

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

1 Accepted Solution

Avatar

Correct answer by
Level 7

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.

View solution in original post

4 Replies

Avatar

Level 7

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

Avatar

Level 4

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. 

Avatar

Correct answer by
Level 7

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.

Avatar

Level 4

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.