<?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: Lucene search vs CMIS query search in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/lucene-search-vs-cmis-query-search/m-p/68593#M22745</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;B&gt;Axel Faust&lt;/B&gt;‌ , I tried searching for CMIS dictionary but couldn't find any reference to how to access the dictionary. Can you please point me to any reference material or let me know to get access it, would be really helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Aug 2018 15:53:22 GMT</pubDate>
    <dc:creator>kartech11</dc:creator>
    <dc:date>2018-08-30T15:53:22Z</dc:date>
    <item>
      <title>Lucene search vs CMIS query search</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/lucene-search-vs-cmis-query-search/m-p/68588#M22740</link>
      <description>1. I have documents that refer to property values from multiple custom aspects. I would like to know if I can do a CMIS type search on different properties using AND or OR criteria similar to in a lucene query.2. With lucene search, I only need to specify the various property and its values&amp;nbsp; to sear</description>
      <pubDate>Wed, 29 Aug 2018 17:19:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/lucene-search-vs-cmis-query-search/m-p/68588#M22740</guid>
      <dc:creator>kartech11</dc:creator>
      <dc:date>2018-08-29T17:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene search vs CMIS query search</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/lucene-search-vs-cmis-query-search/m-p/68589#M22741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NEVER do a Lucene search. Lucene is a legacy search language only included for low-level technical use cases. Only ever user FTS or CMIS QL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In CMIS QL you can use AND / OR for conditions on different properties, but you cannot use OR to select different types / aspects as these are always selected via the FROM clause which&amp;nbsp;only supports restricting, not broadening of scopes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for your example use case, since you are only using AND to join the conditions, it would work with CMIS. You'd select FROM cmis:document, then JOIN with each of the aspects to able to select those properties.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 19:29:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/lucene-search-vs-cmis-query-search/m-p/68589#M22741</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-08-29T19:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene search vs CMIS query search</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/lucene-search-vs-cmis-query-search/m-p/68590#M22742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CMIS query join example: &lt;A class="link-titled" href="https://gist.github.com/jpotts/6810785" title="https://gist.github.com/jpotts/6810785" rel="nofollow noopener noreferrer"&gt;This is the query example from the OpenCMIS Workbench modified with a query string that shows how to query for propertie…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 21:57:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/lucene-search-vs-cmis-query-search/m-p/68590#M22742</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2018-08-29T21:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene search vs CMIS query search</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/lucene-search-vs-cmis-query-search/m-p/68591#M22743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;B&gt;Jeff Potts&lt;/B&gt; . The only downside I see to using CMIS query is that I have to know the specific aspect types for each of the properties that I am searching. I want to make a generic search query that can take property fields that could belong to different aspect types and search for values against them? Is this possible using CMIS query language? Can I use FTS query within CMIS and is there a way around the above issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2018 13:21:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/lucene-search-vs-cmis-query-search/m-p/68591#M22743</guid>
      <dc:creator>kartech11</dc:creator>
      <dc:date>2018-08-30T13:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene search vs CMIS query search</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/lucene-search-vs-cmis-query-search/m-p/68592#M22744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CMIS provides a dictionary that you can use to lookup the aspect for a specific property. So you can write generic code that builds the CMIS query with all the JOINs that you need and in your client code simply just specify the properties you want to query on. One of my customers has been working with CMIS in that way for years, based upon a small library they wrote for their use which did the query generation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2018 14:38:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/lucene-search-vs-cmis-query-search/m-p/68592#M22744</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-08-30T14:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene search vs CMIS query search</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/lucene-search-vs-cmis-query-search/m-p/68593#M22745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;B&gt;Axel Faust&lt;/B&gt;‌ , I tried searching for CMIS dictionary but couldn't find any reference to how to access the dictionary. Can you please point me to any reference material or let me know to get access it, would be really helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2018 15:53:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/lucene-search-vs-cmis-query-search/m-p/68593#M22745</guid>
      <dc:creator>kartech11</dc:creator>
      <dc:date>2018-08-30T15:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene search vs CMIS query search</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/lucene-search-vs-cmis-query-search/m-p/68594#M22746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the &lt;A href="http://docs.oasis-open.org/cmis/CMIS/v1.1/errata01/os/CMIS-v1.1-errata01-os-complete.html#x1-1660002" rel="nofollow noopener noreferrer"&gt;CMIS Repository services&lt;/A&gt;. You'll have to iterate through all types to find your properites, but this can be done once to build a local cache of the dictionary, and then you have a direct lookup of properties to their type (primary / secondary = aspect)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2018 16:47:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/lucene-search-vs-cmis-query-search/m-p/68594#M22746</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-08-30T16:47:24Z</dc:date>
    </item>
  </channel>
</rss>

