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

DiskDV probably shouldnt use BlockPackedReader for SortedDV doc-to-ord

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None
    • New

    Description

      I dont think "blocking" provides any benefit here in general. we can assume the ordinals are essentially random and since SortedDV is single-valued, its probably better to just use the simpler packedints directly?

      I guess the only case where it would help is if you sorted your segments by that DV field. But that seems kinda wierd/esoteric to sort your index by a deref'ed string value, e.g. I don't think its even supported by SortingMP.

      For the SortedSet "ord stream", this can exceed 2B values so for now I think it should stay as blockpackedreader. but it could use a large blocksize...

      Attachments

        1. LUCENE-5122.patch
          9 kB
          Robert Muir

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment