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>
    AddAgenticMemoryDescriptor
    AddIndexBlockDescriptor
    AliasExistsDescriptor
    AnalyzeDescriptor
    ArbitraryHttpRequestDescriptorBase<TSelf, TParams, TInterface>
    BulkAliasDescriptor
    BulkDescriptor
    BulkStreamDescriptor
    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
    ChunkModelDescriptor
    CleanupRepositoryDescriptor
    ClearCacheDescriptor
    ClearScrollDescriptor
    CloneIndexDescriptor
    CloneSnapshotDescriptor
    CloseIndexDescriptor
    ClusterAllocationExplainDescriptor
    ClusterGetSettingsDescriptor
    ClusterHealthDescriptor
    ClusterPendingTasksDescriptor
    ClusterPutSettingsDescriptor
    ClusterRerouteDescriptor
    ClusterStateDescriptor
    ClusterStatsDescriptor
    ComponentTemplateExistsDescriptor
    ComposableIndexTemplateExistsDescriptor
    CountDescriptor<TDocument>
    CreateConnectorDescriptor
    CreateControllerDescriptor
    CreateDescriptor<TDocument>
    CreateIndexDescriptor
    CreateMemoryContainerDescriptor
    CreateMemoryContainerSessionDescriptor
    CreateMemoryDescriptor
    CreateMessageDescriptor
    CreateModelMetaDescriptor
    CreatePitDescriptor
    CreateRepositoryDescriptor
    DeleteAgentDescriptor
    DeleteAgenticMemoryDescriptor
    DeleteAgenticMemoryQueryDescriptor
    DeleteAliasDescriptor
    DeleteAllPitsDescriptor
    DeleteByQueryDescriptor<TDocument>
    DeleteByQueryRethrottleDescriptor
    DeleteComponentTemplateDescriptor
    DeleteComposableIndexTemplateDescriptor
    DeleteConnectorDescriptor
    DeleteControllerDescriptor
    DeleteDanglingIndexDescriptor
    DeleteDescriptor<TDocument>
    DeleteExperimentsDescriptor
    DeleteIndexDescriptor
    DeleteIndexTemplateDescriptor
    DeleteJudgmentsDescriptor
    DeleteMemoryContainerDescriptor
    DeleteMemoryDescriptor
    DeleteModelDescriptor
    DeleteModelGroupDescriptor
    DeletePipelineDescriptor
    DeletePitDescriptor
    DeleteQuerySetsDescriptor
    DeleteRepositoryDescriptor
    DeleteScheduledExperimentsDescriptor
    DeleteScriptDescriptor
    DeleteSearchConfigurationsDescriptor
    DeleteSearchPipelineDescriptor
    DeleteSnapshotDescriptor
    DeleteTaskDescriptor
    DeleteVotingConfigExclusionsDescriptor
    DeployModelDescriptor
    DocumentExistsDescriptor<TDocument>
    ExecuteAgentDescriptor
    ExecuteAlgorithmDescriptor
    ExecutePainlessScriptDescriptor
    ExecuteToolDescriptor
    ExperimentsSearchDescriptor
    ExplainDescriptor<TDocument>
    FieldCapabilitiesDescriptor
    FlushDescriptor
    ForceMergeDescriptor
    GetAgentDescriptor
    GetAgenticMemoryDescriptor
    GetAliasDescriptor
    GetAllMemoriesDescriptor
    GetAllMessagesDescriptor
    GetAllPitsDescriptor
    GetAllToolsDescriptor
    GetComponentTemplateDescriptor
    GetComposableIndexTemplateDescriptor
    GetConnectorDescriptor
    GetControllerDescriptor
    GetDescriptor<TDocument>
    GetExperimentsDescriptor
    GetFieldMappingDescriptor<TDocument>
    GetIndexDescriptor
    GetIndexSettingsDescriptor
    GetIndexTemplateDescriptor
    GetJudgmentsDescriptor
    GetMLTaskDescriptor
    GetMappingDescriptor<TDocument>
    GetMemoryContainerDescriptor
    GetMemoryDescriptor
    GetMessageDescriptor
    GetMessageTracesDescriptor
    GetModelDescriptor
    GetModelGroupDescriptor
    GetNodeStatsDescriptor
    GetPipelineDescriptor
    GetProfileDescriptor
    GetProfileModelsDescriptor
    GetProfileTasksDescriptor
    GetQuerySetsDescriptor
    GetRepositoryDescriptor
    GetScheduledExperimentsDescriptor
    GetScriptDescriptor
    GetSearchConfigurationsDescriptor
    GetSearchPipelineDescriptor
    GetSearchRelevanceStatsDescriptor
    GetSnapshotDescriptor
    GetStatsDescriptor
    GetTaskDescriptor
    GetToolDescriptor
    GrokProcessorPatternsDescriptor
    ImportDanglingIndexDescriptor
    IndexDescriptor<TDocument>
    IndexExistsDescriptor
    IndexTemplateExistsDescriptor
    IndicesStatsDescriptor
    JudgmentsSearchDescriptor
    ListDanglingIndicesDescriptor
    ListTasksDescriptor
    LoadModelDescriptor
    MultiGetDescriptor
    MultiSearchDescriptor
    MultiSearchTemplateDescriptor
    MultiTermVectorsDescriptor
    NodesHotThreadsDescriptor
    NodesInfoDescriptor
    NodesStatsDescriptor
    NodesUsageDescriptor
    OpenIndexDescriptor
    PingDescriptor
    PostQuerySetsDescriptor
    PostScheduledExperimentsDescriptor
    PostVotingConfigExclusionsDescriptor
    PredictDescriptor
    PredictModelDescriptor
    PutAliasDescriptor
    PutComponentTemplateDescriptor
    PutComposableIndexTemplateDescriptor
    PutExperimentsDescriptor
    PutIndexTemplateDescriptor
    PutJudgmentsDescriptor
    PutMappingDescriptor<TDocument>
    PutPipelineDescriptor
    PutQuerySetsDescriptor
    PutScriptDescriptor
    PutSearchConfigurationsDescriptor
    PutSearchPipelineDescriptor
    QuerySetsSearchDescriptor
    RefreshDescriptor
    RegisterAgentsDescriptor
    RegisterModelDescriptor
    RegisterModelGroupDescriptor
    RegisterModelMetaDescriptor
    ReindexOnServerDescriptor
    ReindexRethrottleDescriptor
    ReloadSecureSettingsDescriptor
    RemoteInfoDescriptor
    RenderSearchTemplateDescriptor
    ResolveIndexDescriptor
    RestoreDescriptor
    RolloverIndexDescriptor
    RootNodeInfoDescriptor
    ScrollDescriptor<TInferDocument>
    SearchAgenticMemoryDescriptor
    SearchAgentsDescriptor
    SearchConfigurationsSearchDescriptor
    SearchConnectorsDescriptor
    SearchDescriptor<TInferDocument>
    SearchMemoryContainerDescriptor
    SearchMemoryDescriptor
    SearchMessageDescriptor
    SearchModelGroupDescriptor
    SearchModelsDescriptor
    SearchShardsDescriptor<TDocument>
    SearchTasksDescriptor
    SearchTemplateDescriptor<TDocument>
    ShrinkIndexDescriptor
    SimulatePipelineDescriptor
    SnapshotDescriptor
    SnapshotStatusDescriptor
    SourceDescriptor<TDocument>
    SourceExistsDescriptor<TDocument>
    SplitIndexDescriptor
    TermVectorsDescriptor<TDocument>
    TrainDescriptor
    TrainPredictDescriptor
    TypeExistsDescriptor
    UndeployModelDescriptor
    UnloadModelDescriptor
    UpdateAgenticMemoryDescriptor
    UpdateByQueryDescriptor<TDocument>
    UpdateByQueryRethrottleDescriptor
    UpdateConnectorDescriptor
    UpdateControllerDescriptor
    UpdateDescriptor<TDocument, TPartialDocument>
    UpdateIndexSettingsDescriptor
    UpdateMemoryContainerDescriptor
    UpdateMemoryDescriptor
    UpdateMessageDescriptor
    UpdateModelDescriptor
    UpdateModelGroupDescriptor
    UploadChunkDescriptor
    UploadModelDescriptor
    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)
    RequestBase<TParameters>.SetAcceptHeader(Enum)
    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.

    <p>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</p>
    
    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.

    <p>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</p>
    
    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
    Back to top Generated by DocFX