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

IW positions check not quite right

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.10.3, 5.0, 6.0
    • None
    • None
    • New

    Description

      I noticed this when working on LUCENE-5977.

      We only check that position doesn't overflow, not length. So a buggy analyzer can happily write a corrupt index (negative freq)

      Attachments

        1. LUCENE-5980.patch
          4 kB
          Robert Muir

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: