On Wed, Aug 25, 2010 at 10:43, Ian Boston <[email protected]> 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. Regards, Alex -- Alexander Klimetschek [email protected]
