lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From solr2020 <psgoms...@gmail.com>
Subject Re: Parallel queries to Solr
Date Thu, 20 Mar 2014 18:55:08 GMT
Thanks Shawn. When we run any solrj application , the below message is
displayed

org.apache.solr.client.solrj.impl.HttpClientUtil createClient
INFO: Creating new http client,
config:maxConnections=128&maxConnectionsPerHost=32&followRedirects=false

and while restarting solr we are getting this message.

org.apache.solr.client.solrj.impl.HttpClientUtil; Creating new http client,
config:maxConnectionsPerHost=20&maxConnections=10000&socketTimeout=0&connTimeout=0&retry=false



This is indicating the number of http connections by default? This can be
overridden by adding the below one.?

 ModifiableSolrParams params = new ModifiableSolrParams(); 
params.add(HttpClientUtil.PROP_MAX_CONNECTIONS_PER_HOST, "300"); 
         params.add(HttpClientUtil.PROP_MAX_CONNECTIONS, "5000"); 
         HttpClient httpClient = HttpClientUtil.createClient(params); 

Thanks.




--
View this message in context: http://lucene.472066.n3.nabble.com/Parallel-queries-to-Solr-tp4119959p4125806.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message