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

Lucene can't read 3.0-3.3 deleted documents

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 4.10.1
    • None
    • None
    • New

    Description

      BitVector before Lucene 3.4 had many bugs, particulary that it wrote extra bogus trailing crap at the end.

      But since Lucene 4.8, we check that we read all the bytes... this check can fail for 3.0-3.3 indexes due to the previous bugs in those indexes, instead users will get exception on open like this: CorruptIndexException(did not read all bytes from file: read 5000 vs 5001....

      Attachments

        1. LUCENE-5975.patch
          58 kB
          Robert Muir
        2. LUCENE-5975.patch
          54 kB
          Robert Muir

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: