Lucene - Core
  1. Lucene - Core
  2. LUCENE-2141

Make String and StringIndex in field cache more RAM efficient

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core/search
    • Labels:
      None
    • Lucene Fields:
      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.

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Michael McCandless
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development