Thanks Jacco.  The most relevant post to me was from Guo Du:

"Not always working on 2.0-alpha12 (when has where condition) :(

WORKING: select * from [nt:base] order by title .size() RETURN 1330
NOT WORKING: select * from [nt:base] where title like 'a%' order by
title .size() RETURN -1 (there are 2 records) "

But no real answer as to why with a where clause the getSize() returns -1.
-- 
View this message in context: 
http://n4.nabble.com/NodeIterator-getSize-returns-1-for-query-with-order-by-clause-tp1839436p1839593.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Reply via email to