lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From solr2020 <>
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

org.apache.solr.client.solrj.impl.HttpClientUtil createClient
INFO: Creating new http client,

and while restarting solr we are getting this message.

org.apache.solr.client.solrj.impl.HttpClientUtil; Creating new http client,

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


View this message in context:
Sent from the Solr - User mailing list archive at

View raw message