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

add a "min_popularity" option to relatedness() aggregation that forces scores to -Inf if fg/bg pops don't meet a threshold

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.5, 8.0
    • Facet Module
    • None

    Description

      as discussed in SOLR-9480 and noted in TODO comments, the original SKG code base had a "min_pop" option that would completely ignore "terms" if the fg/bg popularities weren't above a user specified threshold. with the implementation of SKG as a relatedness() aggregation function, we need to leave any actual filtering of buckets by an aggregation result to a future generalized JSON facet enhancement, but what we can do today is implement an optional min_popularity option on relatedness() that forces the relatedness score to -Infinity so buckets that don't meat the threshold at least score "as low as possible"

      Attachments

        1. SOLR-12581.patch
          17 kB
          Chris M. Hostetter
        2. SOLR-12581.patch
          21 kB
          Chris M. Hostetter

        Issue Links

          Activity

            People

              hossman Chris M. Hostetter
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: