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

Document with no term vectors mixed with ones that have term vectors cause EOFException during merge

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Another spinoff from here:

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

      Thank you to Andi Vajda for capturing the issue in a compact test!

      This is the same logical error from LUCENE-1008, but in this case the
      bug is in TermVectorsWriter: we are failing to write the "0" field
      count to the tvd file when the document has no vectors. I have a unit
      test showing the issue & simple fix.

        Attachments

          Activity

            People

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              mikemccand Michael McCandless
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: