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

BKD index should compress unused leading bytes

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.4, 7.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Today the BKD (points) in-heap index always uses dimensionNumBytes per dimension, but if e.g. you are indexing LongPoint yet only use the bottom two bytes in a given segment, we shouldn't store all those leading 0s in the index.

        Attachments

        1. LUCENE-7563-prefixlen-unary.patch
          20 kB
          Adrien Grand
        2. LUCENE-7563-prefixlen-unary.patch
          9 kB
          Adrien Grand
        3. LUCENE-7563.patch
          193 kB
          Michael McCandless
        4. LUCENE-7563.patch
          83 kB
          Michael McCandless
        5. LUCENE-7563.patch
          76 kB
          Michael McCandless
        6. LUCENE-7563.patch
          76 kB
          Michael McCandless

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: