s="block">Assign a new unique id up to slices count - then add replicas evenly.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the assigned shard id</dd></dl>
</li>
</ul>
<a name="getNodesForNewShard(org.apache.solr.common.cloud.ClusterState, java.lang.String, int, int, int, java.lang.String)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getNodesForNewShard</h4>
<pre>public static&nbsp;<a href="http://download.oracle.com/javase/7/docs/api/java/util/ArrayList.html?is-ext