Search Results for

    Show / Hide Table of Contents

    Class RequestDescriptorBase<TDescriptor, TParameters, TInterface>

    Base class for all Request descriptor types

    Inheritance
    object
    RequestBase<TParameters>
    RequestDescriptorBase<TDescriptor, TParameters, TInterface>
    AddIndexBlockDescriptor
    AliasExistsDescriptor
    AnalyzeDescriptor
    ArbitraryHttpRequestDescriptorBase<TSelf, TParams, TInterface>
    BulkAliasDescriptor
    BulkDescriptor
    CancelTasksDescriptor
    CatAliasesDescriptor
    CatAllPitSegmentsDescriptor
    CatAllocationDescriptor
    CatClusterManagerDescriptor
    CatCountDescriptor
    CatFielddataDescriptor
    CatHealthDescriptor
    CatHelpDescriptor
    CatIndicesDescriptor
    CatMasterDescriptor
    CatNodeAttributesDescriptor
    CatNodesDescriptor
    CatPendingTasksDescriptor
    CatPitSegmentsDescriptor
    CatPluginsDescriptor
    CatRecoveryDescriptor
    CatRepositoriesDescriptor
    CatSegmentReplicationDescriptor
    CatSegmentsDescriptor
    CatShardsDescriptor
    CatSnapshotsDescriptor
    CatTasksDescriptor
    CatTemplatesDescriptor
    CatThreadPoolDescriptor
    CleanupRepositoryDescriptor
    ClearCacheDescriptor
    ClearScrollDescriptor
    CloneIndexDescriptor
    CloneSnapshotDescriptor
    CloseIndexDescriptor
    ClusterAllocationExplainDescriptor
    ClusterGetSettingsDescriptor
    ClusterHealthDescriptor
    ClusterPendingTasksDescriptor
    ClusterPutSettingsDescriptor
    ClusterRerouteDescriptor
    ClusterStateDescriptor
    ClusterStatsDescriptor
    ComponentTemplateExistsDescriptor
    ComposableIndexTemplateExistsDescriptor
    CountDescriptor<TDocument>
    CreateDescriptor<TDocument>
    CreateIndexDescriptor
    CreatePitDescriptor
    CreateRepositoryDescriptor
    DeleteAliasDescriptor
    DeleteAllPitsDescriptor
    DeleteByQueryDescriptor<TDocument>
    DeleteByQueryRethrottleDescriptor
    DeleteComponentTemplateDescriptor
    DeleteComposableIndexTemplateDescriptor
    DeleteDanglingIndexDescriptor
    DeleteDescriptor<TDocument>
    DeleteIndexDescriptor
    DeleteIndexTemplateDescriptor
    DeletePipelineDescriptor
    DeletePitDescriptor
    DeleteRepositoryDescriptor
    DeleteScriptDescriptor
    DeleteSnapshotDescriptor
    DeleteVotingConfigExclusionsDescriptor
    DocumentExistsDescriptor<TDocument>
    ExecutePainlessScriptDescriptor
    ExplainDescriptor<TDocument>
    FieldCapabilitiesDescriptor
    FlushDescriptor
    ForceMergeDescriptor
    GetAliasDescriptor
    GetAllPitsDescriptor
    GetComponentTemplateDescriptor
    GetComposableIndexTemplateDescriptor
    GetDescriptor<TDocument>
    GetFieldMappingDescriptor<TDocument>
    GetIndexDescriptor
    GetIndexSettingsDescriptor
    GetIndexTemplateDescriptor
    GetMappingDescriptor<TDocument>
    GetPipelineDescriptor
    GetRepositoryDescriptor
    GetScriptDescriptor
    GetSnapshotDescriptor
    GetTaskDescriptor
    GrokProcessorPatternsDescriptor
    ImportDanglingIndexDescriptor
    IndexDescriptor<TDocument>
    IndexExistsDescriptor
    IndexTemplateExistsDescriptor
    IndicesStatsDescriptor
    ListDanglingIndicesDescriptor
    ListTasksDescriptor
    MultiGetDescriptor
    MultiSearchDescriptor
    MultiSearchTemplateDescriptor
    MultiTermVectorsDescriptor
    NodesHotThreadsDescriptor
    NodesInfoDescriptor
    NodesStatsDescriptor
    NodesUsageDescriptor
    OpenIndexDescriptor
    PingDescriptor
    PostVotingConfigExclusionsDescriptor
    PutAliasDescriptor
    PutComponentTemplateDescriptor
    PutComposableIndexTemplateDescriptor
    PutIndexTemplateDescriptor
    PutMappingDescriptor<TDocument>
    PutPipelineDescriptor
    PutScriptDescriptor
    RefreshDescriptor
    ReindexOnServerDescriptor
    ReindexRethrottleDescriptor
    ReloadSecureSettingsDescriptor
    RemoteInfoDescriptor
    RenderSearchTemplateDescriptor
    ResolveIndexDescriptor
    RestoreDescriptor
    RolloverIndexDescriptor
    RootNodeInfoDescriptor
    ScrollDescriptor<TInferDocument>
    SearchDescriptor<TInferDocument>
    SearchShardsDescriptor<TDocument>
    SearchTemplateDescriptor<TDocument>
    ShrinkIndexDescriptor
    SimulatePipelineDescriptor
    SnapshotDescriptor
    SnapshotStatusDescriptor
    SourceDescriptor<TDocument>
    SourceExistsDescriptor<TDocument>
    SplitIndexDescriptor
    TermVectorsDescriptor<TDocument>
    TypeExistsDescriptor
    UpdateByQueryDescriptor<TDocument>
    UpdateByQueryRethrottleDescriptor
    UpdateDescriptor<TDocument, TPartialDocument>
    UpdateIndexSettingsDescriptor
    ValidateQueryDescriptor<TDocument>
    VerifyRepositoryDescriptor
    Implements
    IRequest<TParameters>
    IRequest
    IDescriptor
    Inherited Members
    RequestBase<TParameters>.HttpMethod
    RequestBase<TParameters>.RequestState
    RequestBase<TParameters>.ContentType
    RequestBase<TParameters>.ResolveUrl(RouteValues, IConnectionSettingsValues)
    RequestBase<TParameters>.RequestDefaults(TParameters)
    RequestBase<TParameters>.Q<TOut>(string)
    RequestBase<TParameters>.Q(string, object)
    RequestBase<TParameters>.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 abstract class RequestDescriptorBase<TDescriptor, TParameters, TInterface> : RequestBase<TParameters>, IRequest<TParameters>, IRequest, IDescriptor where TDescriptor : RequestDescriptorBase<TDescriptor, TParameters, TInterface>, TInterface where TParameters : RequestParameters<TParameters>, new()
    Type Parameters
    Name Description
    TDescriptor
    TParameters
    TInterface

    Constructors

    | Edit this page View Source

    RequestDescriptorBase()

    Declaration
    protected RequestDescriptorBase()
    | Edit this page View Source

    RequestDescriptorBase(Func<RouteValues, RouteValues>)

    Declaration
    protected RequestDescriptorBase(Func<RouteValues, RouteValues> pathSelector)
    Parameters
    Type Name Description
    Func<RouteValues, RouteValues> pathSelector

    Properties

    | Edit this page View Source

    Self

    Declaration
    protected TInterface Self { get; }
    Property Value
    Type Description
    TInterface

    Methods

    | Edit this page View Source

    Assign<TValue>(TValue, Action<TInterface, TValue>)

    Declaration
    protected TDescriptor Assign<TValue>(TValue value, Action<TInterface, TValue> assign)
    Parameters
    Type Name Description
    TValue value
    Action<TInterface, TValue> assign
    Returns
    Type Description
    TDescriptor
    Type Parameters
    Name Description
    TValue
    | Edit this page View Source

    ErrorTrace(bool?)

    Include the stack trace of returned errors.

    Declaration
    public TDescriptor ErrorTrace(bool? errortrace = true)
    Parameters
    Type Name Description
    bool? errortrace
    Returns
    Type Description
    TDescriptor
    | Edit this page View Source

    FilterPath(IEnumerable<string>)

    A comma-separated list of filters used to reduce the response.

    Use of response filtering can result in a response from OpenSearch that cannot be correctly deserialized to the respective response type for the request. In such situations, use the low level client to issue the request and handle response deserialization

    Declaration
    public TDescriptor FilterPath(IEnumerable<string> filterpath)
    Parameters
    Type Name Description
    IEnumerable<string> filterpath
    Returns
    Type Description
    TDescriptor
    | Edit this page View Source

    FilterPath(params string[])

    A comma-separated list of filters used to reduce the response.

    Use of response filtering can result in a response from OpenSearch that cannot be correctly deserialized to the respective response type for the request. In such situations, use the low level client to issue the request and handle response deserialization

    Declaration
    public TDescriptor FilterPath(params string[] filterpath)
    Parameters
    Type Name Description
    string[] filterpath
    Returns
    Type Description
    TDescriptor
    | Edit this page View Source

    Human(bool?)

    Return human readable values for statistics.

    Declaration
    public TDescriptor Human(bool? human = true)
    Parameters
    Type Name Description
    bool? human
    Returns
    Type Description
    TDescriptor
    | Edit this page View Source

    Pretty(bool?)

    Pretty format the returned JSON response.

    Declaration
    public TDescriptor Pretty(bool? pretty = true)
    Parameters
    Type Name Description
    bool? pretty
    Returns
    Type Description
    TDescriptor
    | Edit this page View Source

    Qs(string, object)

    Declaration
    protected TDescriptor Qs(string name, object value)
    Parameters
    Type Name Description
    string name
    object value
    Returns
    Type Description
    TDescriptor
    | Edit this page View Source

    RequestConfiguration(Func<RequestConfigurationDescriptor, IRequestConfiguration>)

    Specify settings for this request alone, handy if you need a custom timeout or want to bypass sniffing, retries

    Declaration
    public TDescriptor RequestConfiguration(Func<RequestConfigurationDescriptor, IRequestConfiguration> configurationSelector)
    Parameters
    Type Name Description
    Func<RequestConfigurationDescriptor, IRequestConfiguration> configurationSelector
    Returns
    Type Description
    TDescriptor
    | Edit this page View Source

    SourceQueryString(string)

    The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.

    Declaration
    public TDescriptor SourceQueryString(string sourcequerystring)
    Parameters
    Type Name Description
    string sourcequerystring
    Returns
    Type Description
    TDescriptor

    Implements

    IRequest<TParameters>
    IRequest
    IDescriptor

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Constructors
      • RequestDescriptorBase()
      • RequestDescriptorBase(Func<RouteValues, RouteValues>)
    • Properties
      • Self
    • Methods
      • Assign<TValue>(TValue, Action<TInterface, TValue>)
      • ErrorTrace(bool?)
      • FilterPath(IEnumerable<string>)
      • FilterPath(params string[])
      • Human(bool?)
      • Pretty(bool?)
      • Qs(string, object)
      • RequestConfiguration(Func<RequestConfigurationDescriptor, IRequestConfiguration>)
      • SourceQueryString(string)
    • Implements
    • Extension Methods
    Back to top Generated by DocFX