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

Optimize SortedSet/SortedNumeric doc values writers for fields that are effectively single-valued

Details

    • Wish
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 9.0
    • None
    • None
    • New

    Description

      I was wondering how much overhead multi-valued doc-value types have over their single-valued counterparts, so I hacked IndexTaxis to index all doc-value fields via Sorted(Set|Numeric)DocValuesField instead of (Sorted|Numeric)DocValuesField and flush times increased by 30%. It should be easy to automatically detect such cases in the doc values writers?

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m