Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Lucene index and read past EOF exception
Last Post 06/09/2010 10:48 AM by Diego. 2 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Diego
New Member
New Member
Posts:12


--
06/08/2010 5:04 PM

Hi, we have 2 portals in out DNN installation, on first portal search goes fine, but on second portal the search does not result any records.

We have tryed to rebuild the index, the operation seems to be ok, but the search not work.
Opening the index with Luke says "read past EOF"
On DMX search log found on Portals\_default\DMX\Log\SEARCH-2010-06.log some exception found:

08 16.40.53 E:   7 Exception: read past EOF
   in Bring2mind.Lucene.Net.Store.BufferedIndexInput.Refill()
   in Bring2mind.Lucene.Net.Store.BufferedIndexInput.ReadByte()
   in Bring2mind.Lucene.Net.Store.IndexInput.ReadInt()
   in Bring2mind.Lucene.Net.Index.SegmentTermEnum..ctor(IndexInput i, FieldInfos fis, Boolean isi)
   in Bring2mind.Lucene.Net.Index.TermInfosReader..ctor(Directory dir, String seg, FieldInfos fis)
   in Bring2mind.Lucene.Net.Index.SegmentReader.Initialize(SegmentInfo si)
   in Bring2mind.Lucene.Net.Index.SegmentReader.Get(Directory dir, SegmentInfo si, SegmentInfos sis, Boolean closeDir, Boolean ownDir)
   in Bring2mind.Lucene.Net.Index.IndexWriter.MergeSegments(Int32 minSegment, Int32 end)
   in Bring2mind.Lucene.Net.Index.IndexWriter.FlushRamSegments()
   in Bring2mind.Lucene.Net.Index.IndexWriter.Close()
   in Bring2mind.DNN.Modules.DMX.Services.Search.LuceneSearchProvider.LuceneSearchProvider.AddDocument(EntryInfo Entry)

 

Thanks,

Diego

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
06/09/2010 9:43 AM
Try deleting all files under portals/[id]/DMX/Lucene and reindex. If the process breaks off before your execution Timeout then it could be that an external process sees files appear under Lucene and locks them briefly. The only candidate I know of is Windows Indexing Service. So make sure it is not set to search your portals directory on your server.

Peter
Diego
New Member
New Member
Posts:12


--
06/09/2010 10:48 AM
Thanks Peter, reidex lucene index works. Sometimes it's throws a thread aborted exception, but after some retry it works.
If the index will be bad again i'll send you details.

Diego
You are not authorized to post a reply.