atris commented on issue #823: LUCENE-8939: Introduce Shared Count Early 
Termination In Parallel Search
URL: https://github.com/apache/lucene-solr/pull/823#issuecomment-526113533
 
 
   > > So, essentially, we make implicit CollectorManager implementations owned 
by IndexSearcher instead of separate implementation classes?
   > 
   > Yes I think it would be easier and we don't really need to expose 
`HitsThresholdChecker` in this case, it's just an impl detail that is used by 
the parallel and the normal top docs collector ?
   
   Not really, it would be shared across both `TopFieldCollector and 
`TopScoreDocCollector`. Also, I believe having the abstraction will let future 
implementations customize the threshold logic without needing to make any core 
changes or introduce a new collector, hence we should let the threshold checker 
implementations be public. WDYT?
   
   Updated per comments -- let me know if it looks fine

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to