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-526164337
 
 
   > Package protected might not be a good idea after all, sorry, users that 
wants to set the `totalHitsThreshold` different than the default would need to 
access the `GlobalHitsThresholdChecker`. Maybe we can have a single class and 
expose two static functions that creates anonymous impl: `create(int)` and 
`createShared(int)` ? This way users can still modify totalHitsThreshold and 
share it if they use the managed search ?
   
   If I understood correctly, the class would be public and return instances of 
local checker or global checker with the threshold set as the parameter passed 
in to the static methods?

----------------------------------------------------------------
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