You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Luca Cavanna (Jira)" <ji...@apache.org> on 2022/03/28 18:48:00 UTC
[jira] [Commented] (LUCENE-10484) Add support for concurrent facets random sampling
[ https://issues.apache.org/jira/browse/LUCENE-10484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17513572#comment-17513572 ]
Luca Cavanna commented on LUCENE-10484:
---------------------------------------
I am not sure why the PR is not getting linked to the jira issue, but here it is: https://github.com/apache/lucene/pull/765
> Add support for concurrent facets random sampling
> -------------------------------------------------
>
> Key: LUCENE-10484
> URL: https://issues.apache.org/jira/browse/LUCENE-10484
> Project: Lucene - Core
> Issue Type: Improvement
> Components: modules/facet
> Reporter: Luca Cavanna
> Priority: Minor
>
> While FacetsCollectorManager exists to allows users to concurrently do facets collection through FacetsCollector, RandomSamplingFacetsCollector does not have a corresponding collector manager that easily allows users to concurrently do random sampling. The needed collector manager would be very similar to FacetsCollectorManager, yet it would need to expose a specialized reduced RandomSamplingFacetsCollector, and the reduction should call getOriginalMatchingDocs instead of getMatchingDocs, which modifies the internal totalHits when called.
> This relates to LUCENE-10002 and would allow to use a collector manager instead of a collector when doing random sampling, in the effort of reducing usages of IndexSearcher#search(Query, Collector).
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org