Search Results for

    Show / Hide Table of Contents

    Class OpenIndexRequest

    Request for Open

    https://opensearch.org/docs/latest/api-reference/index-apis/open-index/

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

    Constructors

    | Edit this page View Source

    OpenIndexRequest()

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

    Declaration
    protected OpenIndexRequest()
    | Edit this page View Source

    OpenIndexRequest(Indices)

    /{index}/_open

    Declaration
    public OpenIndexRequest(Indices index)
    Parameters
    Type Name Description
    Indices index

    this parameter is required

    Properties

    | Edit this page View Source

    AllowNoIndices

    If false, the request returns an error if any wildcard expression, index alias, or _all value targets only missing or closed indexes. This behavior applies even if the request targets other open indexes.

    Declaration
    public bool? AllowNoIndices { get; set; }
    Property Value
    Type Description
    bool?
    | 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

    ExpandWildcards

    Type of index that wildcard patterns can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams. Supports comma-separated values, such as open,hidden. Valid values are: all, open, closed, hidden, none.

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

    IgnoreUnavailable

    If false, the request returns an error if it targets a missing or closed index.

    Declaration
    public bool? IgnoreUnavailable { get; set; }
    Property Value
    Type Description
    bool?
    | 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 IOpenIndexRequest Self { get; }
    Property Value
    Type Description
    IOpenIndexRequest
    | 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

    IOpenIndexRequest
    IRequest<TParameters>
    IRequest

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Constructors
      • OpenIndexRequest()
      • OpenIndexRequest(Indices)
    • Properties
      • AllowNoIndices
      • ClusterManagerTimeout
      • ExpandWildcards
      • IgnoreUnavailable
      • MasterTimeout
      • Self
      • TaskExecutionTimeout
      • Timeout
      • WaitForActiveShards
      • WaitForCompletion
    • Implements
    • Extension Methods
    Back to top Generated by DocFX