msokolov commented on issue #9721:
URL: https://github.com/apache/lucene/issues/9721#issuecomment-2090843987

   One thing came up during my testing / messing around that I think could 
significantly affect the API we provide which is whether we want to bake in the 
algorithm for computing leaves/slices into the `IndexSearcher` as we do today, 
or whether it should be part of the `search()` API or some other top-level API. 
The reason I think we might want to expose the slicing/interval calculation is 
that it seems possible some Query's might be more-or-less amenable to being 
scored in this way - eg if they have specific interactions with Scorers ... in 
particular I'm having difficulty with DrillSidewaysQuery. Another consideration 
is that we may want to modify the amount of concurrency we apply to each Query 
in response to operational conditions. If we're running hot we might want to 
use less concurrency per Query. I guess one alternative is to maintain multiple 
IndexSearchers with different characteristics, but this can become burdensome 
and is also less flexible - do you have an IndexSearcher
  for every possible number of threads you might want to apply to a single 
query?


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

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to