You can also get a hold of the underlying MultiThreadedHttpConnectionManager
if you want to tweak the configuration further:
public class CommonsHttpSolrServer {
.....
public MultiThreadedHttpConnectionManager getConnectionManager()
}
- will
-----Original Message-----
From: Ryan McKinley [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 18, 2007 12:08 PM
To: [email protected]
Subject: Re: CommonsHttpSolrServer and multithread
>
> but Is CommonsHttpSolrServer thread-safe?
>
It better be! To the best of my knowledge, it is. If you have any
troubles with it, we need to fix them.
the underlying connections are thread safe:
http://jakarta.apache.org/httpcomponents/httpclient-3.x/threading.html
we use MultiThreadedHttpConnectionManager
ryan