You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Greg Miller (Jira)" <ji...@apache.org> on 2022/05/13 23:45:00 UTC
[jira] [Resolved] (LUCENE-10488) Optimize Facets#getTopDims across Facets implementations
[ https://issues.apache.org/jira/browse/LUCENE-10488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Greg Miller resolved LUCENE-10488.
----------------------------------
Fix Version/s: 9.2
Resolution: Fixed
Merged to {{main}} and {{branch_9x}}. Resolving. Thanks again [~yutinggan]!
> Optimize Facets#getTopDims across Facets implementations
> --------------------------------------------------------
>
> Key: LUCENE-10488
> URL: https://issues.apache.org/jira/browse/LUCENE-10488
> Project: Lucene - Core
> Issue Type: Improvement
> Components: modules/facet
> Reporter: Greg Miller
> Priority: Minor
> Fix For: 9.2
>
> Time Spent: 4h 10m
> Remaining Estimate: 0h
>
> 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}}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org