<?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: 32000 lucene index folder in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/32000-lucene-index-folder/m-p/286630#M239760</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your answer Axel. I find several old alfresco issues about this topic after your post. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think this problem doesn't fixed in 4.0.d version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Apperantly there are lots of result sets in alfresco source codes which is not closed properly. This leads to 32000 lucene index directories!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are there any class/method name list for 4.0.d version to patch?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or should I review the source codes on my own?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://alfrescoshare.wordpress.com/2009/11/27/coding-best-practice-lucene-search-query-resultset-close-part2/" rel="nofollow noopener noreferrer"&gt;https://alfrescoshare.wordpress.com/2009/11/27/coding-best-practice-lucene-search-query-resultset-close-part2/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALF-1588" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ALF-1588&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ETHREEOH-3229" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ETHREEOH-3229&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://issues.alfresco.com/jira/browse/MNT-1500" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/MNT-1500&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALFCOM-3683" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ALFCOM-3683&lt;/A&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Mar 2016 08:59:26 GMT</pubDate>
    <dc:creator>aktif</dc:creator>
    <dc:date>2016-03-11T08:59:26Z</dc:date>
    <item>
      <title>32000 lucene index folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/32000-lucene-index-folder/m-p/286628#M239758</link>
      <description>Hello,I am using alfresco community 4.0.d on redhat linux with tomcat and mysql. I have 3.3TB data on production environment. When i reach 32000 folders limit in lucenes-indexes/workspace/SpacesStore folder, I restart the tomcat and merge process starts while alfresco restarting. 32000 folders decre</description>
      <pubDate>Wed, 24 Feb 2016 10:10:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/32000-lucene-index-folder/m-p/286628#M239758</guid>
      <dc:creator>aktif</dc:creator>
      <dc:date>2016-02-24T10:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: 32000 lucene index folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/32000-lucene-index-folder/m-p/286629#M239759</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;the index merge job is not only active during startup but active all the time. The main problem is that it needs to be able to merge, which isn't the case when the index files are "apparently" still in use. There is a programmer error that can cause the Lucene index to swell up like this based on not cleaning up search results properly. This keeps index files marked as "in use" which causes Alfresco to create copies whenever new nodes are indexed. The longer the system runs and the longer those result sets aren't cleared by application code, the more of those folders / copies accumulate. When you restart the system, those "in use" marks are all gone and Alfresco is able to remove all those redundant copies.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since Lucene is not used in current Alfresco versions (4.0 and up have SOLR, 5.0 removed Lucene completely), there isn't much current documentation on that matter. But &amp;lt;a href="&lt;/SPAN&gt;&lt;A href="https://alfrescoshare.wordpress.com/2009/11/19/coding-best-practice-lucene-search-query-resultset-close/" rel="nofollow noopener noreferrer"&gt;https://alfrescoshare.wordpress.com/2009/11/19/coding-best-practice-lucene-search-query-resultset-close/&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;an older blog posts&amp;lt;/a&amp;gt; highlights the relevant pattern of closing result sets.&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>Thu, 25 Feb 2016 08:42:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/32000-lucene-index-folder/m-p/286629#M239759</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2016-02-25T08:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: 32000 lucene index folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/32000-lucene-index-folder/m-p/286630#M239760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your answer Axel. I find several old alfresco issues about this topic after your post. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think this problem doesn't fixed in 4.0.d version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Apperantly there are lots of result sets in alfresco source codes which is not closed properly. This leads to 32000 lucene index directories!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are there any class/method name list for 4.0.d version to patch?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or should I review the source codes on my own?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://alfrescoshare.wordpress.com/2009/11/27/coding-best-practice-lucene-search-query-resultset-close-part2/" rel="nofollow noopener noreferrer"&gt;https://alfrescoshare.wordpress.com/2009/11/27/coding-best-practice-lucene-search-query-resultset-close-part2/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALF-1588" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ALF-1588&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ETHREEOH-3229" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ETHREEOH-3229&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://issues.alfresco.com/jira/browse/MNT-1500" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/MNT-1500&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALFCOM-3683" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ALFCOM-3683&lt;/A&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2016 08:59:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/32000-lucene-index-folder/m-p/286630#M239760</guid>
      <dc:creator>aktif</dc:creator>
      <dc:date>2016-03-11T08:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: 32000 lucene index folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/32000-lucene-index-folder/m-p/286631#M239761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It might be wise to upgrade to Alfresco 4.2.f (the last version which still has Lucene) before you spent your time looking through code to fix things yourself. While SOLR has been the preferred search sub system since 4.0, Lucene issues still received fixes up to 4.2, so you may be chasing issues that have already been addressed.&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>Fri, 11 Mar 2016 09:34:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/32000-lucene-index-folder/m-p/286631#M239761</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2016-03-11T09:34:31Z</dc:date>
    </item>
  </channel>
</rss>

