public class AssignShard extends Object
| Constructor and Description | 
|---|
| AssignShard() | 
| Modifier and Type | Method and Description | 
|---|---|
| static String | assignShard(String collection,
           ClusterState state,
           Integer numShards)Assign a new unique id up to slices count - then add replicas evenly. | 
public static String assignShard(String collection, ClusterState state, Integer numShards)
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.