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 2018/07/13 14:22:00 UTC
[jira] [Resolved] (LUCENE-8397) Add
DirectoryTaxonomyWriter.getCache
[ https://issues.apache.org/jira/browse/LUCENE-8397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless resolved LUCENE-8397.
----------------------------------------
Resolution: Fixed
Fix Version/s: 7.5
master (8.0)
> Add DirectoryTaxonomyWriter.getCache
> ------------------------------------
>
> Key: LUCENE-8397
> URL: https://issues.apache.org/jira/browse/LUCENE-8397
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Priority: Major
> Fix For: master (8.0), 7.5
>
> Attachments: LUCENE-8397.patch
>
>
> {{DirectoryTaxonomyWriter}} uses a cache to hold recently mapped labels / ordinals. You can provide an impl when you create the class, or it will use a default impl.
>
> I'd like to add a getter, {{DirectoryTaxonomyWriter.getCache}} to retrieve the cache it's using; this is helpful for getting diagnostics (how many cached labels, how much RAM used, etc.).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org