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

join on single-valued field with deleted docs scores too few docs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.3.1
    • 4.4
    • modules/join
    • None
    • New, Patch Available

    Description

      TermsIncludingScoreQuery has an inner class SVInnerScorer used when the "to" side of a join is single-valued. This has a nextDocOutOfOrder() method that is faulty when there are deleted documents, and a document that is deleted is matched by the join. It'll terminate with NO_MORE_DOCS prematurely. Interestingly, it appears MVInnerScorer (multi-valued) was coded properly to not have this problem.

      Attachments

        Activity

          People

            dsmiley David Smiley
            dsmiley David Smiley
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: