I am using HttpSolrClient class to query and fetch the documents from solr index. I am passing my custom httpclient object to HttpSolrClient. HttpSolrClient solrClient = new HttpSolrClient(url, httpClient);
This is restricting me setting maximum number of connections using *setMaxTotalConnections <https://lucene.apache.org/solr/5_0_0/solr-solrj/org/apache/solr/client/solrj/impl/HttpSolrClient.html#setMaxTotalConnections%28int%29>* method as the http client was created outside and the operation is not allowed. Can someone let me know how I can set this value if I create the http client outside the HttpSolrClient class. -- http://cheyuta-helpinghands.blogspot.com