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-526122213
 
 
   > > 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?
   > 
   > What kind of customization you have in mind ? 
   
   Since this is now a `BooleanSupplier`, collectors can choose when to early 
terminate (a hacky idea might be to just terminate after some time has elapsed? 
Not saying it is a good idea though).
   
   >  IMO having all this classes and functions that require 
HitsThresholdChecker as package protected would be enough and would not add to 
the overall complexity of running a simple search using an executor or not ?
   
   Package protected is a good idea -- updated. Does it look fine now?
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to