Michael Gibney created SOLR-13108:
-------------------------------------

             Summary: RelatednessAgg ignores cacheDf, consults filterCache for 
every bucket/term
                 Key: SOLR-13108
                 URL: https://issues.apache.org/jira/browse/SOLR-13108
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
          Components: Facet Module
    Affects Versions: 7.4, master (8.0)
            Reporter: Michael Gibney


The {{relatedness}} aggregation function in JSON facet API ignores {{cacheDf}} 
setting and consults the filterCache for every bucket. This is ok e.g. for 
"Query" facet type, where buckets are explicitly enumerated (and thus probably 
relatively low cardinality). But for "Terms" facet type, where bucket count is 
determined by the corpus, this can be a problem. When used over even modestly 
high-cardinality fields, this is very likely to blow out the filterCache.

See also issue with similar consequences: SOLR-9350



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

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

Reply via email to