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

document with no term vector fields after documents with term vector fields corrupts the index

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3
    • 2.3
    • core/index
    • None
    • New

    Description

      If a document with no term-vector-enabled fields is added after
      document(s) that did have term vectors, as part of a single set of
      buffered docs, then the term-vector documents file is corrupted
      because we fail to write a "0" vInt.

      Thanks to Grant for spotting this!

      Spinoff from this thread:

      http://www.gossamer-threads.com/lists/lucene/java-dev/53306

      Attachments

        Activity

          People

            mikemccand Michael McCandless
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: