Brilliant! Thanks.
p.s. I understand that if a query uses 'order by', respectDocumentOrder is ignored. In the case of this query (to retrieve all categories in hierachical order) it requires document order but the number of catgeory nodes are quite small so I hope this means I will not see performance issues (other queries could be dealing with thousands of nodes but use the order by clause). -- View this message in context: http://n4.nabble.com/Executing-Search-Query-NodeIterator-Order-tp1049969p1100022.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
