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

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

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.5, 6.0
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: