lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nagelberg, Kallin" <>
Subject RE: Machine utilization while indexing
Date Thu, 20 May 2010 19:17:16 GMT
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,,
int, int) . 

-Kallin Nagelberg

-----Original Message-----
From: Chris Hostetter [] 
Sent: Thursday, May 20, 2010 3:14 PM
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?)


View raw message