Luca Cavanna created LUCENE-10484:
-------------------------------------

             Summary: 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
            Reporter: Luca Cavanna


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 message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to