Lucene - Core
  1. Lucene - Core
  2. LUCENE-4082

Implement explain in ToParentBlockJoinQuery$BlockJoinWeight

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4, 3.5, 3.6
    • Fix Version/s: 4.0-ALPHA, 6.0
    • Component/s: modules/join
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      At the moment, ToParentBlockJoinQuery$BlockJoinWeight.explain throws an UnsupportedOperationException. It would be useful if it could instead return the score of parent document, even if the explanation on how that score was calculated is missing.

      1. LUCENE-4082.patch
        4 kB
        Martijn van Groningen
      2. LUCENE-4082.patch
        3 kB
        Martijn van Groningen

        Activity

        Hide
        Martijn van Groningen added a comment -

        Added initial approach explaining parent hits. The explanation gives the range of child docs responsible for the parent score.

        Show
        Martijn van Groningen added a comment - Added initial approach explaining parent hits. The explanation gives the range of child docs responsible for the parent score.
        Hide
        Christoph Kaser added a comment -

        Thank you, works perfectly!

        Show
        Christoph Kaser added a comment - Thank you, works perfectly!
        Hide
        Martijn van Groningen added a comment -

        Included explain into random test.

        Show
        Martijn van Groningen added a comment - Included explain into random test.
        Hide
        Martijn van Groningen added a comment -

        Committed to branch4x and trunk.

        Show
        Martijn van Groningen added a comment - Committed to branch4x and trunk.

          People

          • Assignee:
            Martijn van Groningen
            Reporter:
            Christoph Kaser
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development