StreamingUpdateSolrServer already has multiple threads and uses multiple 
connections under the covers. At least the api says ' Uses an internal 
MultiThreadedHttpConnectionManager to manage http connections'. The constructor 
allows you to specify the number of threads used, 
http://lucene.apache.org/solr/api/org/apache/solr/client/solrj/impl/StreamingUpdateSolrServer.html#StreamingUpdateSolrServer(java.lang.String,
 int, int) . 

-Kallin Nagelberg

-----Original Message-----
From: Chris Hostetter [mailto:hossman_luc...@fucit.org] 
Sent: Thursday, May 20, 2010 3:14 PM
To: solr-user@lucene.apache.org
Subject: Re: Machine utilization while indexing


I'm really only guessing here, but based on your description of what you 
are doing it sounds like you only have one thread streaming documents to 
solr (via a single StreamingUpdateSolrServer instance which creates a 
single HTTP connection)

Have you at all attempted to have parallel threads in your client initiate 
parallel connections to Solr via multiple instances of 
StreamingUpdateSolrServer objects?)


-Hoss

Reply via email to