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

ToParentBlockJoinCollector provides no way to access computed scores and the maxScore

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4, 3.5, 3.6
    • 4.0-ALPHA, 6.0
    • modules/join
    • None
    • 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
          25 kB
          Michael McCandless
        2. LUCENE-4077.patch
          25 kB
          Michael McCandless
        3. LUCENE-4077.patch
          16 kB
          Michael McCandless
        4. LUCENE-4077.patch
          15 kB
          Michael McCandless

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: