Those methods set the same attributes on the underlying HttpClient object so look at the docs for the commons-httpclient libraries.
How are you indexing the documents? One at a time? In batches? If an indexing request is taking a lot of time then you may need to increase the read timeout (setSoTimeout) On Mon, Jun 23, 2014 at 10:27 PM, Venkata krishna <venkat1...@gmail.com> wrote: > Hi, > > In my project we need to index millon files, but connection time out > problems are coming after completion of indexing 1000 to 2000 files. > > What connection values would be preferred to inject for the solrserver > object to avoid connection problems ? > > solrServer.setDefaultMaxConnectionsPerHost(-); > > solrServer.setMaxTotalConnections(-); > > solrServer.setSoTimeout(-); > > solrServer.setConnectionTimeout(-); > > i have checked many sites about description of those methods, i have not > get > and brief information about those yet. > > So could you please provide any link for to describe those methods , > preferred values for those methods for to index millons of documents with > out getting any exception. > > > Thanks , > > Venkata Krishna Tolusuri. > > > > > > > > > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Connection-Time-out-Issue-tp4143473.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- Regards, Shalin Shekhar Mangar.