cpoerschke commented on code in PR #2596:
URL: https://github.com/apache/solr/pull/2596#discussion_r1692994607


##########
solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java:
##########
@@ -1921,8 +1921,11 @@ public ScoreMode scoreMode() {
       final TopDocs topDocs;
       final ScoreMode scoreModeUsed;
       if (!MultiThreadedSearcher.allowMT(pf.postFilter, cmd, query)) {
-        if (log.isDebugEnabled()) {
-          log.debug("skipping collector manager");
+        if (cmd.getMultiThreaded() != null) {
+          // report multi-threading (non-)use only if multi-threading was 
explicitly (not) requested
+          log.info("SINGLE THREADED search, skipping collector manager");
+        } else {
+          log.debug("SINGLE THREADED search, skipping collector manager");

Review Comment:
   variation of @gus-asf's 
https://github.com/apache/solr/pull/2595/files#diff-99978700f1c69d6a5f6c2190f89c98cfe20c441161db5a183ec002e15cb1be28R1924
 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to