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

   > but I guess as an execution strategy it kind of made sense to me -- is it 
really necessary to clone Scorers? Could we create new ones for each 
searcher-segment or do we think that is too costly due to initialization costs?
   
   It depends on queries. For term queries, duplicating the overhead of looking 
up terms in the terms dict may be ok, but for multi-term queries and point 
queries that often compute the bit set of matches of the whole segment, this 
could significantly hurt throughput. Maybe it doesn't have to be this way for 
the first iteration (progress over perfection), but this feels important to me 
so that we don't have weird recommendations like "only enable intra-segment 
concurrency if you don't use multi-term or point queries".
   
   Related: in the long term, I'd like inter-segment search concurrency to be 
enabled by default (#11523 maybe something else we should consider for 10.0), 
and ideally intra-segment search concurrency too, which is another reason why I 
care about avoiding introducing major downsides vs. single-threaded search.


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