<?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: solr Indexing taking too much time... in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/solr-indexing-taking-too-much-time/m-p/265445#M218575</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you help me to find a javascript api to lookup for a new node from its noderef, something like search.findNode(..), but this API uses lucene index to work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Sep 2013 14:09:16 GMT</pubDate>
    <dc:creator>lesignor</dc:creator>
    <dc:date>2013-09-03T14:09:16Z</dc:date>
    <item>
      <title>solr Indexing taking too much time...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solr-indexing-taking-too-much-time/m-p/265435#M218565</link>
      <description>Hello friends,I have integrated REST services with solr subsysten in my application.I am uploading documents with metadata&amp;nbsp; using default upload and metadata scripts. and after uploading data and updating metadata i search alfresco for documents on the basis of metadata.Now the problem is alfresco i</description>
      <pubDate>Tue, 01 May 2012 09:13:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solr-indexing-taking-too-much-time/m-p/265435#M218565</guid>
      <dc:creator>arpit_gupta</dc:creator>
      <dc:date>2012-05-01T09:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: solr Indexing taking too much time...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solr-indexing-taking-too-much-time/m-p/265436#M218566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you are using SOLR you must take account of the fact that there will be a delay (however short) between uploading content and being able to search for it.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are a couple of approaches.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a) Don't use search to find a document you just uploaded, use one of the other APIs such as a lookup by noderef or list the contents of a folder.&amp;nbsp;&amp;nbsp;&amp;nbsp; That's how Alfresco Share works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;b) Don't use SOLR, use the in transaction Lucene index subsystem instead.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 10:00:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solr-indexing-taking-too-much-time/m-p/265436#M218566</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2012-05-01T10:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: solr Indexing taking too much time...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solr-indexing-taking-too-much-time/m-p/265437#M218567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i have to do search on metadata and i have to show document list on the basis of that metadata.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hence a search on folder or noderef will not work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So that means i can not use solr subsystem in this scenario&amp;nbsp; &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Isn't there any other way to resolve this problem without dropping solr?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 12:24:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solr-indexing-taking-too-much-time/m-p/265437#M218567</guid>
      <dc:creator>arpit_gupta</dc:creator>
      <dc:date>2012-05-01T12:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: solr Indexing taking too much time...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solr-indexing-taking-too-much-time/m-p/265438#M218568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 12:45:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solr-indexing-taking-too-much-time/m-p/265438#M218568</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2012-05-01T12:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: solr Indexing taking too much time...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solr-indexing-taking-too-much-time/m-p/265439#M218569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;mroger really thanks for your clarifications.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What is not clear for me is how to specify/change how often solr must run.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Alfresco_And_SOLR" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Alfresco_And_SOLR&lt;/A&gt;&lt;SPAN&gt; i thought that the property was &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;alfresco.cron=0/15 * * * * ? *&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; How often to check if there is work to do&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Although &lt;/SPAN&gt;&lt;EM&gt;alfreco.cron&lt;/EM&gt;&lt;SPAN&gt; sets the interval every 15 minutes, in my Alfresco installation I'm able typically to retrieve a node by metadata just after 20/30 seconds while in other installations the time to wait seems significantly longer. Could you explain what's the correct parameter or where this parameter is overridden?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Andrea&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2012 08:48:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solr-indexing-taking-too-much-time/m-p/265439#M218569</guid>
      <dc:creator>acarpine</dc:creator>
      <dc:date>2012-05-23T08:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: solr Indexing taking too much time...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solr-indexing-taking-too-much-time/m-p/265440#M218570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think that cron expression is 15 seconds.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2012 09:33:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solr-indexing-taking-too-much-time/m-p/265440#M218570</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2012-05-23T09:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: solr Indexing taking too much time...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solr-indexing-taking-too-much-time/m-p/265441#M218571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ops right…Many thanks mrogers!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2012 10:30:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solr-indexing-taking-too-much-time/m-p/265441#M218571</guid>
      <dc:creator>acarpine</dc:creator>
      <dc:date>2012-05-23T10:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: solr Indexing taking too much time...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solr-indexing-taking-too-much-time/m-p/265442#M218572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am in the same boat as some one, where an uploaded document is not immediately available for search. I am using the SOLR subsystem as well. As i see from earlier answers, i should consider changing the subsystem from solr to lucene. Could anybody tell, how to change the subsystem from solr to lucene? are there any disadvantages by doing this?&amp;nbsp; I am using Alfresco 4.0 version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it true that indexing is less important in Alfresco 4.0 and it is advised to turn off this feature?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2012 20:02:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solr-indexing-taking-too-much-time/m-p/265442#M218572</guid>
      <dc:creator>srm</dc:creator>
      <dc:date>2012-10-03T20:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: solr Indexing taking too much time...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solr-indexing-taking-too-much-time/m-p/265443#M218573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Could anybody tell, how to change the subsystem from solr to lucene? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please see the documentation for the search subsystem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt; are there any disadvantages by doing this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Performance is affected by having in transaction indexing,&amp;nbsp; you can't index offline or share indexes between a cluster of servers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it true that indexing is less important in Alfresco 4.0 and it is advised to turn off this feature?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt; Its not essential like it used to be but search is an important part of alfresco.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 09:04:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solr-indexing-taking-too-much-time/m-p/265443#M218573</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2012-10-04T09:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: solr Indexing taking too much time...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solr-indexing-taking-too-much-time/m-p/265444#M218574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Rogers, thank you for your fast reply. If switching from solr to lucene, affects the performance as you said, i would not consider this approach.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;coming back to the problem of not able to search the just saved document, what is the solution that you would suggest? There is a lag of about &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4-5 seconds before i could search and retrive the document. can you point me to any documentation links that explains how to configure/overcome this issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you much in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 12:16:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solr-indexing-taking-too-much-time/m-p/265444#M218574</guid>
      <dc:creator>srm</dc:creator>
      <dc:date>2012-10-04T12:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: solr Indexing taking too much time...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solr-indexing-taking-too-much-time/m-p/265445#M218575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you help me to find a javascript api to lookup for a new node from its noderef, something like search.findNode(..), but this API uses lucene index to work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 14:09:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solr-indexing-taking-too-much-time/m-p/265445#M218575</guid>
      <dc:creator>lesignor</dc:creator>
      <dc:date>2013-09-03T14:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: solr Indexing taking too much time...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solr-indexing-taking-too-much-time/m-p/265446#M218576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Forum,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any updates in this problem??&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In my case i am searching node as below&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var nodes = search.luceneSearch("@type\\:customtype:\""+customproperty+"\"");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;when i upload document and try to view document using this query (from webscript )immediately it did not work &amp;lt;strong&amp;gt;sometimes&amp;lt;/strong&amp;gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it related to SOLR indexing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the best way to solve this??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if i use&amp;nbsp; &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;alfresco.cron=0/15 * * * * ? *&amp;nbsp; &lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;&amp;nbsp; and change it to &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;alfresco.cron=0/2 * * * * ? *&amp;nbsp; &lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;that is 2 seconds to search for any work&amp;nbsp; has any impact if i make this to 1 or 2 seconds???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As i mentioned it happens sometimes when i upload document after long time or after server restart is there any service which sleeps and it awake when i do some work on server???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please guide me also suggest if any good approach i should follow to solve this&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Version Alfresco 4.2e&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 11:59:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solr-indexing-taking-too-much-time/m-p/265446#M218576</guid>
      <dc:creator>aditya_chaudhar</dc:creator>
      <dc:date>2015-01-28T11:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: solr Indexing taking too much time...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solr-indexing-taking-too-much-time/m-p/265447#M218577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;DON'T use SEARCH for a document you just uploaded.&amp;nbsp;&amp;nbsp; That's bonkers!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 12:07:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solr-indexing-taking-too-much-time/m-p/265447#M218577</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2015-01-28T12:07:54Z</dc:date>
    </item>
  </channel>
</rss>

