Lucene - Core
  1. Lucene - Core
  2. LUCENE-5035

FieldCacheImpl.SortedDocValuesImpl should compress addresses to term bytes more efficiently

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4, 6.0
    • Component/s: core/search
    • Labels:
      None
    • Lucene Fields:
      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.

        Activity

        Hide
        Robert Muir added a comment -

        patch

        Show
        Robert Muir added a comment - patch
        Hide
        Adrien Grand added a comment -

        +1, patch looks good!

        Show
        Adrien Grand added a comment - +1, patch looks good!
        Hide
        Michael McCandless added a comment -

        +1, awesome!

        Show
        Michael McCandless added a comment - +1, awesome!
        Hide
        Steve Rowe added a comment -

        Bulk close resolved 4.4 issues

        Show
        Steve Rowe added a comment - Bulk close resolved 4.4 issues

          People

          • Assignee:
            Unassigned
            Reporter:
            Robert Muir
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development