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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.1
    • Fix Version/s: 4.4
    • Component/s: modules/join
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: