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

FieldCacheImpl.SortedDocValuesImpl should compress addresses to term bytes more efficiently

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.4, 6.0
    • core/search
    • None
    • New

    Description

      Each ordinal in SortedDocValuesImpl has a corresponding address to find its location in the big byte[] to support lookupOrd()

      Today this uses GrowableWriter with absolute addresses.

      But it would be much better to use MonotonicAppendingLongBuffer.

      Attachments

        1. LUCENE-5035.patch
          4 kB
          Robert Muir

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: