I figured it out.

My query does have multiple selectors ( files and names). Since it has
multiple selectors, I needed to use the RowIterator and not the
NodeIterator. With the RowIterator you can have multiple selectors.

I did have to change my query to an INNER join. The LEFT OUTER join caused
every record to return. The fact that it worked in 2.1.0 as the LEFT OUTER
was surprising to us when we originally wrote it. It seemed counter
intuitive.

Now that 2.2.x has been implemented it works the way it really should and
that is with the INNER join.

Hopefully this helps others.
-- 
View this message in context: 
http://jackrabbit.510166.n4.nabble.com/SOLVED-ISDESCENDANTNODE-Sql2-query-fails-in-Jackrabbit-2-2-1-tp3234156p3246529.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Reply via email to