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

    • Improvement
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 6.3, 7.0
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: