att/rcloud — pull request #1078 by sujitbehera27 (2014-11-10 22:19:21+00:00)
Title: This Fixes #766,#1062

@sneha-bharti can you please test this out thoroughly on your solr instance. My solr is unfriendly sometimes.

@gordonwoodhull The delete issue which I was telling earlier is kind of solved with our current version of solr as now am using the xml syntax for delete query. Earlier I was using the json format of query. Both are allowed. I found using xml mode(opt 2)is consistent and always deletes.

I have spent 90 % time in testing this one and 10% in code.:)

1>The json format of curl req :
http://myURL/update?commit=true" -H 'Content-type:application/json' -d '{"delete": {"id":"1730887464"}}
2>The xml format of request(using in this commit) to solr :
http://localhost:8983/solr/update?stream.body=id:1332922&commit=true