[
https://issues.apache.org/jira/browse/LUCENE-8400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16545030#comment-16545030
]
Adrien Grand commented on LUCENE-8400:
--------------------------------------
I don't mind making it public. The whole class is already tagged with
@lucene.internal anyway.
> Make BytesRefHash.compact public and @lucene.internal
> -----------------------------------------------------
>
> Key: LUCENE-8400
> URL: https://issues.apache.org/jira/browse/LUCENE-8400
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Priority: Major
>
> {{BytesRefHash}} is an internal Lucene class, essentially providing a compact
> representation of {{Map<BytesRef,int>}}. It already has a public {{sort}}
> method, which destructively compacts all entries and returns them, but its
> {{compact}} method (which compacts all entries without the cost of sorting)
> is not public ... I'd like to make it public, and also mark it
> {{@lucene.internal}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]