Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
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