A timeout like this _probably_ means your docs were indexed just fine. I'm curious why adding the docs takes so long, how many docs are you sending at a time?
Best Erick On Thu, Mar 21, 2013 at 1:31 PM, Benjamin, Roy <rbenja...@ebay.com> wrote: > I'm calling: m_server.add(docs, 120000); > > Wondering if the timeout that expires was the one set when the server was > created? > > m_server = new HttpSolrServer(serverUrl); > m_server.setRequestWriter(new BinaryRequestWriter()); > m_server.setConnectionTimeout(30000); > m_server.setSoTimeout(10000); > > Also, does the exception always mean the docs were not added? > > Thanks > Roy > > Solr 3.6 > > > 2013-03-21 10:21:32,487 [main] ERROR org.apache.pig.tools.grunt.Grunt - > ERROR 2078: Caught error from UDF: checkout.regexudf.SolrAccumulator > [org.apache.solr.client.solrj.SolrServerException: Timeout occured while > waiting response from server at: http://10.94.238.86:8080/solr] > >