Class MergeSchedulerSettings
Implements
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class MergeSchedulerSettings : IMergeSchedulerSettings
Properties
| Edit this page View SourceAutoThrottle
If this is true (the default), then the merge scheduler will rate-limit IO (writes) for merges to an adaptive value depending on how many merges are requested over time. An application with a low indexing rate that unluckily suddenly requires a large merge will see that merge aggressively throttled, while an application doing heavy indexing will see the throttle move higher to allow merges to keep up with ongoing indexing.
Declaration
public bool? AutoThrottle { get; set; }
Property Value
Type | Description |
---|---|
bool? |
MaxThreadCount
The maximum number of threads that may be merging at once. Defaults to
Math.max(1, Math.min(4, Runtime.getRuntime().availableProcessors() / 2))
which works well for a good solid-state-disk (SSD). If your index is on spinning platter drives instead, decrease this to 1.
Declaration
public int? MaxThreadCount { get; set; }
Property Value
Type | Description |
---|---|
int? |