Re: UpdateRequest commit policy

2014-09-12 Thread Erick Erickson
Usually, I recommend 1> you configure autocommit on the server. Make it reasonable as in multiple seconds. 2> do NOT commit from the client. If you must commit from the client, then consider the server.add(docs, commitwithin) call Under no circumstances should you commit from the client IMO excep

Re: UpdateRequest commit policy

2014-09-12 Thread Shawn Heisey
On 9/12/2014 9:10 AM, Joshi, Shital wrote: > We're updating Solr cloud from a java process using UpdateRequest API. > > UpdateRequest req = new UpdateRequest(); > req.setResponseParser(new XMLResponseParser()); > req.setParam("_shard_", shard); > req.add(docs); > > We see too many searcher open