Yes, I see it now, thank you!
We have migrated form Jackrabbit 1.x to Jackrabbit 2.x and found this
out. We use queries not to only perform fulltext searches, aka Google,
where it is not mandatory to know the exact count of results. That is
why I am searching now for a (good performing) way to get the exact
number of query results, apart from iterating over all the nodes.
I will post a question in the
http://jackrabbit.markmail.org/message/7jzk7d6e7raimpxk?q=Queries+not+working+in+Jackrabbit+2.0
thread to keep it in the same place.
Thanks
Sergiy
On 18.02.2010 15:36, Alexander Klimetschek wrote:
On Thu, Feb 18, 2010 at 15:33, Sergiy Shyrkov
<[email protected]> wrote:
Thank you, Guo!
I should have searched in dev list also.
Note that it this is explicitly mentioned also right in the javadocs
of getSize(), for both JCR 1.0 and 2.0:
http://www.day.com/maven/jsr170/javadocs/jcr-1.0/javax/jcr/RangeIterator.html#getSize()
http://www.day.com/maven/jsr170/javadocs/jcr-2.0/javax/jcr/RangeIterator.html#getSize()
Regards,
Alex