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]