Hi, You would need to traverse the result. Which is a bad idea if the result is big.
The question is: why do you need to know? Do you want to display a page
number ("page 1 of 145")? I think that's not a good idea, for multiple
reasons.
Regards,
Thomas
On 16/07/14 19:32, "Torgeir Veimo" <[email protected]> wrote:
>What's the correct approach to getting a total count from a query
>result with apache oak?
>
>Using 'order by @jcr:score' doesn't seem to work as it does with
>Jackrabbit.
>
>--
>-Tor
