Yonik Seeley wrote:
On Dec 18, 2007 9:50 AM, Ryan McKinley <[EMAIL PROTECTED]> wrote:
perhaps we should increase the default maxConnectionsPerHost. 10? We
should also add some comment about setting it?
Yes, we should definitely change the default (probably higher... 32 or
64?). The total max connections should be increased to (if too low).
check rev 605324
increased to 32/host and 128 max -- originally 2/host and 20 max.
Other number suggestions?
I assume if you want to hit a solr server with multiple threads from
SolrJ, that the best practice / indended use is to create a single
SolrServer, and not one per-thread?
I always use one SolrServer instance shared across threads. It seems
like MultiThreadedHttpConnectionManager will do a better job managing
threads then we would.
ryan