Class ShardBalancingHeuristicsSettings
Implements
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class ShardBalancingHeuristicsSettings : IShardBalancingHeuristicsSettings
Properties
| Edit this page View SourceBalanceIndex
Defines a factor to the number of shards per index allocated on a specific node (float). Defaults to 0.55f. Raising this raises the tendency to equalize the number of shards per index across all nodes in the cluster.
Declaration
public float? BalanceIndex { get; set; }
Property Value
Type | Description |
---|---|
float? |
BalanceShard
Defines the weight factor for shards allocated on a node (float). Defaults to 0.45f. Raising this raises the tendency to equalize the number of shards across all nodes in the cluster.
Declaration
public float? BalanceShard { get; set; }
Property Value
Type | Description |
---|---|
float? |
BalanceThreshold
Minimal optimization value of operations that should be performed (non negative float). Defaults to 1.0f. Raising this will cause the cluster to be less aggressive about optimizing the shard balance
Declaration
public float? BalanceThreshold { get; set; }
Property Value
Type | Description |
---|---|
float? |