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

Added AppendingPackedLongBuffer & extended AbstractAppendingLongBuffer family (customizable compression ratio + bulk retrieval)

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.5, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      Made acceptableOverheadRatio configurable
      Added bulk get to AbstractAppendingLongBuffer classes, for faster retrieval.
      Introduced a new variant, AppendingPackedLongBuffer which solely relies on PackedInts as a back-end. This new class is useful where people have non-negative numbers with a fairly uniform distribution over a fixed (limited) range. Ex. facets ordinals.
      To distinguish it from AppendingPackedLongBuffer, delta based AppendingLongBuffer was renamed to AppendingDeltaPackedLongBuffer
      Fixed an Issue with NullReader where it didn't respect it's valueCount in bulk gets.

        Attachments

        1. LUCENE-5145.patch
          67 kB
          Boaz Leskes
        2. LUCENE-5145.v2.patch
          73 kB
          Boaz Leskes

          Activity

            People

            • Assignee:
              jpountz Adrien Grand
              Reporter:
              bleskes Boaz Leskes
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: