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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to