File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
server/src/main/java/org/elasticsearch/cluster/routing/allocation/allocator Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1289,6 +1289,14 @@ public boolean containsShard(ShardRouting shard) {
12891289 }
12901290 }
12911291
1292+ /**
1293+ * A NodeSorter sorts the set of nodes for a single partition using the {@link WeightFunction}
1294+ * for that partition. In partitioned cluster topologies there will be one for each partition
1295+ * (e.g. search/indexing in stateless). By default, there is a single partition containing
1296+ * a single weight function that applies to all nodes and shards.
1297+ *
1298+ * @see BalancingWeightsFactory
1299+ */
12921300 public static final class NodeSorter extends IntroSorter {
12931301
12941302 final ModelNode [] modelNodes ;
You can’t perform that action at this time.
0 commit comments