renatoh commented on code in PR #4616:
URL: https://github.com/apache/solr/pull/4616#discussion_r3551784826


##########
solr/benchmark/src/java/org/apache/solr/bench/search/ExitableDirectoryReaderSearch.java:
##########
@@ -151,17 +155,20 @@ public void tearDownTrial() throws Exception {
     }
   }
 
-  private static ModifiableSolrParams createInitialParams() {
+  private static ModifiableSolrParams createInitialParams(BenchState state) {
     ModifiableSolrParams params =
         SolrBenchState.params("rows", "100", "timeAllowed", "1000", "fl", "*");
+    if (state.multiThreaded) {
+      params.set(CommonParams.MULTI_THREADED, "true");

Review Comment:
   @arup-chauhan As statet on the Jira-ticket, I don't think just setting this 
flag is enough, I belief you also need to set solr.searchThreads e.g. like this:
   System.setProperty("solr.searchThreads", String.valueOf(searchThreads))



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