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

Automatically detect multi- vs. single-valued cases in LongValueFacetCounts

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 9.0
    • 9.0
    • modules/facet
    • None
    • New

    Description

      The public API in LongValueFacetCounts currently requires the user to specify whether-or-not a field being counted should be single- or multi-valued (i.e., is it NumericDocValues or SortedNumericDocValues). Since we can detect this automatically, it seems unnecessary to ask users to specify. Let's consider updating the implementation to auto-detect these cases and deprecate the ctors that allow explicit specification.

      This is a spin-off issue from LUCENE-9946

      Attachments

        Activity

          People

            Unassigned Unassigned
            gsmiller Greg Miller
            Votes:
            0 Vote for this issue
            Watchers:
            3 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 - 2h 20m
                2h 20m

                Slack

                  Issue deployment