Right, I suspect you're hitting merges. How often are you committing? In other words, why are you committing explicitly? It's often better to use commitWithin on the add command and just let Solr do its work without explicitly committing.
Going forward, this is fixed in trunk by the DocumentWriterPerThread improvements. Best Erick On Mon, Feb 6, 2012 at 11:09 AM, Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de> wrote: > Hi, > > i wonder if it is possible to commit data to solr without having to > catch SockedReadTimeout Exceptions. > > I am calling commit(false, false) using a streaming server instance - > but i still have to wait > 30 seconds and catch the timeout from http > method. > I does not matter if its 30 or 60, it will fail depending on how long it > takes until the update request is processed, or can i tweak things here? > > So whats the way to go here? Any other option or must i fetch those > exception and go on like done now. > The operation itself does finish successful - later on when its done - > on server side and all stuff is committed and searchable. > > > regards > > Torsten