<?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 Re: CMIS predicate for unset property when searching in SOLR? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/cmis-predicate-for-unset-property-when-searching-in-solr/m-p/140729#M37570</link>
    <description>&lt;P&gt;In CMIS you cannot search for an unset property.&lt;/P&gt;
&lt;P&gt;As an alternative, you can check by an unset aspect:&lt;/P&gt;
&lt;PRE&gt;SELECT * FROM cmis:document WHERE not CONTAINS('ASPECT:\'cm:titled\'')&lt;/PRE&gt;</description>
    <pubDate>Fri, 02 Aug 2024 07:07:38 GMT</pubDate>
    <dc:creator>angelborroy</dc:creator>
    <dc:date>2024-08-02T07:07:38Z</dc:date>
    <item>
      <title>CMIS predicate for unset property when searching in SOLR?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/cmis-predicate-for-unset-property-when-searching-in-solr/m-p/140727#M37568</link>
      <description>&lt;P&gt;When I perform a database search using CMIS, I can check if a certain property has been set or has a null value using IS NULL, i.e.&lt;/P&gt;&lt;PRE&gt;cm:myProperty IS NULL&lt;/PRE&gt;&lt;P&gt;This finds a number of nodes where the property is never initialized or has been explicitly set to null. However, when I point the same query to SOLR, it finds nothing. The data should have been indexed succesfully, so it seems I need to express my query in some other way. With AFTS I can check if the value has been set to anything with the negation of EXISTS, i.e.&lt;/P&gt;&lt;PRE&gt;NOT EXISTS:'cm:myProperty'&lt;/PRE&gt;&lt;P&gt;However, I'd rather not use AFTS. Is there any way to make this work with CMIS?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 09:02:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/cmis-predicate-for-unset-property-when-searching-in-solr/m-p/140727#M37568</guid>
      <dc:creator>jecbm</dc:creator>
      <dc:date>2022-03-23T09:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS predicate for unset property when searching in SOLR?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/cmis-predicate-for-unset-property-when-searching-in-solr/m-p/140728#M37569</link>
      <description>&lt;P&gt;Same question 2 years later. Does anybody have an idea on how to do that ?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 10:25:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/cmis-predicate-for-unset-property-when-searching-in-solr/m-p/140728#M37569</guid>
      <dc:creator>s3rg3d</dc:creator>
      <dc:date>2024-08-01T10:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS predicate for unset property when searching in SOLR?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/cmis-predicate-for-unset-property-when-searching-in-solr/m-p/140729#M37570</link>
      <description>&lt;P&gt;In CMIS you cannot search for an unset property.&lt;/P&gt;
&lt;P&gt;As an alternative, you can check by an unset aspect:&lt;/P&gt;
&lt;PRE&gt;SELECT * FROM cmis:document WHERE not CONTAINS('ASPECT:\'cm:titled\'')&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Aug 2024 07:07:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/cmis-predicate-for-unset-property-when-searching-in-solr/m-p/140729#M37570</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2024-08-02T07:07:38Z</dc:date>
    </item>
  </channel>
</rss>

