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

ToChildBlockJoinScorer should not fail when advanced on a parent document

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      ToChildBlockJoinScorer fails if you advance it on a parent document. While this was fine if you wrapped it in a FilteredQuery, it is not if you wrap it in a BooleanQuery because of its approximation support: it can be advanced to a document that has been returned by the approximation of another clause but not confirmed yet. So ToChildBlockJoinScorer should accept any valid doc ID as a target.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jpountz Adrien Grand
                Reporter:
                jpountz Adrien Grand
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: