Hi, I'm using Alfresco 4.2.f and Chemistry-Alfresco-Extension 0.3 (running on Mac OS X 10.8.4, tomcat 7, Java Oracle 7)I have a multivalued property defined in an aspect:
…
<property name="hhhh:val">
<type>d:text</type>
<multiple>true</multiple>
<index enabled="true">
<atomic>true</atomic>
<stored>false</stored>
<tokenised>false</tokenised>
</index>
</property>
I would like to make a search of all objects that has any combination of a group of values, but without any other value besides the ones from this group.For example, searching for ('A','B','C') would bring:Obj1 ('A')Obj2 ('A','C')But notObj3 ('D')Obj4 ('A','D')I tried:
SELECT * from cmis:document D join hhhh:secondary S on D.cmis:objectId = S.cmis:objectId where ANY S.hhhh:val NOT IN ('A', 'B', 'C')
But this returns: Obj1, Obj2, Obj4.I though ANY … NOT IN would exclude Obj4. Is this a bug or am I writing something wrong?