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

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

     [ https://issues.apache.org/jira/browse/LUCENE-5303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shai Erera resolved LUCENE-5303.
--------------------------------

       Resolution: Fixed
         Assignee: Shai Erera  (was: Michael McCandless)
    Lucene Fields: New,Patch Available  (was: New)

Committed to trunk and 4x.

> 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: Shai Erera
>             Fix For: 4.6, 5.0
>
>         Attachments: LUCENE-5303.patch
>
>
> 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