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/18 10:00:00 UTC
[jira] [Resolved] (LUCENE-8400) Make BytesRefHash.compact public
and @lucene.internal
[ https://issues.apache.org/jira/browse/LUCENE-8400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless resolved LUCENE-8400.
----------------------------------------
Resolution: Fixed
Fix Version/s: 7.5
master (8.0)
> 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
> Fix For: master (8.0), 7.5
>
>
> {{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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org