As a further followup:

The follows files are located in the index:

ls /usr/local/index
_0.fnm _0.frq _0.nrm _0.prx _0.tii _0.tis _1.cfs indexinfo _j.cfs segments.gen segments_s

This problem appears to be intermittant and has occurred on several machines. Is there any incorrect way that I could be using Lucene such that this problem would occur?

Jamie

Jamie wrote:
Hi There

I am getting the following error while searching a given index:

java.io.FileNotFoundException: /usr/local/index/_0.fdt (No such file or directory)
       at java.io.RandomAccessFile.open(Native Method)
       at java.io.RandomAccessFile.<init>(Unknown Source)
at org.apache.lucene.store.FSDirectory$FSIndexInput$Descriptor.<init>(FSDirectory.java:506) at org.apache.lucene.store.FSDirectory$FSIndexInput.<init>(FSDirectory.java:536) at org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:445) at org.apache.lucene.index.FieldsReader.<init>(FieldsReader.java:75) at org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:308) at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:262) at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:197) at org.apache.lucene.index.MultiSegmentReader.<init>(MultiSegmentReader.java:55) at org.apache.lucene.index.DirectoryIndexReader$1.doBody(DirectoryIndexReader.java:75) at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:636) at org.apache.lucene.index.DirectoryIndexReader.open(DirectoryIndexReader.java:63)
       at org.apache.lucene.index.IndexReader.open(IndexReader.java:209)
       at org.apache.lucene.index.IndexReader.open(IndexReader.java:173)
at org.apache.lucene.search.IndexSearcher.<init>(IndexSearcher.java:48)

My software used to work perfectly under earlier versions of Lucene. Since I upgraded to 2.3.1, this problem has arisen.

I seriously worried my customer's indexes will be corrupted. Lucene expects to find a file that does not exist.

Any ideas on what might be happening and how to rectify this?

Jamie




--
Stimulus Software - MailArchiva
Email Archiving And Compliance
USA Tel: +1-713-366-8072 ext 3
UK Tel: +44-20-80991035 ext 3
Email: [EMAIL PROTECTED]
Web: http://www.mailarchiva.com

To receive MailArchiva Enterprise Edition product announcements, send a message to: <[EMAIL PROTECTED]>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to