<?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: &amp;quot;=&amp;quot; and &amp;quot;IN&amp;quot; operators doesn't work in CMIS query in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/quot-quot-and-quot-in-quot-operators-doesn-t-work-in-cmis-query/m-p/311385#M264515</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share your code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Oct 2016 18:48:44 GMT</pubDate>
    <dc:creator>jpotts</dc:creator>
    <dc:date>2016-10-10T18:48:44Z</dc:date>
    <item>
      <title>"=" and "IN" operators doesn't work in CMIS query</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/quot-quot-and-quot-in-quot-operators-doesn-t-work-in-cmis-query/m-p/311380#M264510</link>
      <description>Hi guys,I defined an aspect where the "typeDocument" property is defined : &amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&amp;lt;!-- Definition of new Model --&amp;gt;&amp;lt;model name="idoc:ideodocModel" xmlns="http://www.alfresco.org/model/dictionary/1.0"&amp;gt;&amp;lt;!-- Optional meta-data about the model --&amp;gt;&amp;lt;</description>
      <pubDate>Fri, 07 Oct 2016 09:13:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/quot-quot-and-quot-in-quot-operators-doesn-t-work-in-cmis-query/m-p/311380#M264510</guid>
      <dc:creator>aminebarbare</dc:creator>
      <dc:date>2016-10-07T09:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: "=" and "IN" operators doesn't work in CMIS query</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/quot-quot-and-quot-in-quot-operators-doesn-t-work-in-cmis-query/m-p/311381#M264511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot do those comparisons against a string, according to the &lt;A href="http://docs.oasis-open.org/cmis/CMIS/v1.1/CMIS-v1.1.html" rel="nofollow noopener noreferrer"&gt;CMIS spec&lt;/A&gt;. When comparing strings, you may only use "=, &amp;lt;&amp;gt;, [NOT] LIKE".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 13:21:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/quot-quot-and-quot-in-quot-operators-doesn-t-work-in-cmis-query/m-p/311381#M264511</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2016-10-07T13:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: "=" and "IN" operators doesn't work in CMIS query</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/quot-quot-and-quot-in-quot-operators-doesn-t-work-in-cmis-query/m-p/311382#M264512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well the thing is that the operators '=' and 'IN()' are not working (the query gets nothing)&lt;/P&gt;&lt;P&gt;I tried combining '&amp;gt;=' and '&amp;lt;='&amp;nbsp; operators in the same query to get '=' (&amp;gt;= + &amp;lt;= is the same as = "logically") and surprisingly I get the right results from the query.&lt;/P&gt;&lt;P&gt;So i wanna normally use the '=' and 'IN()' in my queries instead of combining '&amp;gt;=' and '&amp;lt;=' or using 'LIKE'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 18:14:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/quot-quot-and-quot-in-quot-operators-doesn-t-work-in-cmis-query/m-p/311382#M264512</guid>
      <dc:creator>aminebarbare</dc:creator>
      <dc:date>2016-10-07T18:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: "=" and "IN" operators doesn't work in CMIS query</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/quot-quot-and-quot-in-quot-operators-doesn-t-work-in-cmis-query/m-p/311383#M264513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What CMIS service URL are you using and what are you using to run the query?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 20:14:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/quot-quot-and-quot-in-quot-operators-doesn-t-work-in-cmis-query/m-p/311383#M264513</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2016-10-07T20:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: "=" and "IN" operators doesn't work in CMIS query</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/quot-quot-and-quot-in-quot-operators-doesn-t-work-in-cmis-query/m-p/311384#M264514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CMIS service URL : &lt;A href="http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom" title="http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and I'm using &lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;chemistry-opencmis-client-impl&lt;/TD&gt;&lt;TD&gt;version 0.12.0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2016 10:55:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/quot-quot-and-quot-in-quot-operators-doesn-t-work-in-cmis-query/m-p/311384#M264514</guid>
      <dc:creator>aminebarbare</dc:creator>
      <dc:date>2016-10-10T10:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: "=" and "IN" operators doesn't work in CMIS query</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/quot-quot-and-quot-in-quot-operators-doesn-t-work-in-cmis-query/m-p/311385#M264515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share your code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2016 18:48:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/quot-quot-and-quot-in-quot-operators-doesn-t-work-in-cmis-query/m-p/311385#M264515</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2016-10-10T18:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: "=" and "IN" operators doesn't work in CMIS query</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/quot-quot-and-quot-in-quot-operators-doesn-t-work-in-cmis-query/m-p/311386#M264516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using 201605-GA running on Mac OS X with Chemistry 0.12.0 I cannot recreate your problem. I used your custom model and code that looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="java" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14761314104909399" data-hasrefreshed="true" data-renderedposition="59.899993896484375_8_1332_32" jivemacro_uid="_14761314104909399"&gt;&lt;P&gt;String queryString = "select * from cmis:document content JOIN idoc:typeDocument tDoc ON content.cmis:objectId = tDoc.cmis:objectId WHERE content.cmis:objectId is not null AND tDoc.idoc:idTypedocument = '3'";&lt;/P&gt;&lt;P&gt;ItemIterable&amp;lt;QueryResult&amp;gt; results = session.query(queryString, false).getPage(5);&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That returned my expected results, which is a document with its idoc:idTypedocument set to 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried it using your &amp;lt;= AND &amp;gt;= workaround and it returned the exact same result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2016 20:28:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/quot-quot-and-quot-in-quot-operators-doesn-t-work-in-cmis-query/m-p/311386#M264516</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2016-10-10T20:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: "=" and "IN" operators doesn't work in CMIS query</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/quot-quot-and-quot-in-quot-operators-doesn-t-work-in-cmis-query/m-p/311387#M264517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does &lt;SPAN style="color: #727174; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;201605-GA refer to a new alfresco version (5.xx) ? because the version i'm currently using is &lt;SPAN style="color: #004488; font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 11px; background-color: #dfe6ed;"&gt;Version :Community - v4.2.0 (r63893-b12).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2016 13:25:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/quot-quot-and-quot-in-quot-operators-doesn-t-work-in-cmis-query/m-p/311387#M264517</guid>
      <dc:creator>aminebarbare</dc:creator>
      <dc:date>2016-10-11T13:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: "=" and "IN" operators doesn't work in CMIS query</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/quot-quot-and-quot-in-quot-operators-doesn-t-work-in-cmis-query/m-p/311388#M264518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, Community 201605 GA includes Platform 5.1.g&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/docs/DOC-6297"&gt;Alfresco Community Edition 201605 GA Release Notes&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/COMMUNITYTAGS/5.1.g/root/projects/repository/config/alfresco/version.properties" title="https://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/COMMUNITYTAGS/5.1.g/root/projects/repository/config/alfresco/version.properties" rel="nofollow noopener noreferrer"&gt;https://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/COMMUNITYTAGS/5.1.g/root/projects/repository/config/alfresc…&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2016 16:46:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/quot-quot-and-quot-in-quot-operators-doesn-t-work-in-cmis-query/m-p/311388#M264518</guid>
      <dc:creator>janv</dc:creator>
      <dc:date>2016-10-11T16:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: "=" and "IN" operators doesn't work in CMIS query</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/quot-quot-and-quot-in-quot-operators-doesn-t-work-in-cmis-query/m-p/311389#M264519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also tried this on 4.2.0 (r63893-b12) schema 6033 but for that test I used the out-of-the-box model and the following query, which should effectively be the same as yours with a custom model:&lt;/P&gt;&lt;P&gt;queryString = "select * from cmis:document content JOIN cm:titled tDoc ON content.cmis&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;bjectId = tDoc.cmis&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;bjectId WHERE content.cmis&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;bjectId is not null AND tDoc.cm:title = 'sample-title'";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you set a title on one of your documents and try this query?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 22:27:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/quot-quot-and-quot-in-quot-operators-doesn-t-work-in-cmis-query/m-p/311389#M264519</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2016-10-12T22:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: "=" and "IN" operators doesn't work in CMIS query</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/quot-quot-and-quot-in-quot-operators-doesn-t-work-in-cmis-query/m-p/311390#M264520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry, I forgot to mention that the operators work just fine with the alfresco built in properties like the "title", that's why i asked if i am &lt;SPAN style="color: #333333; font-family: Arial, sans-serif; font-size: 14px; background-color: #f5f5f5;"&gt;forgetting something in the aspect/property definition.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 17:03:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/quot-quot-and-quot-in-quot-operators-doesn-t-work-in-cmis-query/m-p/311390#M264520</guid>
      <dc:creator>aminebarbare</dc:creator>
      <dc:date>2016-10-13T17:03:25Z</dc:date>
    </item>
  </channel>
</rss>

