jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hassan <hassan.ism...@hicxsolutions.com>
Subject multi-selector OR constraints in join queries does not work when free text contraints are used
Date Mon, 13 Jun 2011 20:34:59 GMT
Hi,

Although 2.2.7 fixes the "Unsupported" exception when using multi-selector OR constraints,
it seems to return wrong results when using free text search constraints for both selectors.
The query seems to return ALL nodes.

Example Query:
elect c.* from [internal:content]  as c   inner  JOIN [nt:resource] as b  ON isdescendantnode(b,c)
 where  (  
CONTAINS(b.*, 'message*')  or  CONTAINS(c.*, 'message*') 
 ) 

Note: the query above used to give an "Unsupported" exception  in 2.2.5

Is this a bug or am I just doing something wrong?

Thanks,
Hassan


Mime
View raw message