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
Solved! Go to Solution.
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.
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
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.
Views
Replies
Total Likes
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.
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.
Views
Replies
Total Likes