romseygeek commented on issue #12318:
URL: https://github.com/apache/lucene/issues/12318#issuecomment-1604130823

   `Parallel` vs `Partition` depends on the types of queries that you're 
matching against.  `Parallel` hands all candidates to a blocking queue, so the 
synchronization overhead is per-query - efficient if the queries are heavy, but 
can be expensive if everything is just a term query and takes very little time 
to check.  `Partition` collects all candidate queries, then divides them up 
into blocks and passes each block to a separate thread for checking.  This will 
work better if all your queries are of a similar weight, but means that if a 
few heavy queries get pushed into a single partition then you can end up with 
longer latency.


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