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

IW positions check not quite right

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment