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

Implement explain in ToParentBlockJoinQuery$BlockJoinWeight

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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.v.groningen 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.v.groningen 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
        christophk Christoph Kaser added a comment -

        Thank you, works perfectly!

        Show
        christophk Christoph Kaser added a comment - Thank you, works perfectly!
        Hide
        martijn.v.groningen Martijn van Groningen added a comment -

        Included explain into random test.

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

        Committed to branch4x and trunk.

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

          People

          • Assignee:
            martijn.v.groningen Martijn van Groningen
            Reporter:
            christophk Christoph Kaser
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development