public class Assign extends Object
| Constructor and Description | 
|---|
| Assign() | 
| Modifier and Type | Method and Description | 
|---|---|
| static String | assignNode(DocCollection collection) | 
| static String | assignShard(DocCollection collection,
           Integer numShards)Assign a new unique id up to slices count - then add replicas evenly. | 
| static List<org.apache.solr.cloud.Assign.ReplicaCount> | getNodesForNewReplicas(ClusterState clusterState,
                      String collectionName,
                      String shard,
                      int numberOfNodes,
                      Object createNodeSet,
                      CoreContainer cc) | 
public static String assignNode(DocCollection collection)
public static String assignShard(DocCollection collection, Integer numShards)
public static List<org.apache.solr.cloud.Assign.ReplicaCount> getNodesForNewReplicas(ClusterState clusterState, String collectionName, String shard, int numberOfNodes, Object createNodeSet, CoreContainer cc)
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.