<?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 Search Performance in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/search-performance/m-p/103100#M71839</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 have implemented a search against custom attributes (via a webscript), but it is taking 3 seconds to execute. Knowing a little about lucene, and the query being executed I thought this was a little long (and is too long for our use case).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is against an AVM store, but I have posted it here as I believe this is a general issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have profiled the search in Alfresco, running in debug and it seems that most of the time (90%+) is being spent in ACLEntryAfterInvocationProvider.decide() for the ResultSet. I guess this is filtering the resultset based on some ACLs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to improve the performance, or bypass the ACL checks for particular operations?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 05 Aug 2007 16:35:48 GMT</pubDate>
    <dc:creator>mark_smithson</dc:creator>
    <dc:date>2007-08-05T16:35:48Z</dc:date>
    <item>
      <title>Search Performance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-performance/m-p/103100#M71839</link>
      <description>Hi,I have implemented a search against custom attributes (via a webscript), but it is taking 3 seconds to execute. Knowing a little about lucene, and the query being executed I thought this was a little long (and is too long for our use case).This is against an AVM store, but I have posted it here a</description>
      <pubDate>Sun, 05 Aug 2007 16:35:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-performance/m-p/103100#M71839</guid>
      <dc:creator>mark_smithson</dc:creator>
      <dc:date>2007-08-05T16:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Search Performance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-performance/m-p/103101#M71840</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;Is this the first time the query is run? Performance should be much better if you let the permission cache do its job. There are also some improvements that will be made specifically for evaluating READ access. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can also improve performance if you limit the size of the result set (and probably reduce the number of permission checks).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is no way to avoid permission checks via the public API. That is the point.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Global permissions/roles will evaluate faster -&amp;nbsp; eg. if you want everyone to have READ access to everything then set this in the permission config rather than on company home. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2007 14:35:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-performance/m-p/103101#M71840</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2007-08-08T14:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Search Performance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-performance/m-p/103102#M71841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there a possibility to hold the permission cache when the server reboots?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2007 14:29:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-performance/m-p/103102#M71841</guid>
      <dc:creator>xerox</dc:creator>
      <dc:date>2007-10-01T14:29:04Z</dc:date>
    </item>
  </channel>
</rss>

