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

BKD index should compress unused leading bytes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 6.4, 7.0
    • None
    • None
    • 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
          9 kB
          Adrien Grand
        2. LUCENE-7563-prefixlen-unary.patch
          20 kB
          Adrien Grand
        3. LUCENE-7563.patch
          76 kB
          Michael McCandless
        4. LUCENE-7563.patch
          76 kB
          Michael McCandless
        5. LUCENE-7563.patch
          83 kB
          Michael McCandless
        6. LUCENE-7563.patch
          193 kB
          Michael McCandless

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: