You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2013/10/23 21:21:46 UTC

[jira] [Created] (LUCENE-5303) OrdinalsCache should use reader.getCoreCacheKey()

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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org