[
https://issues.apache.org/jira/browse/LUCENE-8397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16543272#comment-16543272
]
ASF subversion and git services commented on LUCENE-8397:
---------------------------------------------------------
Commit 82388667bf5cf54e6dac7346cc323a516b9eca2a in lucene-solr's branch
refs/heads/branch_7x from Mike McCandless
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=8238866 ]
LUCENE-8397: add DirectoryTaxonomyWriter.getCache
> 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: [email protected]
For additional commands, e-mail: [email protected]