Lucene - Core
  1. Lucene - Core
  2. LUCENE-6593

ToChildBlockJoinScorer should not fail when advanced on a parent document

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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.

        Issue Links

          Activity

          Hide
          Adrien Grand added a comment -

          Here is a patch.

          Show
          Adrien Grand added a comment - Here is a patch.
          Hide
          ASF subversion and git services added a comment -

          Commit 1686485 from Adrien Grand in branch 'dev/trunk'
          [ https://svn.apache.org/r1686485 ]

          LUCENE-6593: Fix ToChildBlockJoinQuery's scorer to not refuse to advance to a document that belongs to the parent space.

          Show
          ASF subversion and git services added a comment - Commit 1686485 from Adrien Grand in branch 'dev/trunk' [ https://svn.apache.org/r1686485 ] LUCENE-6593 : Fix ToChildBlockJoinQuery's scorer to not refuse to advance to a document that belongs to the parent space.
          Hide
          ASF subversion and git services added a comment -

          Commit 1686486 from Adrien Grand in branch 'dev/branches/branch_5x'
          [ https://svn.apache.org/r1686486 ]

          LUCENE-6593: Fix ToChildBlockJoinQuery's scorer to not refuse to advance to a document that belongs to the parent space.

          Show
          ASF subversion and git services added a comment - Commit 1686486 from Adrien Grand in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1686486 ] LUCENE-6593 : Fix ToChildBlockJoinQuery's scorer to not refuse to advance to a document that belongs to the parent space.
          Hide
          Shalin Shekhar Mangar added a comment -

          Bulk close for 5.3.0 release

          Show
          Shalin Shekhar Mangar added a comment - Bulk close for 5.3.0 release

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development