[ https://issues.apache.org/jira/browse/LUCENE-5303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13803196#comment-13803196 ]
Shai Erera commented on LUCENE-5303: ------------------------------------ Good catch! I guess we should use a compound cache key: coreCacheKey + clp.field? > OrdinalsCache should use reader.getCoreCacheKey() > ------------------------------------------------- > > Key: LUCENE-5303 > URL: https://issues.apache.org/jira/browse/LUCENE-5303 > Project: Lucene - Core > Issue Type: Bug > Components: modules/facet > Reporter: Michael McCandless > Assignee: Michael McCandless > Fix For: 4.6, 5.0 > > > I'm doing some facet performance tests, and I tried using the > CachedOrdsCountingFacetsAggregator to cache the decoded ords per doc X field > ... but noticed it was generating way too many cache entries, because it's > currently using the NDV instance as the cache key. > NDV instances are thread-private so this results in way too many entries in > the cache. -- This message was sent by Atlassian JIRA (v6.1#6144) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org