Michael McCandless created LUCENE-5303:
------------------------------------------

             Summary: 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

Reply via email to