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/16 10:00:00 UTC

[jira] [Created] (LUCENE-8400) Make BytesRefHash.compact public and @lucene.internal

Michael McCandless created LUCENE-8400:
------------------------------------------

             Summary: 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


{{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