sohami commented on code in PR #12348:
URL: https://github.com/apache/lucene/pull/12348#discussion_r1223579671


##########
lucene/core/src/java/org/apache/lucene/search/IndexSearcher.java:
##########
@@ -319,11 +323,10 @@ public QueryCachingPolicy getQueryCachingPolicy() {
 
   /**
    * Expert: Creates an array of leaf slices each holding a subset of the 
given leaves. Each {@link
-   * LeafSlice} is executed in a single thread. By default, segments with more 
than
-   * MAX_DOCS_PER_SLICE will get their own thread
+   * LeafSlice} is executed in a single thread.
    */
   protected LeafSlice[] slices(List<LeafReaderContext> leaves) {

Review Comment:
   I kept it like this to avoid breaking extensions already overriding this 
method. I wanted to backport this change to 9.x branch as well so wanted to 
avoid any breaking change.



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