jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@day.com>
Subject Re: NodeIterator.getSize() returns -1 for query with order by clause
Date Wed, 14 Apr 2010 19:42:42 GMT
On Wed, Apr 14, 2010 at 18:58, Gadbury <gadbury@googlemail.com> wrote:
> The order by trick does not always work.

Did you try "order by @jcr:score descending" (for xpath)? That gives
you the same result as not specifying a sort oder (afaik "stable" in
jackrabbit 2.0) but should provide a count.


Alexander Klimetschek

View raw message