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

MemoryIndex.MemoryDocValuesIterator returns 2 document instead of 1

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.1.1, 7.2, 8.0
    • modules/other
    • None
    • New, Patch Available

    Description

      If there is a DV field in the MemoryIndex the `MemoryIndex.MemoryDocValuesIterator` will return 2 documents instead of 1. Simple off by one error and no tests. I have a patch ready for it.

      Attachments

        1. LUCENE-8055.patch
          3 kB
          Simon Willnauer

        Activity

          People

            simonw Simon Willnauer
            simonw Simon Willnauer
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: