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

ToParentBlockJoinCollector provides no way to access computed scores and the maxScore

    Details

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

      The constructor of ToParentBlockJoinCollector allows to turn on the tracking of parent scores and the maximum parent score, however there is no way to access those scores because:

      • maxScore is a private field, and there is no getter
      • TopGroups / GroupDocs does not provide access to the scores for the parent documents, only the children

        Attachments

        1. LUCENE-4077.patch
          15 kB
          Michael McCandless
        2. LUCENE-4077.patch
          16 kB
          Michael McCandless
        3. LUCENE-4077.patch
          25 kB
          Michael McCandless
        4. LUCENE-4077.patch
          25 kB
          Michael McCandless

          Activity

            People

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              christophk Christoph Kaser
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: