You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2018/07/23 16:27:00 UTC

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

Hoss Man created SOLR-12581:
-------------------------------

             Summary: add a "min_popularity" option to relatedness() aggregation that forces scores to -Inf if fg/bg pops don't meet a threshold
                 Key: SOLR-12581
                 URL: https://issues.apache.org/jira/browse/SOLR-12581
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Hoss Man
            Assignee: Hoss Man


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"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org