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

Optimize Facets#getTopDims across Facets implementations

Details

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

    Description

      LUCENE-10325 added a new getTopDims API, allowing users to specify the number of "top" dimensions they want. The default implementation just delegates to getAllDims and returns the number of top dims requested, but some Facets sub-classes can do this more optimally. LUCENE-10325 demonstrated this in SortedSetDocValueFacetCounts, but we can take it further. There's at least some opportunity to do better in:

      • ConcurrentSortedSetDocValuesFacetCounts
      • FastTaxonomyFacetCounts
      • TaxonomyFacetSumFloatAssociations
      • TaxonomyFacetSumIntAssociations

      Attachments

        Activity

          People

            Unassigned Unassigned
            gsmiller Greg Miller
            Votes:
            0 Vote for this issue
            Watchers:
            4 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