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

Make String and StringIndex in field cache more RAM efficient

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • core/search
    • None
    • New

    Description

      Once flex has landed and LUCENE-1990 is done, we should improve the RAM efficiency of String and StringIndex.

      The text data can be stored in native UTF8 (saves decode when loading), and as byte[] blocks (saves GC load and high RAM overhead of individual strings).

      And with packed unsigned ints we can save alot for cases that don't have that many unique string values.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: