jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@day.com>
Subject Re: Faceted Search Implementation
Date Wed, 25 Aug 2010 09:19:17 GMT
On Wed, Aug 25, 2010 at 10:43, Ian Boston <ieb@tfd.co.uk> wrote:
> Is there a count(*) function in JCR queries?

No, but adding an "order by @jcr:score" will force the Jackrabbit
implementation to count. It is slower than not doing so, but any other
count() function will be slow as well, afaics, because - as you noted
- of the required ACL and other checks that need to be done on top of
the Lucene index.


Alexander Klimetschek

View raw message