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

Properly support getTopChildren in RangeFacetCounts

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 10.0 (main)
    • 10.0 (main)
    • modules/facet
    • None
    • New

    Description

      As mentioned in LUCENE-10538, RangeFacetCounts is not implementing getTopChildren. Instead of returning "top" ranges, it returns all user-provided ranges in the order the user specified them when instantiating. This is probably more useful functionality, but it would be nice to support getTopChildren as well.

      LUCENE-10550 is introducing the concept of getAllChildren, so once that lands, we can replace the current implementation of getTopChildren with an actual "top children" implementation and direct users to getAllChildren if they want to maintain the current behavior.

      Attachments

        Issue Links

          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 - 4h 20m
                  4h 20m