Jackrabbit up to at least 1.3 do not support multiple conditions in
either xpath or sql query formats.  If you need such a thing, you end up
having to get two result sets and somehow merge them your self.  I
*think* 1.4 fixed that limitation, but to be honest I'm not sure.

I am using Magnolia 3.6.3 that uses jackrabbit 1.4.5, so there should be no problem. I cannot understand exactly what do you mean with "multiple conditions", have you any link that explain this limitation of jackrabbit? Or if it was resolved/supported in jackrabbit 1.5? I think this version does not support nested conditions (like [[]]), and neither condition on subsequent paths (like //[]/[]), but I don't need this either, or at least I don't see how to use those sintax in my query. In my case I can use the same condition for all the paths I want to check, because all the nodes I want should follow the same rule, my problem was just to apply the same condition to different paths and have a single result set. As I already wrote, the only solution I came up with was exactly to do 2 query and merge result sets, but I still don't like it.

Regards, Danilo.

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to