SOLR-5006 added missed param

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521955 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Noble Paul 2013-09-11 17:57:20 +00:00
parent 86d4a61797
commit bddef8a226
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ public class CollectionsHandler extends RequestHandlerBase {
throw new SolrException(ErrorCode.BAD_REQUEST, "shards can be added only to 'implicit' collections" );
Map<String, Object> map = OverseerCollectionProcessor.asMap(QUEUE_OPERATION, CREATESHARD);
copyIfNotNull(req.getParams(),map,COLLECTION_PROP, SHARD_ID_PROP, REPLICATION_FACTOR);
copyIfNotNull(req.getParams(),map,COLLECTION_PROP, SHARD_ID_PROP, REPLICATION_FACTOR,CREATE_NODE_SET);
ZkNodeProps m = new ZkNodeProps(map);
handleResponse(CREATESHARD, m, rsp);
}