Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-555

Index Corruption

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Incomplete
    • 1.9
    • None
    • core/index
    • None
    • Linux FC4, Java 1.4.9

    Description

      Index Corruption

      >>>>>>>>> output

      java.io.FileNotFoundException: ../_aki.fnm (No such file or directory)
      at java.io.RandomAccessFile.open(Native Method)
      at java.io.RandomAccessFile.<init>(RandomAccessFile.java:204)
      at org.apache.lucene.store.FSIndexInput$Descriptor.<init>(FSDirectory.java:425)
      at org.apache.lucene.store.FSIndexInput.<init>(FSDirectory.java:434)
      at org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:324)
      at org.apache.lucene.index.FieldInfos.<init>(FieldInfos.java:56)
      at org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:144)
      at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:129)
      at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:110)
      at org.apache.lucene.index.IndexWriter.mergeSegments(IndexWriter.java:674)
      at org.apache.lucene.index.IndexWriter.mergeSegments(IndexWriter.java:658)
      at org.apache.lucene.index.IndexWriter.optimize(IndexWriter.java:517)

      >>>>>>>>> input

      • I open an index, I read, I write, I optimize, and eventually the above happens. The index is unusable.
      • This has happened to me somewhere between 20 and 30 times now - on indexes of different shapes and sizes.
      • I don't know the reason. But, the following requirement applies regardless.

      >>>>>>>>> requirement

      • Like all modern database programs, there has to be a way to repair an index. Period.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ddreon1@yahoo.com dan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: