Search Results for

    Show / Hide Table of Contents

    Class SplitIndexRequest

    A request to split an existing index into a new index, where each original primary shard is split into two or more primary shards in the new index.

    Inheritance
    object
    RequestBase<SplitIndexRequestParameters>
    PlainRequestBase<SplitIndexRequestParameters>
    SplitIndexRequest
    Implements
    ISplitIndexRequest
    IRequest<SplitIndexRequestParameters>
    IRequest
    Inherited Members
    PlainRequestBase<SplitIndexRequestParameters>.RequestConfiguration
    PlainRequestBase<SplitIndexRequestParameters>.ErrorTrace
    PlainRequestBase<SplitIndexRequestParameters>.FilterPath
    PlainRequestBase<SplitIndexRequestParameters>.Human
    PlainRequestBase<SplitIndexRequestParameters>.Pretty
    PlainRequestBase<SplitIndexRequestParameters>.SourceQueryString
    RequestBase<SplitIndexRequestParameters>.HttpMethod
    RequestBase<SplitIndexRequestParameters>.RequestState
    RequestBase<SplitIndexRequestParameters>.ContentType
    RequestBase<SplitIndexRequestParameters>.ResolveUrl(RouteValues, IConnectionSettingsValues)
    RequestBase<SplitIndexRequestParameters>.RequestDefaults(SplitIndexRequestParameters)
    RequestBase<SplitIndexRequestParameters>.Q<TOut>(string)
    RequestBase<SplitIndexRequestParameters>.Q(string, object)
    RequestBase<SplitIndexRequestParameters>.SetAcceptHeader(string)
    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 SplitIndexRequest : PlainRequestBase<SplitIndexRequestParameters>, ISplitIndexRequest, IRequest<SplitIndexRequestParameters>, IRequest

    Constructors

    | Edit this page View Source

    SplitIndexRequest()

    Used for serialization purposes, making sure we have a parameterless constructor

    Declaration
    protected SplitIndexRequest()
    | Edit this page View Source

    SplitIndexRequest(IndexName, IndexName)

    /{index}/_split/{target}

    Declaration
    public SplitIndexRequest(IndexName index, IndexName target)
    Parameters
    Type Name Description
    IndexName index

    this parameter is required

    IndexName target

    this parameter is required

    Properties

    | Edit this page View Source

    Aliases

    The aliases for the target index

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

    ClusterManagerTimeout

    Operation timeout for connection to cluster-manager node.

    Declaration
    public Time ClusterManagerTimeout { get; set; }
    Property Value
    Type Description
    Time
    Remarks

    Supported by OpenSearch servers of version 2.0.0 or greater.

    | Edit this page View Source

    MasterTimeout

    Period to wait for a connection to the cluster-manager node. If no response is received before the timeout expires, the request fails and returns an error.

    Declaration
    [Obsolete("Deprecated as of: 2.0.0, reason: To promote inclusive language, use `cluster_manager_timeout` instead.")]
    public Time MasterTimeout { get; set; }
    Property Value
    Type Description
    Time
    | Edit this page View Source

    Self

    Declaration
    protected ISplitIndexRequest Self { get; }
    Property Value
    Type Description
    ISplitIndexRequest
    | Edit this page View Source

    Settings

    The settings for the target index

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

    TaskExecutionTimeout

    Explicit task execution timeout, only useful when wait_for_completion is false, defaults to 1h.

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

    Timeout

    Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.

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

    WaitForActiveShards

    The number of shard copies that must be active before proceeding with the operation. Set to all or any positive integer up to the total number of shards in the index (number_of_replicas+1).

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

    WaitForCompletion

    Should this request wait until the operation has completed before returning.

    Declaration
    public bool? WaitForCompletion { get; set; }
    Property Value
    Type Description
    bool?
    Remarks

    Supported by OpenSearch servers of version 2.7.0 or greater.

    Implements

    ISplitIndexRequest
    IRequest<TParameters>
    IRequest

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Constructors
      • SplitIndexRequest()
      • SplitIndexRequest(IndexName, IndexName)
    • Properties
      • Aliases
      • ClusterManagerTimeout
      • MasterTimeout
      • Self
      • Settings
      • TaskExecutionTimeout
      • Timeout
      • WaitForActiveShards
      • WaitForCompletion
    • Implements
    • Extension Methods
    Back to top Generated by DocFX