On 8/12/2010 8:02 PM, Chris Hostetter wrote:
: It returns in around a second.  When I execute the attached code it takes just
: over three minutes.  The optimal for me would be able get closer to the
: performance I'm seeing with curl using Solrj.

I think your problem may be that StreamingUpdateSolrServer buffers up commands and sends them in batches in a background thread. if you want to send individual updates in real time (and time them) you should just use CommonsHttpSolrServer


-Hoss


My goal is to batch updates. My content lives somewhere else so I was trying to find a way to tell Solr where the document lived so it could go out and stream it into the index for me. That's where I thought StreamingUpdateSolrServer would help.

- Tod

Reply via email to