<?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 Low Performance when executing search method in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/low-performance-when-executing-search-method/m-p/177887#M131017</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'm running a script as an action that does the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Reads a bunch of records from an Excel File&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Looks up for a space within the repository using. Here's the code snippet:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var query = "@cm\\:name:\""+number+"\" AND TYPE:cm\\:folder AND PATH:\""+path+"//*\"";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var docs = search.luceneSearch(query);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Assigns metadata values to an aspect using the data taken from the Excel file&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Our issue is that the command that searches within the repository (var docs = search.luceneSearch(query):smileywink: is taking an average of 1.8 Minutes (on each iteration) to be executed. That looks like way too much time for just a query.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's some information about the repository and the platform it was deployed on:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Server: Processor 2.6 Ghz ; 4 GB RAM&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Win 2003 Server&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Database PostgreSQL 8.3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Alfresco Community 2.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We just tested the queries on the Postgre admin console and they seem to be running all right.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any hints on where the bottleneck of this may be?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Esteban&lt;/STRONG&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Sep 2008 19:55:42 GMT</pubDate>
    <dc:creator>ediez</dc:creator>
    <dc:date>2008-09-22T19:55:42Z</dc:date>
    <item>
      <title>Low Performance when executing search method</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/low-performance-when-executing-search-method/m-p/177887#M131017</link>
      <description>Hi,I'm running a script as an action that does the following:1. Reads a bunch of records from an Excel File2. Looks up for a space within the repository using. Here's the code snippet:var query = "@cm\\:name:\""+number+"\" AND TYPE:cm\\:folder AND PATH:\""+path+"//*\"";var docs = search.luceneSearch</description>
      <pubDate>Mon, 22 Sep 2008 19:55:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/low-performance-when-executing-search-method/m-p/177887#M131017</guid>
      <dc:creator>ediez</dc:creator>
      <dc:date>2008-09-22T19:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Low Performance when executing search method</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/low-performance-when-executing-search-method/m-p/177888#M131018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi to all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been looking deeper into this issue and found out that the problem might be with Lucene indexes, as I ran the queries on the Postgree admin console and they are executed normally.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone got a hint on this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 03:15:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/low-performance-when-executing-search-method/m-p/177888#M131018</guid>
      <dc:creator>ediez</dc:creator>
      <dc:date>2008-09-24T03:15:56Z</dc:date>
    </item>
  </channel>
</rss>

