Search Results for

    Show / Hide Table of Contents

    Interface IShardAllocationSettings

    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public interface IShardAllocationSettings

    Properties

    | Edit this page View Source

    AllocationEnable

    Enable or disable allocation for specific kinds of shards, defaults to all

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

    NodeConcurrentRecoveries

    How many concurrent shard recoveries are allowed to happen on a node. Defaults to 2.

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

    NodeInitialPrimariesRecoveries

    While the recovery of replicas happens over the network, the recovery of an unassigned primary after node restart uses data from the local disk. These should be fast so more initial primary recoveries can happen in parallel on the same node. Defaults to 4.

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

    SameShardHost

    Allows to perform a check to prevent allocation of multiple instances of the same shard on a single host, based on host name and host address. Defaults to false, meaning that no check is performed by default. This setting only applies if multiple nodes are started on the same machine.

    Declaration
    bool? SameShardHost { get; set; }
    Property Value
    Type Description
    bool?

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • AllocationEnable
      • NodeConcurrentRecoveries
      • NodeInitialPrimariesRecoveries
      • SameShardHost
    • Extension Methods
    Back to top Generated by DocFX