Hi, Do we talk about "order by @jcr:score ascending" or "descending"?
I think "order by @jcr:score desc" is very common, and is needed for many cases where you don't care about the result set size. Jukka, why do you think it should trigger the full result set read (to calculate the size)? Regards, Thomas On 28/07/14 19:51, "Jukka Zitting" <[email protected]> wrote: >Hi, > >On Mon, Jul 28, 2014 at 7:27 AM, Torgeir Veimo <[email protected]> >wrote: >> Notwithstanding the suggestion for how to change our apps, is there >> any hope that oak will provide a total count of hits for query results >> sometime soon or in the future? > >It would probably be a good idea to make the "order by @jcr:score" >suffix trigger automatic result set size calculation in getSize() for >better backwards compatibility. Can you file an improvement request >for that, or perhaps even suggest a patch? > >BR, > >Jukka Zitting
