<?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: Search performance issues using searchService in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/search-performance-issues-using-searchservice/m-p/266308#M219438</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you both for your answers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For now, we decided to limit the sorting options in order to make our life easier. We'll get back to this in the near future, and I'll be sure to share our results/knowledge here.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Oct 2012 15:02:02 GMT</pubDate>
    <dc:creator>lista</dc:creator>
    <dc:date>2012-10-09T15:02:02Z</dc:date>
    <item>
      <title>Search performance issues using searchService</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-performance-issues-using-searchservice/m-p/266305#M219435</link>
      <description>Hi all,i have about 70k nodes, under a structure like this:-main space–subspace based on node's first character—node—nodeSearching for a specific node is a practically instant through Alfresco Explorer, but when using API it takes about 7 seconds (just to show the difference). Here's the concrete co</description>
      <pubDate>Mon, 01 Oct 2012 13:29:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-performance-issues-using-searchservice/m-p/266305#M219435</guid>
      <dc:creator>lista</dc:creator>
      <dc:date>2012-10-01T13:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Search performance issues using searchService</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-performance-issues-using-searchservice/m-p/266306#M219436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this is related to how sorting works in Lucene. When you sort by a field, all existing values of that field are read from Lucene into memory to be pre-sorted. Then, the actual results are sorted by looking up the index of the concrete value in the pre-sorted list. If you have a field that has a lot of different values, you can end up with a large overhead, depending on how fast Lucene can read the value range into memory (I/O).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The alternatives:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a) Don't sort by fields with extremely distinct values&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;b) Use alternative sort fields that are applicable only to a specific context (e.g. when you search over a 10k subset of your 70k nodes, a field that is only used in your specific subset).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;c) Consider upgrading to 4.0 and use the alternatives available there (CannedQuery / SOLR)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 08:45:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-performance-issues-using-searchservice/m-p/266306#M219436</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2012-10-02T08:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Search performance issues using searchService</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-performance-issues-using-searchservice/m-p/266307#M219437</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;Later enterprise releases fo 3.4 do ordering in memory and fall back to lucene if there are too many docs in the results (which is configurable)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not sure which community product this is in - or destined to be in ….&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Look for the properties:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;lucene.indexer.useInMemorySort=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;lucene.indexer.maxRawResultSetSizeForInMemorySort=1000&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 20:13:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-performance-issues-using-searchservice/m-p/266307#M219437</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2012-10-02T20:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Search performance issues using searchService</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-performance-issues-using-searchservice/m-p/266308#M219438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you both for your answers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For now, we decided to limit the sorting options in order to make our life easier. We'll get back to this in the near future, and I'll be sure to share our results/knowledge here.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2012 15:02:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-performance-issues-using-searchservice/m-p/266308#M219438</guid>
      <dc:creator>lista</dc:creator>
      <dc:date>2012-10-09T15:02:02Z</dc:date>
    </item>
  </channel>
</rss>

