SOLR-5406: pass params with delete

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1537374 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2013-10-31 04:35:25 +00:00
parent 1961740ec7
commit 6bca1a44e9
2 changed files with 4 additions and 0 deletions

View File

@ -112,6 +112,9 @@ New Features
* SOLR-5311: Avoid registering replicas which are removed (noble)
* SOLR-5406: CloudSolrServer failed to propagate request parameters
along with delete updates. (yonik)
Bug Fixes
----------------------

View File

@ -239,6 +239,7 @@ public class UpdateRequest extends AbstractUpdateRequest {
urequest.deleteById(deleteId, version);
} else {
UpdateRequest urequest = new UpdateRequest();
urequest.setParams(params);
urequest.deleteById(deleteId, version);
request = new LBHttpSolrServer.Req(urequest, urls);
routes.put(leaderUrl, request);