Search Results for

    Show / Hide Table of Contents

    Class MergePolicySettings

    Inheritance
    object
    MergePolicySettings
    Implements
    IMergePolicySettings
    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 MergePolicySettings : IMergePolicySettings

    Properties

    | Edit this page View Source

    ExpungeDeletesAllowed

    When expungeDeletes is called, we only merge away a segment if its delete percentage is over this threshold. Default is 10.

    Declaration
    public int? ExpungeDeletesAllowed { get; set; }
    Property Value
    Type Description
    int?
    | Edit this page View Source

    FloorSegment

    Segments smaller than this are "rounded up" to this size, i.e. treated as equal (floor) size for merge selection. This is to prevent frequent flushing of tiny segments, thus preventing a long tail in the index. Default is 2mb.

    Declaration
    public string FloorSegment { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    MaxMergeAtOnce

    Maximum number of segments to be merged at a time during "normal" merging. Default is 10.

    Declaration
    public int? MaxMergeAtOnce { get; set; }
    Property Value
    Type Description
    int?
    | Edit this page View Source

    MaxMergeAtOnceExplicit

    Maximum number of segments to be merged at a time, during optimize or expungeDeletes. Default is 30.

    Declaration
    public int? MaxMergeAtOnceExplicit { get; set; }
    Property Value
    Type Description
    int?
    | Edit this page View Source

    MaxMergedSegment

    Maximum sized segment to produce during normal merging (not explicit optimize). This setting is approximate: the estimate of the merged segment size is made by summing sizes of to-be-merged segments (compensating for percent deleted docs). Default is 5gb.

    Declaration
    public string MaxMergedSegment { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    ReclaimDeletesWeight

    Controls how aggressively merges that reclaim more deletions are favored. Higher values favor selecting merges that reclaim deletions. A value of 0.0 means deletions don’t impact merge selection. Defaults to 2.0

    Declaration
    public double? ReclaimDeletesWeight { get; set; }
    Property Value
    Type Description
    double?
    | Edit this page View Source

    SegmentsPerTier

    Sets the allowed number of segments per tier. Smaller values mean more merging but fewer segments. Default is 10. Note, this value needs to be >= than the max_merge_at_once otherwise you’ll force too many merges to occur.

    Declaration
    public int? SegmentsPerTier { get; set; }
    Property Value
    Type Description
    int?

    Implements

    IMergePolicySettings

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • ExpungeDeletesAllowed
      • FloorSegment
      • MaxMergeAtOnce
      • MaxMergeAtOnceExplicit
      • MaxMergedSegment
      • ReclaimDeletesWeight
      • SegmentsPerTier
    • Implements
    • Extension Methods
    Back to top Generated by DocFX