<?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 latency when saving a doc in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/search-latency-when-saving-a-doc/m-p/294052#M247182</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I notices a a significant latency after creating a document on the share before that document can be found in a IN_TREE search. The doc can be found straight away if you define the type and search param without the IN_TREE clause. so for example I have a doc of type cmpdl:companyCustomer, and I create it in the repo.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then I run a search like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SELECT cmis&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;bjectId from cmpdl:companyCustomer where IN_TREE(?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and this type of search usualy takes 2-10 seconds to return the new document to the list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;where as if i specify the search like&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SELECT cmis&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;bjectId from cmpdl:companyCustomer where cmpdl:firstName = ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it returns the result straight away.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The interesting thing is that sometimes the first search returns the result straight away sometimes it might take up to 10 seconds to succeed. Is there any configuration or workaround that can be applied in this case? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jul 2015 09:58:11 GMT</pubDate>
    <dc:creator>simonsimonson</dc:creator>
    <dc:date>2015-07-30T09:58:11Z</dc:date>
    <item>
      <title>Search latency when saving a doc</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-latency-when-saving-a-doc/m-p/294052#M247182</link>
      <description>I notices a a significant latency after creating a document on the share before that document can be found in a IN_TREE search. The doc can be found straight away if you define the type and search param without the IN_TREE clause. so for example I have a doc of type cmpdl:companyCustomer, and I crea</description>
      <pubDate>Thu, 30 Jul 2015 09:58:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-latency-when-saving-a-doc/m-p/294052#M247182</guid>
      <dc:creator>simonsimonson</dc:creator>
      <dc:date>2015-07-30T09:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: Search latency when saving a doc</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-latency-when-saving-a-doc/m-p/294053#M247183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The indexing in Alfresco is asynchronous and the indexer runs every 10 seconds so there will be an average delay of 5 and a bit seconds between a document being added and it being indexed. It could be emuch longer under heavy load or with lots of document additions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco can also use a thing called "intransaction indexing" if you have it enabled and use the appropriate query subset. This uses the database not Lucene (Solr) and so it much more "instant". &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is little you can do about the latency but you can try and use query syntax &amp;amp; languages that exploit "in transaction indexing". &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is some explanation of the subset in these forums.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 11:16:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-latency-when-saving-a-doc/m-p/294053#M247183</guid>
      <dc:creator>rjohnson</dc:creator>
      <dc:date>2015-07-30T11:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Search latency when saving a doc</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-latency-when-saving-a-doc/m-p/294054#M247184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;And you should never need to search for a document you know is there.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 14:45:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-latency-when-saving-a-doc/m-p/294054#M247184</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2015-07-30T14:45:01Z</dc:date>
    </item>
  </channel>
</rss>

