<?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 query performance slow - Solr index improvement? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/cmis-query-performance-slow-solr-index-improvement/m-p/76698#M24211</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First something I would challenge, do you really need to retrieve all the Metadata fields of your documents with&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;doc.*, slo.*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;That can be a lot of fields to gather. Try to tailor the query to your needs.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Second part I would look at&amp;nbsp;is your &lt;A href="https://chemistry.apache.org/docs/cmis-samples/samples/operation-context/index.html" rel="nofollow noopener noreferrer"&gt;CMIS Operation Context&lt;/A&gt;,&amp;nbsp;do you really need the document relationships, actions (we had a 50% gain when deactivating this particular option), ACL and so on?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Hope this helps some out&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 May 2019 07:52:17 GMT</pubDate>
    <dc:creator>gluck113</dc:creator>
    <dc:date>2019-05-02T07:52:17Z</dc:date>
    <item>
      <title>CMIS query performance slow - Solr index improvement?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/cmis-query-performance-slow-solr-index-improvement/m-p/76695#M24208</link>
      <description>This problem is experienced with Alfresco 6.0 (could be in Alfresco 5.2 as well). I do not know how much the version matters to this issue.I have a custom model defined. This mode has a custom type and it has a custom aspect with a set of properties.We use CMIS API to communicate with the repository</description>
      <pubDate>Mon, 17 Sep 2018 15:32:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/cmis-query-performance-slow-solr-index-improvement/m-p/76695#M24208</guid>
      <dc:creator>sepgs2004</dc:creator>
      <dc:date>2018-09-17T15:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS query performance slow - Solr index improvement?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/cmis-query-performance-slow-solr-index-improvement/m-p/76696#M24209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the page size you are requesting for this CMIS query?&amp;nbsp;Have you already set the logger for the&amp;nbsp;SolrQueryHTTPClient class to debug and checked the logs if the long query duration actually originates from the SOLR query call?&amp;nbsp;Do you use dynamic authorities in any of your customisations/extensions, which can indrectly cause some ACL check optimisations to be disbabled?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The use of IN_TREE is not necessarily "improper". It is a valid selector. Though if you only need to find documents directly in that folder, and not in any sub-folders, then IN_TREE&amp;nbsp;could be replaced by IN_FOLDER, which would allow the query to execute via DB instead of SOLR. But bear in mind that executing a query against the DB is not necessarily faster than when executed against SOLR.&amp;nbsp;Performance depends on a lot of factors like DB index / statistics state, data selectivity etc. For larger data sets, it is very likely that SOLR is faster more often than a DB query, since&amp;nbsp;a DB query has to perform ACL checking as a post-filter step, causing additional DB interactions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 20:45:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/cmis-query-performance-slow-solr-index-improvement/m-p/76696#M24209</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-09-17T20:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS query performance slow - Solr index improvement?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/cmis-query-performance-slow-solr-index-improvement/m-p/76697#M24210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not do any page size. Typically, our folders would contains no more than 25 documents. We might have millions of folders, but inside a folder, we will not have more than 25 documents.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will still do page size, if it is going to make a difference. Please let me know.&lt;/P&gt;&lt;P&gt;I will comment on other things shortly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 21:17:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/cmis-query-performance-slow-solr-index-improvement/m-p/76697#M24210</guid>
      <dc:creator>sepgs2004</dc:creator>
      <dc:date>2018-09-17T21:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS query performance slow - Solr index improvement?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/cmis-query-performance-slow-solr-index-improvement/m-p/76698#M24211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First something I would challenge, do you really need to retrieve all the Metadata fields of your documents with&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;doc.*, slo.*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;That can be a lot of fields to gather. Try to tailor the query to your needs.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Second part I would look at&amp;nbsp;is your &lt;A href="https://chemistry.apache.org/docs/cmis-samples/samples/operation-context/index.html" rel="nofollow noopener noreferrer"&gt;CMIS Operation Context&lt;/A&gt;,&amp;nbsp;do you really need the document relationships, actions (we had a 50% gain when deactivating this particular option), ACL and so on?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Hope this helps some out&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2019 07:52:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/cmis-query-performance-slow-solr-index-improvement/m-p/76698#M24211</guid>
      <dc:creator>gluck113</dc:creator>
      <dc:date>2019-05-02T07:52:17Z</dc:date>
    </item>
  </channel>
</rss>

