<?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 Combine queries in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/combine-queries/m-p/301367#M254497</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;I wonder if there is any way to combine multiple queries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To be more specific I have to do a search on several custom aspects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;An example for the queries to combine are the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;select d.cmis:objectId from cmis:document as d join accident:reponse as a on d.cmis:objectId = a.cmis:objectId&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;and&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;select d.cmis:objectId from cmis:document as d join accident:foto as a on d.cmis:objectId = a.cmis:objectId&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;these two queries give me results. I've tried:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;select d.cmis:objectId from cmis:document as d join accident:reponse as a on d.cmis:objectId = a.cmis:objectId join accident:foto as f on d.cmis:objectId = f.cmis:objectId;&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;but this won't give me any results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then I tried with the union&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;select d.cmis:objectId from cmis:document as d join accident:reponse as a on d.cmis:objectId = a.cmis:objectId union select d.cmis:objectId from cmis:document as d join accident:foto as a on d.cmis:objectId = a.cmis:objectId&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;but this returns me the error that the "Union" is unknown.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using opencmis.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone an idea?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Oct 2013 14:02:51 GMT</pubDate>
    <dc:creator>mundi</dc:creator>
    <dc:date>2013-10-28T14:02:51Z</dc:date>
    <item>
      <title>Combine queries</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/combine-queries/m-p/301367#M254497</link>
      <description>Hi,I wonder if there is any way to combine multiple queries.To be more specific I have to do a search on several custom aspects.An example for the queries to combine are the following:select d.cmis&lt;IMG id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;bjectId from cmis:document as d join accident:reponse as a on d.cmis&lt;IMG id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;bjectId = a.cmis&lt;IMG id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;bjectId‍andse</description>
      <pubDate>Mon, 28 Oct 2013 14:02:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/combine-queries/m-p/301367#M254497</guid>
      <dc:creator>mundi</dc:creator>
      <dc:date>2013-10-28T14:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: Combine queries</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/combine-queries/m-p/301368#M254498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;keyword Union is not included in CMIS query specification&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2013 15:24:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/combine-queries/m-p/301368#M254498</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2013-10-28T15:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Combine queries</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/combine-queries/m-p/301369#M254499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So is there any other way to combine queries?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2013 16:04:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/combine-queries/m-p/301369#M254499</guid>
      <dc:creator>mundi</dc:creator>
      <dc:date>2013-10-28T16:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: Combine queries</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/combine-queries/m-p/301370#M254500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Using CMIS query ,as far as I know there is no way.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 13:36:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/combine-queries/m-p/301370#M254500</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2013-10-29T13:36:02Z</dc:date>
    </item>
  </channel>
</rss>

