<?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 Lucene indexer. Need help in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/lucene-indexer-need-help/m-p/279025#M232155</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. I have a problem with search using lucene, I have searched forum and google already but almost everything I found leads to reindexing whole repo or updating documents that were not indexed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My case:&lt;/P&gt;&lt;P&gt;I use Alfresco Community v3.4.0 (d 3370) schema 4 113&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I create 1500 custom model nodes using NodeService they all have the same parent and I can find them using the same NodeService by parent nodeRef. Also I can find each node separately by nodeRef. Even few days after creating this nodes I can't find part of them using lucene. Search query searches by some custom field like id which has no more then 20 symbols. Example &lt;SPAN&gt;+TYPE:"omo&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;ffice_document" AND +(@omo\:document_number:"UUID123")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So I suggest that in some reason they were not indexed and will not be indexed. Index recovery node is set to auto. Even after app restart nodes were not indexed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My questions: &lt;/P&gt;&lt;P&gt;It would be nice to know reason why those nodes were not indexed. How can I find nodes that were not indexed? Can I see which nodes are waiting for indexing and if amount of them decreases?&lt;/P&gt;&lt;P&gt;Any suggestions...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You for help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Oct 2016 08:02:07 GMT</pubDate>
    <dc:creator>volodymyr</dc:creator>
    <dc:date>2016-10-20T08:02:07Z</dc:date>
    <item>
      <title>Lucene indexer. Need help</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-indexer-need-help/m-p/279025#M232155</link>
      <description>Hi. I have a problem with search using lucene, I have searched forum and google already but almost everything I found leads to reindexing whole repo or updating documents that were not indexed.My case:I use Alfresco Community v3.4.0 (d 3370) schema 4 113I create 1500 custom model nodes using NodeSer</description>
      <pubDate>Thu, 20 Oct 2016 08:02:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-indexer-need-help/m-p/279025#M232155</guid>
      <dc:creator>volodymyr</dc:creator>
      <dc:date>2016-10-20T08:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene indexer. Need help</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-indexer-need-help/m-p/279026#M232156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Probably when you drop a lot of content in Alfresco using the Lucene subsystem, Alfresco try to store each content In-Transaction this behavior will cause a lot of fragmentation of the index and sometimes can bring issues during the indexing process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried to execute a full reindex?&lt;/P&gt;&lt;P&gt;In this way Alfresco rebuild the index in a batch way without fragmentation. This is a typical procedure to correctly maintain your index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to put the following property for reindexing all your contents from scratch:&lt;/P&gt;&lt;P&gt;&lt;SAMP class="ph codeph" style="font-family: monospace, serif; font-size: 1.5rem; color: #58595b;"&gt;index.recovery.mode=FULL&lt;/SAMP&gt;&lt;SPAN style="color: #58595b; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #58595b; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px;"&gt;Then restart Alfresco and look at the alfresco.log to see the progress of the reindexing process.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #58595b; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px;"&gt;When Alfresco starts correctly, if you don't want to execute a Full reindex the next time that you restart Alfresco, set the property to the previous value:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #58595b; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px;"&gt;&lt;SAMP class="ph codeph" style="font-family: monospace, serif; font-size: 1.5rem; color: #58595b;"&gt;index.recovery.mode&lt;/SAMP&gt;&lt;SPAN style="color: #58595b; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px;"&gt; =AUTO&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #58595b; font-size: 14px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 10:41:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-indexer-need-help/m-p/279026#M232156</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2016-10-21T10:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene indexer. Need help</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-indexer-need-help/m-p/279027#M232157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for suggestion, but full reindex is not resolution for us. At least because we have very big database and reindex will take about 3 days. &lt;/P&gt;&lt;P&gt;Also I want to guarantee that node can be found at least after 24 hours after creation.&lt;/P&gt;&lt;P&gt;At this point I have found some workaround, may be someone will find it useful... I made some scheduler that searches last transactions and checks if they were indexed, if not reindex, hope it will work.&lt;/P&gt;&lt;P&gt;I use &lt;/P&gt;&lt;P&gt;nodeDAO.getTxnsByCommitTimeDescending(fromTimeInclusive, toTimeExclusive, count, null, false); to find transactions&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;abstractReindexComponent.isTxnPresentInIndex(Transaction txn); to search if it was indexed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Always opened for better resolution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 11:04:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-indexer-need-help/m-p/279027#M232157</guid>
      <dc:creator>volodymyr</dc:creator>
      <dc:date>2016-10-21T11:04:54Z</dc:date>
    </item>
  </channel>
</rss>

