You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by John Crawford <cr...@gmail.com> on 2009/10/03 00:27:10 UTC

ResourceResolver Question

Hello,

Can you tell me the best way to limit the number of results prior to the
return from ResourceResolver#findResources [1]?  I'm using an XPath query to
find the most applicable 10 or 20 nodes from a pool of around 1K-30K.  Seems
like the position() function was not working with Jackrabbit / CRX the last
time I checked.

Respectfully,
John

[1]
http://sling.apache.org/apidocs/sling5/org/apache/sling/api/resource/ResourceResolver.html