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

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.5, 8.0
    • Component/s: Facet Module
    • Labels:
      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
          Hoss Man
        2. SOLR-12581.patch
          21 kB
          Hoss Man

          Issue Links

            Activity

              People

              • Assignee:
                hossman Hoss Man
                Reporter:
                hossman Hoss Man
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: