Search Results for

    Show / Hide Table of Contents

    Class AddIndexBlockDescriptor

    A request to the indices add block API

    Inheritance
    object
    RequestBase<AddIndexBlockRequestParameters>
    RequestDescriptorBase<AddIndexBlockDescriptor, AddIndexBlockRequestParameters, IAddIndexBlockRequest>
    AddIndexBlockDescriptor
    Implements
    IDescriptor
    IAddIndexBlockRequest
    IRequest<AddIndexBlockRequestParameters>
    IRequest
    Inherited Members
    RequestDescriptorBase<AddIndexBlockDescriptor, AddIndexBlockRequestParameters, IAddIndexBlockRequest>.Self
    RequestDescriptorBase<AddIndexBlockDescriptor, AddIndexBlockRequestParameters, IAddIndexBlockRequest>.Assign<TValue>(TValue, Action<IAddIndexBlockRequest, TValue>)
    RequestDescriptorBase<AddIndexBlockDescriptor, AddIndexBlockRequestParameters, IAddIndexBlockRequest>.Qs(string, object)
    RequestDescriptorBase<AddIndexBlockDescriptor, AddIndexBlockRequestParameters, IAddIndexBlockRequest>.RequestConfiguration(Func<RequestConfigurationDescriptor, IRequestConfiguration>)
    RequestDescriptorBase<AddIndexBlockDescriptor, AddIndexBlockRequestParameters, IAddIndexBlockRequest>.ErrorTrace(bool?)
    RequestDescriptorBase<AddIndexBlockDescriptor, AddIndexBlockRequestParameters, IAddIndexBlockRequest>.FilterPath(params string[])
    RequestDescriptorBase<AddIndexBlockDescriptor, AddIndexBlockRequestParameters, IAddIndexBlockRequest>.FilterPath(IEnumerable<string>)
    RequestDescriptorBase<AddIndexBlockDescriptor, AddIndexBlockRequestParameters, IAddIndexBlockRequest>.Human(bool?)
    RequestDescriptorBase<AddIndexBlockDescriptor, AddIndexBlockRequestParameters, IAddIndexBlockRequest>.Pretty(bool?)
    RequestDescriptorBase<AddIndexBlockDescriptor, AddIndexBlockRequestParameters, IAddIndexBlockRequest>.SourceQueryString(string)
    RequestBase<AddIndexBlockRequestParameters>.HttpMethod
    RequestBase<AddIndexBlockRequestParameters>.RequestState
    RequestBase<AddIndexBlockRequestParameters>.ContentType
    RequestBase<AddIndexBlockRequestParameters>.ResolveUrl(RouteValues, IConnectionSettingsValues)
    RequestBase<AddIndexBlockRequestParameters>.RequestDefaults(AddIndexBlockRequestParameters)
    RequestBase<AddIndexBlockRequestParameters>.Q<TOut>(string)
    RequestBase<AddIndexBlockRequestParameters>.Q(string, object)
    RequestBase<AddIndexBlockRequestParameters>.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 AddIndexBlockDescriptor : RequestDescriptorBase<AddIndexBlockDescriptor, AddIndexBlockRequestParameters, IAddIndexBlockRequest>, IDescriptor, IAddIndexBlockRequest, IRequest<AddIndexBlockRequestParameters>, IRequest

    Constructors

    | Edit this page View Source

    AddIndexBlockDescriptor()

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

    Declaration
    protected AddIndexBlockDescriptor()
    | Edit this page View Source

    AddIndexBlockDescriptor(Indices, IndexBlock)

    /{index}/_block/{block}

    Declaration
    public AddIndexBlockDescriptor(Indices index, IndexBlock block)
    Parameters
    Type Name Description
    Indices index

    this parameter is required

    IndexBlock block

    this parameter is required

    Methods

    | Edit this page View Source

    AllIndices()

    A shortcut into calling Index(Indices.All)

    Declaration
    public AddIndexBlockDescriptor AllIndices()
    Returns
    Type Description
    AddIndexBlockDescriptor
    | Edit this page View Source

    AllowNoIndices(bool?)

    Whether to ignore if a wildcard indexes expression resolves into no concrete indexes. (This includes _all string or when no indexes have been specified).

    Declaration
    public AddIndexBlockDescriptor AllowNoIndices(bool? allownoindices = true)
    Parameters
    Type Name Description
    bool? allownoindices
    Returns
    Type Description
    AddIndexBlockDescriptor
    | Edit this page View Source

    ClusterManagerTimeout(Time)

    Operation timeout for connection to cluster-manager node.

    Declaration
    public AddIndexBlockDescriptor ClusterManagerTimeout(Time clustermanagertimeout)
    Parameters
    Type Name Description
    Time clustermanagertimeout
    Returns
    Type Description
    AddIndexBlockDescriptor
    Remarks

    Supported by OpenSearch servers of version 2.0.0 or greater.

    | Edit this page View Source

    ExpandWildcards(ExpandWildcards?)

    Whether to expand wildcard expression to concrete indexes that are open, closed or both.

    Declaration
    public AddIndexBlockDescriptor ExpandWildcards(ExpandWildcards? expandwildcards)
    Parameters
    Type Name Description
    ExpandWildcards? expandwildcards
    Returns
    Type Description
    AddIndexBlockDescriptor
    | Edit this page View Source

    IgnoreUnavailable(bool?)

    Whether specified concrete indexes should be ignored when unavailable (missing or closed).

    Declaration
    public AddIndexBlockDescriptor IgnoreUnavailable(bool? ignoreunavailable = true)
    Parameters
    Type Name Description
    bool? ignoreunavailable
    Returns
    Type Description
    AddIndexBlockDescriptor
    | Edit this page View Source

    Index(Indices)

    A comma separated list of indexes to add a block to.

    Declaration
    public AddIndexBlockDescriptor Index(Indices index)
    Parameters
    Type Name Description
    Indices index
    Returns
    Type Description
    AddIndexBlockDescriptor
    | Edit this page View Source

    Index<TOther>()

    a shortcut into calling Index(typeof(TOther))

    Declaration
    public AddIndexBlockDescriptor Index<TOther>() where TOther : class
    Returns
    Type Description
    AddIndexBlockDescriptor
    Type Parameters
    Name Description
    TOther
    | Edit this page View Source

    MasterTimeout(Time)

    Specify timeout for connection to cluster manager.

    Declaration
    [Obsolete("Deprecated as of: 2.0.0, reason: To promote inclusive language, use `cluster_manager_timeout` instead.")]
    public AddIndexBlockDescriptor MasterTimeout(Time mastertimeout)
    Parameters
    Type Name Description
    Time mastertimeout
    Returns
    Type Description
    AddIndexBlockDescriptor
    | Edit this page View Source

    Timeout(Time)

    Explicit operation timeout.

    Declaration
    public AddIndexBlockDescriptor Timeout(Time timeout)
    Parameters
    Type Name Description
    Time timeout
    Returns
    Type Description
    AddIndexBlockDescriptor

    Implements

    IDescriptor
    IAddIndexBlockRequest
    IRequest<TParameters>
    IRequest

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Constructors
      • AddIndexBlockDescriptor()
      • AddIndexBlockDescriptor(Indices, IndexBlock)
    • Methods
      • AllIndices()
      • AllowNoIndices(bool?)
      • ClusterManagerTimeout(Time)
      • ExpandWildcards(ExpandWildcards?)
      • IgnoreUnavailable(bool?)
      • Index(Indices)
      • Index<TOther>()
      • MasterTimeout(Time)
      • Timeout(Time)
    • Implements
    • Extension Methods
    Back to top Generated by DocFX