<?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: Web Scripts executing slowly in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/web-scripts-executing-slowly/m-p/271412#M224542</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;you should keep in mind that Lucene PATH queries, especially one for "..//*", can take a very long time depending on the state, content and I/O performance of the index. Until there is more information, I'd bet on this as my most-likely suspect, since you perform this type of search in a loop none the less.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd suggest adding some logging to your web script in order to measure what individual part of it executes slowly. So, you should at least put some simple log statements at the begin and end of your loop, and before / after you execute the search.&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>Wed, 01 Aug 2012 07:51:59 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2012-08-01T07:51:59Z</dc:date>
    <item>
      <title>Web Scripts executing slowly</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-scripts-executing-slowly/m-p/271410#M224540</link>
      <description>Hi, I am currently working on moving our alfresco server from a local Ubuntu VM to a RHEL5 VM at our datacenter.So far everything has worked great, except for one script that execute when metadata is added to a document in a specific folder. This script:var descT = '';var fieldA = ['Onum','PO'];for</description>
      <pubDate>Mon, 30 Jul 2012 16:16:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-scripts-executing-slowly/m-p/271410#M224540</guid>
      <dc:creator>eagledelta1</dc:creator>
      <dc:date>2012-07-30T16:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Web Scripts executing slowly</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-scripts-executing-slowly/m-p/271411#M224541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there no one with any sort of answer, suggestion or even question?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 17:53:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-scripts-executing-slowly/m-p/271411#M224541</guid>
      <dc:creator>eagledelta1</dc:creator>
      <dc:date>2012-07-31T17:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Web Scripts executing slowly</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-scripts-executing-slowly/m-p/271412#M224542</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;you should keep in mind that Lucene PATH queries, especially one for "..//*", can take a very long time depending on the state, content and I/O performance of the index. Until there is more information, I'd bet on this as my most-likely suspect, since you perform this type of search in a loop none the less.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd suggest adding some logging to your web script in order to measure what individual part of it executes slowly. So, you should at least put some simple log statements at the begin and end of your loop, and before / after you execute the search.&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>Wed, 01 Aug 2012 07:51:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-scripts-executing-slowly/m-p/271412#M224542</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2012-08-01T07:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Web Scripts executing slowly</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/web-scripts-executing-slowly/m-p/271413#M224543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It may also be worth you experimenting with removing that path statement - or do you have other sites containing kb:referenceable?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another approach is to use 4.0 and SOLR which doesn't have the problems with paths.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 08:56:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/web-scripts-executing-slowly/m-p/271413#M224543</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2012-08-01T08:56:24Z</dc:date>
    </item>
  </channel>
</rss>

