Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-8400

Make BytesRefHash.compact public and @lucene.internal

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.5, 8.0
    • None
    • None
    • New

    Description

      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.

      Attachments

        Activity

          People

            mikemccand Michael McCandless
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: