Apache Solr open-source search software
doc: add comments about 1 thread for streaming update client
Yonik Seeley1f7e417bba5f
diff --git a/solr/core/src/java/org/apache/solr/update/StreamingSolrClients.java b/solr/core/src/java/org/apache/solr/update/StreamingSolrClients.javaindex 2fcea1e2a61..1e9d6dd21d2 100644--- a/solr/core/src/java/org/apache/solr/update/StreamingSolrClients.java+++ b/solr/core/src/java/org/apache/solr/update/StreamingSolrClients.java@@ -67,6 +67,9 @@ public class StreamingSolrClients {String url = getFullUrl(req.node.getUrl());ConcurrentUpdateSolrClient client = solrClients.get(url);if (client == null) {+ // NOTE: increasing to more than 1 threadCount for the client could cause updates to be reordered+ // on a greater scale since the current behavior is to only increase the number of connections/Runners when+ // the queue is more than half full.client = new ConcurrentUpdateSolrClient(url, httpClient, 100, 1, updateExecutor, true) {@Overridepublic void handleError(Throwable ex) {