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

Replace facets taxonomy writer "cache" with BytesRefHash based implementation

Details

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

    Description

      When the facets module was first created we didn't have BytesRefHash and so the default cache (Cl2oTaxonomyWriterCache was quite a bit more complex than needed.

      I changed this to use a BytesRefHash, which stores labels as UTF8 (reduces memory for ascii-only usage), and is also faster (~12% overall speedup on indexing time in my private tests).

      Attachments

        1. LUCENE-7975.patch
          51 kB
          Michael McCandless
        2. LUCENE-7975.patch
          49 kB
          Michael McCandless

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: