<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Searching for nodes with out a property in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/searching-for-nodes-with-out-a-property/m-p/214012#M167142</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've been trying to return all nodes that don't have a specific property assigned. I've tried all of the combinations below with out the results that I'm after.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;model.test = search.luceneSearch("+@custom\\:lifeCycle\\:");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;model.test = search.luceneSearch("+@custom\\:lifeCycle:*");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;model.test = search.luceneSearch("+ISNULL:\"custom:lifeCycle\"");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;model.test = search.luceneSearch("+ISUNSET\\:\"custom:lifeCycle\"");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;model.test = search.luceneSearch("ISNULL:\"custom:lifeCycle\"");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;model.test = search.luceneSearch("ISNOTNULL:\"cm:lifeCycle\"");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;model.test = search.luceneSearch("ISNOTNULL:\"custom:lifeCycle\"");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;model.test = search.luceneSearch("ISNULL:\"\@{custom.model\}lifeCycle\"");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;model.test = search.luceneSearch("ISNULL:\"custom:lifeCycle\"");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;model.test = search.luceneSearch("(ISNOTNULL\\:\"custom\\:lifeCycle\")");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;model.test = search.luceneSearch("(ISUNSET\\:\"custom\\:lifeCycle\")");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So to recap, what I want is to find all nodes that doesn't have node.properties['custom:lifeCycle'] value defined.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ryan Thorburn.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 25 Apr 2010 02:40:46 GMT</pubDate>
    <dc:creator>zezom</dc:creator>
    <dc:date>2010-04-25T02:40:46Z</dc:date>
    <item>
      <title>Searching for nodes with out a property</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-for-nodes-with-out-a-property/m-p/214012#M167142</link>
      <description>I've been trying to return all nodes that don't have a specific property assigned. I've tried all of the combinations below with out the results that I'm after.model.test = search.luceneSearch("+@custom\\:lifeCycle\\:");model.test = search.luceneSearch("+@custom\\:lifeCycle:*");model.test = search.l</description>
      <pubDate>Sun, 25 Apr 2010 02:40:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-for-nodes-with-out-a-property/m-p/214012#M167142</guid>
      <dc:creator>zezom</dc:creator>
      <dc:date>2010-04-25T02:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Searching for nodes with out a property</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-for-nodes-with-out-a-property/m-p/214013#M167143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ISNULL will check for no value&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ISUNSET will check for no value and that the type/aspect is present&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should be able to use &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ISUNSET:"prefix:localname"&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ISNULL:"{uri}localname"&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Both QName forms are supported for both methods.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you sure your model is loaded? If the property is unknown to the DD then it will not find it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you trying to find a node that does not have an aspect defined? You would have to look for one of its mandatory properties.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Apr 2010 11:12:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-for-nodes-with-out-a-property/m-p/214013#M167143</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2010-04-26T11:12:56Z</dc:date>
    </item>
  </channel>
</rss>

