Search Results for

    Show / Hide Table of Contents

    Class MergeSchedulerSettings

    Inheritance
    object
    MergeSchedulerSettings
    Implements
    IMergeSchedulerSettings
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public class MergeSchedulerSettings : IMergeSchedulerSettings

    Properties

    | Edit this page View Source

    AutoThrottle

    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?
    | Edit this page View Source

    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?

    Implements

    IMergeSchedulerSettings

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • AutoThrottle
      • MaxThreadCount
    • Implements
    • Extension Methods
    Back to top Generated by DocFX