04-18-2009 05:38 AM
<type name="plcy:commission">
<title>Commission</title>
<parent>cm:content</parent>
<properties>
<property name="plcy:commission_accounted">
<title>Accounted</title>
<type>d:boolean</type>
<default>false</default>
</property>
…
…
+TYPE:"plcy:commission" AND +@plcy\:commission_accounted:"true"
+TYPE:"plcy:commission" +@plcy\:commission_accounted:"true"
+TYPE:"plcy:commission" +@plcy\:commission_accounted:true
+TYPE:"plcy:commission" AND +(@plcy\:commission_accounted:true)
+@plcy\:commission_accounted:true
2e5f8362-6696-4def-9534-9821a49806c2 true class java.lang.Boolean
17dc9fdf-0f92-4444-82f1-944d2a91e17e true class java.lang.Boolean
64bbb631-79aa-4ae9-944e-d5d0c63be064 false class java.lang.Boolean
84ce8e4c-3317-4fc6-a3c8-902f5a5388b3 false class java.lang.Boolean
92b6949e-0db5-4d0a-8972-c90ab248101c false class java.lang.Boolean
6d241b53-5e47-4cb0-a50b-1b9783d3ba19 false class java.lang.Boolean
04-18-2009 02:29 PM
04-19-2009 06:02 AM
Having TYPE criteria in you search seem superfluous since your property is only available to that specific type.
Also, AND and the + means the same thing (so in some of your samples queries you have doubled them), see http://wiki.alfresco.com/wiki/Search#Combined_Queries
Maybe using - (must nor match) if only false query works. Then you maybe need to search for TYPE as well, contrary to what I said int the beginning.
04-19-2009 09:46 AM
04-19-2009 01:08 PM
08-03-2009 06:37 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.