Class LowLevelInsightsNamespace
Insights APIs.
Not intended to be instantiated directly. Use the Insights property on IOpenSearchLowLevelClient.
Inherited Members
Namespace: OpenSearch.Net.Specification.InsightsApi
Assembly: OpenSearch.Net.dll
Syntax
public class LowLevelInsightsNamespace : NamespacedClientProxy
Methods
| Edit this page View SourceTopQueriesAsync<TResponse>(TopQueriesRequestParameters, CancellationToken)
GET on /_insights/top_queries
Declaration
public Task<TResponse> TopQueriesAsync<TResponse>(TopQueriesRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IOpenSearchResponse, new()
Parameters
Type | Name | Description |
---|---|---|
TopQueriesRequestParameters | requestParameters | Request specific configuration such as querystring parameters & request specific connection settings. |
CancellationToken | ctx |
Returns
Type | Description |
---|---|
Task<TResponse> |
Type Parameters
Name | Description |
---|---|
TResponse |
TopQueries<TResponse>(TopQueriesRequestParameters)
GET on /_insights/top_queries
Declaration
public TResponse TopQueries<TResponse>(TopQueriesRequestParameters requestParameters = null) where TResponse : class, IOpenSearchResponse, new()
Parameters
Type | Name | Description |
---|---|---|
TopQueriesRequestParameters | requestParameters | Request specific configuration such as querystring parameters & request specific connection settings. |
Returns
Type | Description |
---|---|
TResponse |
Type Parameters
Name | Description |
---|---|
TResponse |