Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-15958

review FilterFeatureScorer delegation logic w.r.t. Scorable

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • contrib - LTR
    • None

    Description

      I noticed that LUCENE-9537 changed TestFeature so that FilterFeatureScorer does not delegate the smoothingScore method, that surprised me.

      Looking further, prior to that, setMinCompetitiveScore and getChildren are also not delegated (but the test coverage does not capture that as intentional).

      From SOLR-15071 we know that delegation/non-delegation bugs can be quite subtle.

      This ticket is to consider the logic and to capture the intended behaviour in the test coverage.

      Attachments

        Issue Links

          Activity

            People

              cpoerschke Christine Poerschke
              cpoerschke Christine Poerschke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m