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

Do not encode the split dimension in the index in the 1D case

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.3, 7.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      When there is a single dimension, the split dimension is always 0, so we do not need to encode it in the index of the BKD tree. This would be 33% memory saving for half floats, 20% for ints/floats, 11% for longs/doubles and 6% for ip addresses.

        Attachments

        1. LUCENE-7501.patch
          17 kB
          Michael McCandless
        2. LUCENE-7501.patch
          12 kB
          Michael McCandless
        3. LUCENE-7501.patch
          7 kB
          Adrien Grand

          Activity

            People

            • Assignee:
              jpountz Adrien Grand
              Reporter:
              jpountz Adrien Grand
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: