> for heavy use (30 to 40 concurrent
> user) will it work.
> How to open and maintain more connection at a time like
> connection pool. So
> user cat receive fast response..

It uses HttpClient under the hood. You can pass httpClient to its constructor 
too. It seems that MultiThreadedHttpConnectionManager has 
setMaxConnectionsPerHost method.

String serverPath = "http://localhost:8983/solr";;
HttpClient client = new HttpClient(new MultiThreadedHttpConnectionManager());
URL url = new URL(serverPath);
CommonsHttpSolrServer solrServer = new CommonsHttpSolrServer(url, client);

Reply via email to