CaoManhDat commented on a change in pull request #1167: SOLR-13845: 
DELETEREPLICA API by count and type
URL: https://github.com/apache/lucene-solr/pull/1167#discussion_r380999461
 
 

 ##########
 File path: 
solr/solrj/src/java/org/apache/solr/client/solrj/request/CollectionAdminRequest.java
 ##########
 @@ -2326,6 +2342,20 @@ private DeleteReplica(String collection, int count) {
       this.count = count;
     }
 
+    private DeleteReplica(String collection, String shard, int count, 
Replica.Type type) {
+      super(CollectionAction.DELETEREPLICA, collection);
+      this.shard = shard;
+      this.count = count;
+      this.type = type;
+    }
+
+    private DeleteReplica(String collection, int count, Replica.Type type) {
+      super(CollectionAction.DELETEREPLICA, collection);
+      this.count = count;
+      this.type = type;
+    }
+
+
 
 Review comment:
   may be remove 1 new line here?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to