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

FixedGapTermsIndex should use monotonic compression

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0, 6.0
    • None
    • None
    • New

    Description

      for the addresses in the big in-memory byte[] and disk blocks, we could save a good deal of RAM here.

      I think this codec just never got upgraded when we added these new packed improvements, but it might be interesting to try to use for the terms data of sorted/sortedset DV implementations.

      patch works, but has nocommits and currently ignores the divisor. The annoying problem there being that we have the shared interface with "get(int)" for PackedInts.Mutable/Reader, but no equivalent base class for monotonics get(long)...

      Still its enough that we could benchmark/compare for now.

      Attachments

        1. LUCENE-5127.patch
          143 kB
          Robert Muir
        2. LUCENE-5127.patch
          143 kB
          Robert Muir
        3. LUCENE-5127.patch
          94 kB
          Robert Muir
        4. LUCENE-5127.patch
          6 kB
          Robert Muir

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rcmuir Robert Muir
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: