|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.solr.cloud.Assign
public class Assign
| Constructor Summary | |
|---|---|
Assign()
|
|
| Method Summary | |
|---|---|
static String |
assignNode(String collection,
ClusterState state)
|
static String |
assignShard(String collection,
ClusterState state,
Integer numShards)
Assign a new unique id up to slices count - then add replicas evenly. |
static ArrayList<org.apache.solr.cloud.Assign.Node> |
getNodesForNewShard(ClusterState clusterState,
String collectionName,
int numSlices,
int maxShardsPerNode,
int repFactor,
String createNodeSetStr)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Assign()
| Method Detail |
|---|
public static String assignNode(String collection,
ClusterState state)
public static String assignShard(String collection,
ClusterState state,
Integer numShards)
public static ArrayList<org.apache.solr.cloud.Assign.Node> getNodesForNewShard(ClusterState clusterState,
String collectionName,
int numSlices,
int maxShardsPerNode,
int repFactor,
String createNodeSetStr)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||