mirror of https://github.com/apache/lucene.git
doc: add comments about 1 thread for streaming update client
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1710389 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9981ce1749
commit
1f7e417bba
|
@ -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) {
|
||||
@Override
|
||||
public void handleError(Throwable ex) {
|
||||
|
|
Loading…
Reference in New Issue