# Uses of Class
org.apache.solr.client.solrj.request.CollectionAdminRequest.AddReplica

Packages that use CollectionAdminRequest.AddReplica
Package
Description
org.apache.solr.client.solrj.request
Convenience classes for dealing with various types of Solr requests.

## Uses of CollectionAdminRequest.AddReplica in org.apache.solr.client.solrj.request

Methods in org.apache.solr.client.solrj.request that return CollectionAdminRequest.AddReplica
Modifier and Type
Method
Description
`static CollectionAdminRequest.AddReplica`
CollectionAdminRequest.`addReplicaByRouteKey(String collection, String routeKey)`
Returns a SolrRequest to add a replica to a collection using a route key
`static CollectionAdminRequest.AddReplica`
CollectionAdminRequest.`addReplicaToShard(String collection, String shard)`
Returns a SolrRequest to add a replica of type `Replica.Type.NRT` to a shard in a collection
`static CollectionAdminRequest.AddReplica`
CollectionAdminRequest.`addReplicaToShard(String collection, String shard, Replica.Type replicaType)`
Returns a SolrRequest to add a replica of the specified type to a shard in a collection.
`CollectionAdminRequest.AddReplica`
CollectionAdminRequest.AddReplica.`setCoreName(String coreName)`
`CollectionAdminRequest.AddReplica`
CollectionAdminRequest.AddReplica.`setCreateNodeSet(String createNodeSet)`
`CollectionAdminRequest.AddReplica`
CollectionAdminRequest.AddReplica.`setDataDir(String dataDir)`
`CollectionAdminRequest.AddReplica`
CollectionAdminRequest.AddReplica.`setInstanceDir(String instanceDir)`
`CollectionAdminRequest.AddReplica`
CollectionAdminRequest.AddReplica.`setNode(String node)`
`CollectionAdminRequest.AddReplica`
CollectionAdminRequest.AddReplica.`setNrtReplicas(Integer nrtReplicas)`
`CollectionAdminRequest.AddReplica`
CollectionAdminRequest.AddReplica.`setNumReplicas(Replica.Type type, Integer count)`
`CollectionAdminRequest.AddReplica`
CollectionAdminRequest.AddReplica.`setProperties(Properties properties)`
`CollectionAdminRequest.AddReplica`
CollectionAdminRequest.AddReplica.`setPullReplicas(Integer pullReplicas)`
`CollectionAdminRequest.AddReplica`
CollectionAdminRequest.AddReplica.`setSkipNodeAssignment(Boolean skipNodeAssignment)`
`CollectionAdminRequest.AddReplica`
CollectionAdminRequest.AddReplica.`setTlogReplicas(Integer tlogReplicas)`
`CollectionAdminRequest.AddReplica`
CollectionAdminRequest.AddReplica.`setType(Replica.Type type)`
`CollectionAdminRequest.AddReplica`
CollectionAdminRequest.AddReplica.`setUlogDir(String ulogDir)`
`CollectionAdminRequest.AddReplica`
CollectionAdminRequest.AddReplica.`withProperty(String key, String value)`