[ https://issues.apache.org/jira/browse/SOLR-221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12496374 ]
Yonik Seeley commented on SOLR-221: ----------------------------------- Yeah, facet.enum.cache.minDf seems reasonable (if a bit long). > Might it not be useful to turn off term enum caching when the number of terms > was above a certain maximum [...] trade cycles for memory If one expects a really high number of terms, I think the right approach is to pick a minDf to cut down the cache size (and trade cycles for memory). Also, Solr doesn't currently know the number of terms in a field unless it's traversed all of them. > faceting memory and performance improvement > ------------------------------------------- > > Key: SOLR-221 > URL: https://issues.apache.org/jira/browse/SOLR-221 > Project: Solr > Issue Type: Improvement > Reporter: Yonik Seeley > Assigned To: Yonik Seeley > Attachments: facet.patch > > > 1) compare minimum count currently needed to the term df and avoid > unnecessary intersection count > 2) set a minimum term df in order to use the filterCache, otherwise iterate > over TermDocs -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.