jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: File search order by jcr:content properties
Date Fri, 07 Nov 2008 12:40:38 GMT
iapilgrim wrote:
> I don't understand "... loose the result size information. i.e.
> Node/RowIterator.getSize() would return -1".
> Do you mean when we're using property constraint instead of path constraint,
> we can't use RowIterators.getSize() from QueryResult?

getSize() still returns a usable size when you add a property constraint.

what I meant is that the JCR specification allows getSize() to return -1 to
indicate that it cannot determine the size. Jackrabbit might use this
flexibility in a future release.

regards
 marcel

Mime
View raw message