Interface IElasticLowLevelClient
- Namespace
- Elasticsearch.Net
- Assembly
- Elasticsearch.Net.dll
Raw operations with elasticsearch
public interface IElasticLowLevelClient
Methods
BulkAsync<TResponse>(PostData, BulkRequestParameters, CancellationToken)
POST on /_bulk
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html
Task<TResponse> BulkAsync<TResponse>(PostData body, BulkRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe operation definition and data (action-data pairs), separated by newlines
requestParameters
BulkRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
BulkAsync<TResponse>(string, PostData, BulkRequestParameters, CancellationToken)
POST on /{index}/_bulk
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html
Task<TResponse> BulkAsync<TResponse>(string index, PostData body, BulkRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringDefault index for items which don't provide one
body
PostDataThe operation definition and data (action-data pairs), separated by newlines
requestParameters
BulkRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
BulkAsync<TResponse>(string, string, PostData, BulkRequestParameters, CancellationToken)
POST on /{index}/{type}/_bulk
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html
Task<TResponse> BulkAsync<TResponse>(string index, string type, PostData body, BulkRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringDefault index for items which don't provide one
type
stringDefault document type for items which don't provide one
body
PostDataThe operation definition and data (action-data pairs), separated by newlines
requestParameters
BulkRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
BulkPutAsync<TResponse>(PostData, BulkRequestParameters, CancellationToken)
PUT on /_bulk
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html
Task<TResponse> BulkPutAsync<TResponse>(PostData body, BulkRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe operation definition and data (action-data pairs), separated by newlines
requestParameters
BulkRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
BulkPutAsync<TResponse>(string, PostData, BulkRequestParameters, CancellationToken)
PUT on /{index}/_bulk
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html
Task<TResponse> BulkPutAsync<TResponse>(string index, PostData body, BulkRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringDefault index for items which don't provide one
body
PostDataThe operation definition and data (action-data pairs), separated by newlines
requestParameters
BulkRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
BulkPutAsync<TResponse>(string, string, PostData, BulkRequestParameters, CancellationToken)
PUT on /{index}/{type}/_bulk
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html
Task<TResponse> BulkPutAsync<TResponse>(string index, string type, PostData body, BulkRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringDefault index for items which don't provide one
type
stringDefault document type for items which don't provide one
body
PostDataThe operation definition and data (action-data pairs), separated by newlines
requestParameters
BulkRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
BulkPut<TResponse>(PostData, BulkRequestParameters)
PUT on /_bulk
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html
TResponse BulkPut<TResponse>(PostData body, BulkRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe operation definition and data (action-data pairs), separated by newlines
requestParameters
BulkRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
BulkPut<TResponse>(string, PostData, BulkRequestParameters)
PUT on /{index}/_bulk
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html
TResponse BulkPut<TResponse>(string index, PostData body, BulkRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringDefault index for items which don't provide one
body
PostDataThe operation definition and data (action-data pairs), separated by newlines
requestParameters
BulkRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
BulkPut<TResponse>(string, string, PostData, BulkRequestParameters)
PUT on /{index}/{type}/_bulk
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html
TResponse BulkPut<TResponse>(string index, string type, PostData body, BulkRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringDefault index for items which don't provide one
type
stringDefault document type for items which don't provide one
body
PostDataThe operation definition and data (action-data pairs), separated by newlines
requestParameters
BulkRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
Bulk<TResponse>(PostData, BulkRequestParameters)
POST on /_bulk
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html
TResponse Bulk<TResponse>(PostData body, BulkRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe operation definition and data (action-data pairs), separated by newlines
requestParameters
BulkRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
Bulk<TResponse>(string, PostData, BulkRequestParameters)
POST on /{index}/_bulk
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html
TResponse Bulk<TResponse>(string index, PostData body, BulkRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringDefault index for items which don't provide one
body
PostDataThe operation definition and data (action-data pairs), separated by newlines
requestParameters
BulkRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
Bulk<TResponse>(string, string, PostData, BulkRequestParameters)
POST on /{index}/{type}/_bulk
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html
TResponse Bulk<TResponse>(string index, string type, PostData body, BulkRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringDefault index for items which don't provide one
type
stringDefault document type for items which don't provide one
body
PostDataThe operation definition and data (action-data pairs), separated by newlines
requestParameters
BulkRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CatAliasesAsync<TResponse>(CatAliasesRequestParameters, CancellationToken)
GET on /_cat/aliases
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html
Task<TResponse> CatAliasesAsync<TResponse>(CatAliasesRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatAliasesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CatAliasesAsync<TResponse>(string, CatAliasesRequestParameters, CancellationToken)
GET on /_cat/aliases/{name}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html
Task<TResponse> CatAliasesAsync<TResponse>(string name, CatAliasesRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringA comma-separated list of alias names to return
requestParameters
CatAliasesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CatAliases<TResponse>(CatAliasesRequestParameters)
GET on /_cat/aliases
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html
TResponse CatAliases<TResponse>(CatAliasesRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatAliasesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CatAliases<TResponse>(string, CatAliasesRequestParameters)
GET on /_cat/aliases/{name}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html
TResponse CatAliases<TResponse>(string name, CatAliasesRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringA comma-separated list of alias names to return
requestParameters
CatAliasesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CatAllocationAsync<TResponse>(CatAllocationRequestParameters, CancellationToken)
GET on /_cat/allocation
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-allocation.html
Task<TResponse> CatAllocationAsync<TResponse>(CatAllocationRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatAllocationRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CatAllocationAsync<TResponse>(string, CatAllocationRequestParameters, CancellationToken)
GET on /_cat/allocation/{node_id}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-allocation.html
Task<TResponse> CatAllocationAsync<TResponse>(string node_id, CatAllocationRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
node_id
stringA comma-separated list of node IDs or names to limit the returned information
requestParameters
CatAllocationRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CatAllocation<TResponse>(CatAllocationRequestParameters)
GET on /_cat/allocation
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-allocation.html
TResponse CatAllocation<TResponse>(CatAllocationRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatAllocationRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CatAllocation<TResponse>(string, CatAllocationRequestParameters)
GET on /_cat/allocation/{node_id}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-allocation.html
TResponse CatAllocation<TResponse>(string node_id, CatAllocationRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
node_id
stringA comma-separated list of node IDs or names to limit the returned information
requestParameters
CatAllocationRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CatCountAsync<TResponse>(CatCountRequestParameters, CancellationToken)
GET on /_cat/count
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html
Task<TResponse> CatCountAsync<TResponse>(CatCountRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatCountRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CatCountAsync<TResponse>(string, CatCountRequestParameters, CancellationToken)
GET on /_cat/count/{index}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html
Task<TResponse> CatCountAsync<TResponse>(string index, CatCountRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to limit the returned information
requestParameters
CatCountRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CatCount<TResponse>(CatCountRequestParameters)
GET on /_cat/count
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html
TResponse CatCount<TResponse>(CatCountRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatCountRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CatCount<TResponse>(string, CatCountRequestParameters)
GET on /_cat/count/{index}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html
TResponse CatCount<TResponse>(string index, CatCountRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to limit the returned information
requestParameters
CatCountRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CatFielddataAsync<TResponse>(CatFielddataRequestParameters, CancellationToken)
GET on /_cat/fielddata
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-fielddata.html
Task<TResponse> CatFielddataAsync<TResponse>(CatFielddataRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatFielddataRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CatFielddataAsync<TResponse>(string, CatFielddataRequestParameters, CancellationToken)
GET on /_cat/fielddata/{fields}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-fielddata.html
Task<TResponse> CatFielddataAsync<TResponse>(string fields, CatFielddataRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
fields
stringA comma-separated list of fields to return the fielddata size
requestParameters
CatFielddataRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CatFielddata<TResponse>(CatFielddataRequestParameters)
GET on /_cat/fielddata
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-fielddata.html
TResponse CatFielddata<TResponse>(CatFielddataRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatFielddataRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CatFielddata<TResponse>(string, CatFielddataRequestParameters)
GET on /_cat/fielddata/{fields}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-fielddata.html
TResponse CatFielddata<TResponse>(string fields, CatFielddataRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
fields
stringA comma-separated list of fields to return the fielddata size
requestParameters
CatFielddataRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CatHealthAsync<TResponse>(CatHealthRequestParameters, CancellationToken)
GET on /_cat/health
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-health.html
Task<TResponse> CatHealthAsync<TResponse>(CatHealthRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatHealthRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CatHealth<TResponse>(CatHealthRequestParameters)
GET on /_cat/health
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-health.html
TResponse CatHealth<TResponse>(CatHealthRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatHealthRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CatHelpAsync<TResponse>(CatHelpRequestParameters, CancellationToken)
GET on /_cat
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat.html
Task<TResponse> CatHelpAsync<TResponse>(CatHelpRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatHelpRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CatHelp<TResponse>(CatHelpRequestParameters)
GET on /_cat
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat.html
TResponse CatHelp<TResponse>(CatHelpRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatHelpRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CatIndicesAsync<TResponse>(CatIndicesRequestParameters, CancellationToken)
GET on /_cat/indices
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html
Task<TResponse> CatIndicesAsync<TResponse>(CatIndicesRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatIndicesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CatIndicesAsync<TResponse>(string, CatIndicesRequestParameters, CancellationToken)
GET on /_cat/indices/{index}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html
Task<TResponse> CatIndicesAsync<TResponse>(string index, CatIndicesRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to limit the returned information
requestParameters
CatIndicesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CatIndices<TResponse>(CatIndicesRequestParameters)
GET on /_cat/indices
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html
TResponse CatIndices<TResponse>(CatIndicesRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatIndicesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CatIndices<TResponse>(string, CatIndicesRequestParameters)
GET on /_cat/indices/{index}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html
TResponse CatIndices<TResponse>(string index, CatIndicesRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to limit the returned information
requestParameters
CatIndicesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CatMasterAsync<TResponse>(CatMasterRequestParameters, CancellationToken)
GET on /_cat/master
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-master.html
Task<TResponse> CatMasterAsync<TResponse>(CatMasterRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatMasterRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CatMaster<TResponse>(CatMasterRequestParameters)
GET on /_cat/master
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-master.html
TResponse CatMaster<TResponse>(CatMasterRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatMasterRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CatNodeattrsAsync<TResponse>(CatNodeAttributesRequestParameters, CancellationToken)
GET on /_cat/nodeattrs
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodeattrs.html
Task<TResponse> CatNodeattrsAsync<TResponse>(CatNodeAttributesRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatNodeAttributesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CatNodeattrs<TResponse>(CatNodeAttributesRequestParameters)
GET on /_cat/nodeattrs
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodeattrs.html
TResponse CatNodeattrs<TResponse>(CatNodeAttributesRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatNodeAttributesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CatNodesAsync<TResponse>(CatNodesRequestParameters, CancellationToken)
GET on /_cat/nodes
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodes.html
Task<TResponse> CatNodesAsync<TResponse>(CatNodesRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatNodesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CatNodes<TResponse>(CatNodesRequestParameters)
GET on /_cat/nodes
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodes.html
TResponse CatNodes<TResponse>(CatNodesRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatNodesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CatPendingTasksAsync<TResponse>(CatPendingTasksRequestParameters, CancellationToken)
GET on /_cat/pending_tasks
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-pending-tasks.html
Task<TResponse> CatPendingTasksAsync<TResponse>(CatPendingTasksRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatPendingTasksRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CatPendingTasks<TResponse>(CatPendingTasksRequestParameters)
GET on /_cat/pending_tasks
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-pending-tasks.html
TResponse CatPendingTasks<TResponse>(CatPendingTasksRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatPendingTasksRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CatPluginsAsync<TResponse>(CatPluginsRequestParameters, CancellationToken)
GET on /_cat/plugins
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-plugins.html
Task<TResponse> CatPluginsAsync<TResponse>(CatPluginsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatPluginsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CatPlugins<TResponse>(CatPluginsRequestParameters)
GET on /_cat/plugins
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-plugins.html
TResponse CatPlugins<TResponse>(CatPluginsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatPluginsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CatRecoveryAsync<TResponse>(CatRecoveryRequestParameters, CancellationToken)
GET on /_cat/recovery
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-recovery.html
Task<TResponse> CatRecoveryAsync<TResponse>(CatRecoveryRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatRecoveryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CatRecoveryAsync<TResponse>(string, CatRecoveryRequestParameters, CancellationToken)
GET on /_cat/recovery/{index}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-recovery.html
Task<TResponse> CatRecoveryAsync<TResponse>(string index, CatRecoveryRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to limit the returned information
requestParameters
CatRecoveryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CatRecovery<TResponse>(CatRecoveryRequestParameters)
GET on /_cat/recovery
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-recovery.html
TResponse CatRecovery<TResponse>(CatRecoveryRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatRecoveryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CatRecovery<TResponse>(string, CatRecoveryRequestParameters)
GET on /_cat/recovery/{index}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-recovery.html
TResponse CatRecovery<TResponse>(string index, CatRecoveryRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to limit the returned information
requestParameters
CatRecoveryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CatRepositoriesAsync<TResponse>(CatRepositoriesRequestParameters, CancellationToken)
GET on /_cat/repositories
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-repositories.html
Task<TResponse> CatRepositoriesAsync<TResponse>(CatRepositoriesRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatRepositoriesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CatRepositories<TResponse>(CatRepositoriesRequestParameters)
GET on /_cat/repositories
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-repositories.html
TResponse CatRepositories<TResponse>(CatRepositoriesRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatRepositoriesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CatSegmentsAsync<TResponse>(CatSegmentsRequestParameters, CancellationToken)
GET on /_cat/segments
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-segments.html
Task<TResponse> CatSegmentsAsync<TResponse>(CatSegmentsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatSegmentsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CatSegmentsAsync<TResponse>(string, CatSegmentsRequestParameters, CancellationToken)
GET on /_cat/segments/{index}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-segments.html
Task<TResponse> CatSegmentsAsync<TResponse>(string index, CatSegmentsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to limit the returned information
requestParameters
CatSegmentsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CatSegments<TResponse>(CatSegmentsRequestParameters)
GET on /_cat/segments
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-segments.html
TResponse CatSegments<TResponse>(CatSegmentsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatSegmentsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CatSegments<TResponse>(string, CatSegmentsRequestParameters)
GET on /_cat/segments/{index}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-segments.html
TResponse CatSegments<TResponse>(string index, CatSegmentsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to limit the returned information
requestParameters
CatSegmentsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CatShardsAsync<TResponse>(CatShardsRequestParameters, CancellationToken)
GET on /_cat/shards
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-shards.html
Task<TResponse> CatShardsAsync<TResponse>(CatShardsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatShardsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CatShardsAsync<TResponse>(string, CatShardsRequestParameters, CancellationToken)
GET on /_cat/shards/{index}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-shards.html
Task<TResponse> CatShardsAsync<TResponse>(string index, CatShardsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to limit the returned information
requestParameters
CatShardsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CatShards<TResponse>(CatShardsRequestParameters)
GET on /_cat/shards
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-shards.html
TResponse CatShards<TResponse>(CatShardsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatShardsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CatShards<TResponse>(string, CatShardsRequestParameters)
GET on /_cat/shards/{index}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-shards.html
TResponse CatShards<TResponse>(string index, CatShardsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to limit the returned information
requestParameters
CatShardsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CatSnapshotsAsync<TResponse>(CatSnapshotsRequestParameters, CancellationToken)
GET on /_cat/snapshots
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-snapshots.html
Task<TResponse> CatSnapshotsAsync<TResponse>(CatSnapshotsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatSnapshotsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CatSnapshotsAsync<TResponse>(string, CatSnapshotsRequestParameters, CancellationToken)
GET on /_cat/snapshots/{repository}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-snapshots.html
Task<TResponse> CatSnapshotsAsync<TResponse>(string repository, CatSnapshotsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
repository
stringName of repository from which to fetch the snapshot information
requestParameters
CatSnapshotsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CatSnapshots<TResponse>(CatSnapshotsRequestParameters)
GET on /_cat/snapshots
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-snapshots.html
TResponse CatSnapshots<TResponse>(CatSnapshotsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatSnapshotsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CatSnapshots<TResponse>(string, CatSnapshotsRequestParameters)
GET on /_cat/snapshots/{repository}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-snapshots.html
TResponse CatSnapshots<TResponse>(string repository, CatSnapshotsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
repository
stringName of repository from which to fetch the snapshot information
requestParameters
CatSnapshotsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CatTasksAsync<TResponse>(CatTasksRequestParameters, CancellationToken)
GET on /_cat/tasks
http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html
Task<TResponse> CatTasksAsync<TResponse>(CatTasksRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatTasksRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CatTasks<TResponse>(CatTasksRequestParameters)
GET on /_cat/tasks
http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html
TResponse CatTasks<TResponse>(CatTasksRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatTasksRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CatTemplatesAsync<TResponse>(CatTemplatesRequestParameters, CancellationToken)
GET on /_cat/templates
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-templates.html
Task<TResponse> CatTemplatesAsync<TResponse>(CatTemplatesRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatTemplatesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CatTemplatesAsync<TResponse>(string, CatTemplatesRequestParameters, CancellationToken)
GET on /_cat/templates/{name}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-templates.html
Task<TResponse> CatTemplatesAsync<TResponse>(string name, CatTemplatesRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringA pattern that returned template names must match
requestParameters
CatTemplatesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CatTemplates<TResponse>(CatTemplatesRequestParameters)
GET on /_cat/templates
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-templates.html
TResponse CatTemplates<TResponse>(CatTemplatesRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatTemplatesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CatTemplates<TResponse>(string, CatTemplatesRequestParameters)
GET on /_cat/templates/{name}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-templates.html
TResponse CatTemplates<TResponse>(string name, CatTemplatesRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringA pattern that returned template names must match
requestParameters
CatTemplatesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CatThreadPoolAsync<TResponse>(CatThreadPoolRequestParameters, CancellationToken)
GET on /_cat/thread_pool
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-thread-pool.html
Task<TResponse> CatThreadPoolAsync<TResponse>(CatThreadPoolRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatThreadPoolRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CatThreadPoolAsync<TResponse>(string, CatThreadPoolRequestParameters, CancellationToken)
GET on /_cat/thread_pool/{thread_pool_patterns}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-thread-pool.html
Task<TResponse> CatThreadPoolAsync<TResponse>(string thread_pool_patterns, CatThreadPoolRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
thread_pool_patterns
stringA comma-separated list of regular-expressions to filter the thread pools in the output
requestParameters
CatThreadPoolRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CatThreadPool<TResponse>(CatThreadPoolRequestParameters)
GET on /_cat/thread_pool
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-thread-pool.html
TResponse CatThreadPool<TResponse>(CatThreadPoolRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CatThreadPoolRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CatThreadPool<TResponse>(string, CatThreadPoolRequestParameters)
GET on /_cat/thread_pool/{thread_pool_patterns}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cat-thread-pool.html
TResponse CatThreadPool<TResponse>(string thread_pool_patterns, CatThreadPoolRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
thread_pool_patterns
stringA comma-separated list of regular-expressions to filter the thread pools in the output
requestParameters
CatThreadPoolRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
ClearScrollAsync<TResponse>(PostData, ClearScrollRequestParameters, CancellationToken)
DELETE on /_search/scroll
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html
Task<TResponse> ClearScrollAsync<TResponse>(PostData body, ClearScrollRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataA comma-separated list of scroll IDs to clear if none was specified via the scroll_id parameter
requestParameters
ClearScrollRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
ClearScroll<TResponse>(PostData, ClearScrollRequestParameters)
DELETE on /_search/scroll
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html
TResponse ClearScroll<TResponse>(PostData body, ClearScrollRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataA comma-separated list of scroll IDs to clear if none was specified via the scroll_id parameter
requestParameters
ClearScrollRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
ClusterAllocationExplainAsync<TResponse>(PostData, ClusterAllocationExplainRequestParameters, CancellationToken)
POST on /_cluster/allocation/explain
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html
Task<TResponse> ClusterAllocationExplainAsync<TResponse>(PostData body, ClusterAllocationExplainRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe index, shard, and primary flag to explain. Empty means 'explain the first unassigned shard'
requestParameters
ClusterAllocationExplainRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
ClusterAllocationExplainGetAsync<TResponse>(ClusterAllocationExplainRequestParameters, CancellationToken)
GET on /_cluster/allocation/explain
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html
Task<TResponse> ClusterAllocationExplainGetAsync<TResponse>(ClusterAllocationExplainRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
ClusterAllocationExplainRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
ClusterAllocationExplainGet<TResponse>(ClusterAllocationExplainRequestParameters)
GET on /_cluster/allocation/explain
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html
TResponse ClusterAllocationExplainGet<TResponse>(ClusterAllocationExplainRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
ClusterAllocationExplainRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
ClusterAllocationExplain<TResponse>(PostData, ClusterAllocationExplainRequestParameters)
POST on /_cluster/allocation/explain
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html
TResponse ClusterAllocationExplain<TResponse>(PostData body, ClusterAllocationExplainRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe index, shard, and primary flag to explain. Empty means 'explain the first unassigned shard'
requestParameters
ClusterAllocationExplainRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
ClusterGetSettingsAsync<TResponse>(ClusterGetSettingsRequestParameters, CancellationToken)
GET on /_cluster/settings
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html
Task<TResponse> ClusterGetSettingsAsync<TResponse>(ClusterGetSettingsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
ClusterGetSettingsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
ClusterGetSettings<TResponse>(ClusterGetSettingsRequestParameters)
GET on /_cluster/settings
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html
TResponse ClusterGetSettings<TResponse>(ClusterGetSettingsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
ClusterGetSettingsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
ClusterHealthAsync<TResponse>(ClusterHealthRequestParameters, CancellationToken)
GET on /_cluster/health
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html
Task<TResponse> ClusterHealthAsync<TResponse>(ClusterHealthRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
ClusterHealthRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
ClusterHealthAsync<TResponse>(string, ClusterHealthRequestParameters, CancellationToken)
GET on /_cluster/health/{index}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html
Task<TResponse> ClusterHealthAsync<TResponse>(string index, ClusterHealthRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringLimit the information returned to a specific index
requestParameters
ClusterHealthRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
ClusterHealth<TResponse>(ClusterHealthRequestParameters)
GET on /_cluster/health
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html
TResponse ClusterHealth<TResponse>(ClusterHealthRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
ClusterHealthRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
ClusterHealth<TResponse>(string, ClusterHealthRequestParameters)
GET on /_cluster/health/{index}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html
TResponse ClusterHealth<TResponse>(string index, ClusterHealthRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringLimit the information returned to a specific index
requestParameters
ClusterHealthRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
ClusterPendingTasksAsync<TResponse>(ClusterPendingTasksRequestParameters, CancellationToken)
GET on /_cluster/pending_tasks
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-pending.html
Task<TResponse> ClusterPendingTasksAsync<TResponse>(ClusterPendingTasksRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
ClusterPendingTasksRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
ClusterPendingTasks<TResponse>(ClusterPendingTasksRequestParameters)
GET on /_cluster/pending_tasks
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-pending.html
TResponse ClusterPendingTasks<TResponse>(ClusterPendingTasksRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
ClusterPendingTasksRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
ClusterPutSettingsAsync<TResponse>(PostData, ClusterPutSettingsRequestParameters, CancellationToken)
PUT on /_cluster/settings
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html
Task<TResponse> ClusterPutSettingsAsync<TResponse>(PostData body, ClusterPutSettingsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe settings to be updated. Can be either
transient
orpersistent
(survives cluster restart).requestParameters
ClusterPutSettingsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
ClusterPutSettings<TResponse>(PostData, ClusterPutSettingsRequestParameters)
PUT on /_cluster/settings
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html
TResponse ClusterPutSettings<TResponse>(PostData body, ClusterPutSettingsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe settings to be updated. Can be either
transient
orpersistent
(survives cluster restart).requestParameters
ClusterPutSettingsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
ClusterRemoteInfoAsync<TResponse>(RemoteInfoRequestParameters, CancellationToken)
GET on /_remote/info
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-remote-info.html
Task<TResponse> ClusterRemoteInfoAsync<TResponse>(RemoteInfoRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
RemoteInfoRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
ClusterRemoteInfo<TResponse>(RemoteInfoRequestParameters)
GET on /_remote/info
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-remote-info.html
TResponse ClusterRemoteInfo<TResponse>(RemoteInfoRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
RemoteInfoRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
ClusterRerouteAsync<TResponse>(PostData, ClusterRerouteRequestParameters, CancellationToken)
POST on /_cluster/reroute
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-reroute.html
Task<TResponse> ClusterRerouteAsync<TResponse>(PostData body, ClusterRerouteRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe definition of
commands
to perform (move
,cancel
,allocate
)requestParameters
ClusterRerouteRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
ClusterReroute<TResponse>(PostData, ClusterRerouteRequestParameters)
POST on /_cluster/reroute
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-reroute.html
TResponse ClusterReroute<TResponse>(PostData body, ClusterRerouteRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe definition of
commands
to perform (move
,cancel
,allocate
)requestParameters
ClusterRerouteRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
ClusterStateAsync<TResponse>(ClusterStateRequestParameters, CancellationToken)
GET on /_cluster/state
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html
Task<TResponse> ClusterStateAsync<TResponse>(ClusterStateRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
ClusterStateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
ClusterStateAsync<TResponse>(string, ClusterStateRequestParameters, CancellationToken)
GET on /_cluster/state/{metric}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html
Task<TResponse> ClusterStateAsync<TResponse>(string metric, ClusterStateRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
metric
stringLimit the information returned to the specified metrics
requestParameters
ClusterStateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
ClusterStateAsync<TResponse>(string, string, ClusterStateRequestParameters, CancellationToken)
GET on /_cluster/state/{metric}/{index}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html
Task<TResponse> ClusterStateAsync<TResponse>(string metric, string index, ClusterStateRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
metric
stringLimit the information returned to the specified metrics
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
ClusterStateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
ClusterState<TResponse>(ClusterStateRequestParameters)
GET on /_cluster/state
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html
TResponse ClusterState<TResponse>(ClusterStateRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
ClusterStateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
ClusterState<TResponse>(string, ClusterStateRequestParameters)
GET on /_cluster/state/{metric}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html
TResponse ClusterState<TResponse>(string metric, ClusterStateRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
metric
stringLimit the information returned to the specified metrics
requestParameters
ClusterStateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
ClusterState<TResponse>(string, string, ClusterStateRequestParameters)
GET on /_cluster/state/{metric}/{index}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html
TResponse ClusterState<TResponse>(string metric, string index, ClusterStateRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
metric
stringLimit the information returned to the specified metrics
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
ClusterStateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
ClusterStatsAsync<TResponse>(ClusterStatsRequestParameters, CancellationToken)
GET on /_cluster/stats
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-stats.html
Task<TResponse> ClusterStatsAsync<TResponse>(ClusterStatsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
ClusterStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
ClusterStatsAsync<TResponse>(string, ClusterStatsRequestParameters, CancellationToken)
GET on /_cluster/stats/nodes/{node_id}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-stats.html
Task<TResponse> ClusterStatsAsync<TResponse>(string node_id, ClusterStatsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
node_id
stringA comma-separated list of node IDs or names to limit the returned information; use
_local
to return information from the node you're connecting to, leave empty to get information from all nodesrequestParameters
ClusterStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
ClusterStats<TResponse>(ClusterStatsRequestParameters)
GET on /_cluster/stats
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-stats.html
TResponse ClusterStats<TResponse>(ClusterStatsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
ClusterStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
ClusterStats<TResponse>(string, ClusterStatsRequestParameters)
GET on /_cluster/stats/nodes/{node_id}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-stats.html
TResponse ClusterStats<TResponse>(string node_id, ClusterStatsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
node_id
stringA comma-separated list of node IDs or names to limit the returned information; use
_local
to return information from the node you're connecting to, leave empty to get information from all nodesrequestParameters
ClusterStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CountAsync<TResponse>(PostData, CountRequestParameters, CancellationToken)
POST on /_count
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html
Task<TResponse> CountAsync<TResponse>(PostData body, CountRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataA query to restrict the results specified with the Query DSL (optional)
requestParameters
CountRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CountAsync<TResponse>(string, PostData, CountRequestParameters, CancellationToken)
POST on /{index}/_count
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html
Task<TResponse> CountAsync<TResponse>(string index, PostData body, CountRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of indices to restrict the results
body
PostDataA query to restrict the results specified with the Query DSL (optional)
requestParameters
CountRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CountAsync<TResponse>(string, string, PostData, CountRequestParameters, CancellationToken)
POST on /{index}/{type}/_count
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html
Task<TResponse> CountAsync<TResponse>(string index, string type, PostData body, CountRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of indices to restrict the results
type
stringA comma-separated list of types to restrict the results
body
PostDataA query to restrict the results specified with the Query DSL (optional)
requestParameters
CountRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CountGetAsync<TResponse>(CountRequestParameters, CancellationToken)
GET on /_count
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html
Task<TResponse> CountGetAsync<TResponse>(CountRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CountRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CountGetAsync<TResponse>(string, CountRequestParameters, CancellationToken)
GET on /{index}/_count
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html
Task<TResponse> CountGetAsync<TResponse>(string index, CountRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of indices to restrict the results
requestParameters
CountRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CountGetAsync<TResponse>(string, string, CountRequestParameters, CancellationToken)
GET on /{index}/{type}/_count
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html
Task<TResponse> CountGetAsync<TResponse>(string index, string type, CountRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of indices to restrict the results
type
stringA comma-separated list of types to restrict the results
requestParameters
CountRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CountGet<TResponse>(CountRequestParameters)
GET on /_count
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html
TResponse CountGet<TResponse>(CountRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CountRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CountGet<TResponse>(string, CountRequestParameters)
GET on /{index}/_count
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html
TResponse CountGet<TResponse>(string index, CountRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of indices to restrict the results
requestParameters
CountRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CountGet<TResponse>(string, string, CountRequestParameters)
GET on /{index}/{type}/_count
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html
TResponse CountGet<TResponse>(string index, string type, CountRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of indices to restrict the results
type
stringA comma-separated list of types to restrict the results
requestParameters
CountRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
Count<TResponse>(PostData, CountRequestParameters)
POST on /_count
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html
TResponse Count<TResponse>(PostData body, CountRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataA query to restrict the results specified with the Query DSL (optional)
requestParameters
CountRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
Count<TResponse>(string, PostData, CountRequestParameters)
POST on /{index}/_count
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html
TResponse Count<TResponse>(string index, PostData body, CountRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of indices to restrict the results
body
PostDataA query to restrict the results specified with the Query DSL (optional)
requestParameters
CountRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
Count<TResponse>(string, string, PostData, CountRequestParameters)
POST on /{index}/{type}/_count
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html
TResponse Count<TResponse>(string index, string type, PostData body, CountRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of indices to restrict the results
type
stringA comma-separated list of types to restrict the results
body
PostDataA query to restrict the results specified with the Query DSL (optional)
requestParameters
CountRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
CreateAsync<TResponse>(string, string, string, PostData, CreateRequestParameters, CancellationToken)
PUT on /{index}/{type}/{id}/create http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index
Task<TResponse> CreateAsync<TResponse>(string index, string type, string id, PostData body, CreateRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
type
stringThe type of the document
id
stringDocument ID
body
PostDataThe document
requestParameters
CreateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CreatePostAsync<TResponse>(string, string, string, PostData, CreateRequestParameters, CancellationToken)
POST on /{index}/{type}/{id}/create http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index
Task<TResponse> CreatePostAsync<TResponse>(string index, string type, string id, PostData body, CreateRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
type
stringThe type of the document
id
stringDocument ID
body
PostDataThe document
requestParameters
CreateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
CreatePost<TResponse>(string, string, string, PostData, CreateRequestParameters)
POST on /{index}/{type}/{id}/create http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index
TResponse CreatePost<TResponse>(string index, string type, string id, PostData body, CreateRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
type
stringThe type of the document
id
stringDocument ID
body
PostDataThe document
requestParameters
CreateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
Create<TResponse>(string, string, string, PostData, CreateRequestParameters)
PUT on /{index}/{type}/{id}/create http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index
TResponse Create<TResponse>(string index, string type, string id, PostData body, CreateRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
type
stringThe type of the document
id
stringDocument ID
body
PostDataThe document
requestParameters
CreateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
DeleteAsync<TResponse>(string, string, string, DeleteRequestParameters, CancellationToken)
DELETE on /{index}/{type}/{id}
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete.html
Task<TResponse> DeleteAsync<TResponse>(string index, string type, string id, DeleteRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
type
stringThe type of the document
id
stringThe document ID
requestParameters
DeleteRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
DeleteByQueryAsync<TResponse>(string, PostData, DeleteByQueryRequestParameters, CancellationToken)
POST on /{index}/_delete_by_query
https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html
Task<TResponse> DeleteByQueryAsync<TResponse>(string index, PostData body, DeleteByQueryRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicesbody
PostDataThe search definition using the Query DSL
requestParameters
DeleteByQueryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
DeleteByQueryAsync<TResponse>(string, string, PostData, DeleteByQueryRequestParameters, CancellationToken)
POST on /{index}/{type}/_delete_by_query
https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html
Task<TResponse> DeleteByQueryAsync<TResponse>(string index, string type, PostData body, DeleteByQueryRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicestype
stringA comma-separated list of document types to search; leave empty to perform the operation on all types
body
PostDataThe search definition using the Query DSL
requestParameters
DeleteByQueryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
DeleteByQuery<TResponse>(string, PostData, DeleteByQueryRequestParameters)
POST on /{index}/_delete_by_query
https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html
TResponse DeleteByQuery<TResponse>(string index, PostData body, DeleteByQueryRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicesbody
PostDataThe search definition using the Query DSL
requestParameters
DeleteByQueryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
DeleteByQuery<TResponse>(string, string, PostData, DeleteByQueryRequestParameters)
POST on /{index}/{type}/_delete_by_query
https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html
TResponse DeleteByQuery<TResponse>(string index, string type, PostData body, DeleteByQueryRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicestype
stringA comma-separated list of document types to search; leave empty to perform the operation on all types
body
PostDataThe search definition using the Query DSL
requestParameters
DeleteByQueryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
DeleteScriptAsync<TResponse>(string, DeleteScriptRequestParameters, CancellationToken)
DELETE on /_scripts/{id}
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html
Task<TResponse> DeleteScriptAsync<TResponse>(string id, DeleteScriptRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringScript ID
requestParameters
DeleteScriptRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
DeleteScript<TResponse>(string, DeleteScriptRequestParameters)
DELETE on /_scripts/{id}
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html
TResponse DeleteScript<TResponse>(string id, DeleteScriptRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringScript ID
requestParameters
DeleteScriptRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
Delete<TResponse>(string, string, string, DeleteRequestParameters)
DELETE on /{index}/{type}/{id}
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete.html
TResponse Delete<TResponse>(string index, string type, string id, DeleteRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
type
stringThe type of the document
id
stringThe document ID
requestParameters
DeleteRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
DoRequestAsync<TResponse>(HttpMethod, string, CancellationToken, PostData, IRequestParameters)
Perform any request you want over the configured IConnection asynchronously while taking advantage of the cluster failover.
Task<TResponse> DoRequestAsync<TResponse>(HttpMethod method, string path, CancellationToken cancellationToken, PostData data = null, IRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
method
HttpMethodthe HTTP Method to use
path
stringThe path of the the url that you would like to hit
cancellationToken
CancellationTokendata
PostDataThe body of the request, string and byte[] are posted as is other types will be serialized to JSON
requestParameters
IRequestParametersOptionally configure request specific timeouts, headers
Returns
- Task<TResponse>
A task of ElasticsearchResponse of T where T represents the JSON response body
Type Parameters
TResponse
The type representing the response JSON
DoRequest<TResponse>(HttpMethod, string, PostData, IRequestParameters)
Perform any request you want over the configured IConnection synchronously while taking advantage of the cluster failover.
TResponse DoRequest<TResponse>(HttpMethod method, string path, PostData data = null, IRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
method
HttpMethodthe HTTP Method to use
path
stringThe path of the the url that you would like to hit
data
PostDataThe body of the request, string and byte[] are posted as is other types will be serialized to JSON
requestParameters
IRequestParametersOptionally configure request specific timeouts, headers
Returns
- TResponse
An ElasticsearchResponse of T where T represents the JSON response body
Type Parameters
TResponse
The type representing the response JSON
ExistsAsync<TResponse>(string, string, string, DocumentExistsRequestParameters, CancellationToken)
HEAD on /{index}/{type}/{id}
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html
Task<TResponse> ExistsAsync<TResponse>(string index, string type, string id, DocumentExistsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
type
stringThe type of the document (use
_all
to fetch the first document matching the ID across all types)id
stringThe document ID
requestParameters
DocumentExistsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
ExistsSourceAsync<TResponse>(string, string, string, SourceExistsRequestParameters, CancellationToken)
HEAD on /{index}/{type}/{id}/_source
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html
Task<TResponse> ExistsSourceAsync<TResponse>(string index, string type, string id, SourceExistsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
type
stringThe type of the document; use
_all
to fetch the first document matching the ID across all typesid
stringThe document ID
requestParameters
SourceExistsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
ExistsSource<TResponse>(string, string, string, SourceExistsRequestParameters)
HEAD on /{index}/{type}/{id}/_source
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html
TResponse ExistsSource<TResponse>(string index, string type, string id, SourceExistsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
type
stringThe type of the document; use
_all
to fetch the first document matching the ID across all typesid
stringThe document ID
requestParameters
SourceExistsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
Exists<TResponse>(string, string, string, DocumentExistsRequestParameters)
HEAD on /{index}/{type}/{id}
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html
TResponse Exists<TResponse>(string index, string type, string id, DocumentExistsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
type
stringThe type of the document (use
_all
to fetch the first document matching the ID across all types)id
stringThe document ID
requestParameters
DocumentExistsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
ExplainAsync<TResponse>(string, string, string, PostData, ExplainRequestParameters, CancellationToken)
POST on /{index}/{type}/{id}/_explain
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html
Task<TResponse> ExplainAsync<TResponse>(string index, string type, string id, PostData body, ExplainRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
type
stringThe type of the document
id
stringThe document ID
body
PostDataThe query definition using the Query DSL
requestParameters
ExplainRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
ExplainGetAsync<TResponse>(string, string, string, ExplainRequestParameters, CancellationToken)
GET on /{index}/{type}/{id}/_explain
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html
Task<TResponse> ExplainGetAsync<TResponse>(string index, string type, string id, ExplainRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
type
stringThe type of the document
id
stringThe document ID
requestParameters
ExplainRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
ExplainGet<TResponse>(string, string, string, ExplainRequestParameters)
GET on /{index}/{type}/{id}/_explain
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html
TResponse ExplainGet<TResponse>(string index, string type, string id, ExplainRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
type
stringThe type of the document
id
stringThe document ID
requestParameters
ExplainRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
Explain<TResponse>(string, string, string, PostData, ExplainRequestParameters)
POST on /{index}/{type}/{id}/_explain
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html
TResponse Explain<TResponse>(string index, string type, string id, PostData body, ExplainRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
type
stringThe type of the document
id
stringThe document ID
body
PostDataThe query definition using the Query DSL
requestParameters
ExplainRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
FieldCapsAsync<TResponse>(PostData, FieldCapabilitiesRequestParameters, CancellationToken)
POST on /_field_caps
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html
Task<TResponse> FieldCapsAsync<TResponse>(PostData body, FieldCapabilitiesRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataField json objects containing an array of field names
requestParameters
FieldCapabilitiesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
FieldCapsAsync<TResponse>(string, PostData, FieldCapabilitiesRequestParameters, CancellationToken)
POST on /{index}/_field_caps
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html
Task<TResponse> FieldCapsAsync<TResponse>(string index, PostData body, FieldCapabilitiesRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All to perform the operation on all indicesbody
PostDataField json objects containing an array of field names
requestParameters
FieldCapabilitiesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
FieldCapsGetAsync<TResponse>(FieldCapabilitiesRequestParameters, CancellationToken)
GET on /_field_caps
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html
Task<TResponse> FieldCapsGetAsync<TResponse>(FieldCapabilitiesRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
FieldCapabilitiesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
FieldCapsGetAsync<TResponse>(string, FieldCapabilitiesRequestParameters, CancellationToken)
GET on /{index}/_field_caps
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html
Task<TResponse> FieldCapsGetAsync<TResponse>(string index, FieldCapabilitiesRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
FieldCapabilitiesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
FieldCapsGet<TResponse>(FieldCapabilitiesRequestParameters)
GET on /_field_caps
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html
TResponse FieldCapsGet<TResponse>(FieldCapabilitiesRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
FieldCapabilitiesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
FieldCapsGet<TResponse>(string, FieldCapabilitiesRequestParameters)
GET on /{index}/_field_caps
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html
TResponse FieldCapsGet<TResponse>(string index, FieldCapabilitiesRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
FieldCapabilitiesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
FieldCaps<TResponse>(PostData, FieldCapabilitiesRequestParameters)
POST on /_field_caps
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html
TResponse FieldCaps<TResponse>(PostData body, FieldCapabilitiesRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataField json objects containing an array of field names
requestParameters
FieldCapabilitiesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
FieldCaps<TResponse>(string, PostData, FieldCapabilitiesRequestParameters)
POST on /{index}/_field_caps
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html
TResponse FieldCaps<TResponse>(string index, PostData body, FieldCapabilitiesRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All to perform the operation on all indicesbody
PostDataField json objects containing an array of field names
requestParameters
FieldCapabilitiesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
GetAsync<TResponse>(string, string, string, GetRequestParameters, CancellationToken)
GET on /{index}/{type}/{id}
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html
Task<TResponse> GetAsync<TResponse>(string index, string type, string id, GetRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
type
stringThe type of the document (use
_all
to fetch the first document matching the ID across all types)id
stringThe document ID
requestParameters
GetRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
GetScriptAsync<TResponse>(string, GetScriptRequestParameters, CancellationToken)
GET on /_scripts/{id}
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html
Task<TResponse> GetScriptAsync<TResponse>(string id, GetScriptRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringScript ID
requestParameters
GetScriptRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
GetScript<TResponse>(string, GetScriptRequestParameters)
GET on /_scripts/{id}
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html
TResponse GetScript<TResponse>(string id, GetScriptRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringScript ID
requestParameters
GetScriptRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
GetSourceAsync<TResponse>(string, string, string, SourceRequestParameters, CancellationToken)
GET on /{index}/{type}/{id}/_source
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html
Task<TResponse> GetSourceAsync<TResponse>(string index, string type, string id, SourceRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
type
stringThe type of the document; use
_all
to fetch the first document matching the ID across all typesid
stringThe document ID
requestParameters
SourceRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
GetSource<TResponse>(string, string, string, SourceRequestParameters)
GET on /{index}/{type}/{id}/_source
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html
TResponse GetSource<TResponse>(string index, string type, string id, SourceRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
type
stringThe type of the document; use
_all
to fetch the first document matching the ID across all typesid
stringThe document ID
requestParameters
SourceRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
Get<TResponse>(string, string, string, GetRequestParameters)
GET on /{index}/{type}/{id}
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html
TResponse Get<TResponse>(string index, string type, string id, GetRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
type
stringThe type of the document (use
_all
to fetch the first document matching the ID across all types)id
stringThe document ID
requestParameters
GetRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndexAsync<TResponse>(string, string, PostData, IndexRequestParameters, CancellationToken)
POST on /{index}/{type}
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html
Task<TResponse> IndexAsync<TResponse>(string index, string type, PostData body, IndexRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
type
stringThe type of the document
body
PostDataThe document
requestParameters
IndexRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndexAsync<TResponse>(string, string, string, PostData, IndexRequestParameters, CancellationToken)
POST on /{index}/{type}/{id}
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html
Task<TResponse> IndexAsync<TResponse>(string index, string type, string id, PostData body, IndexRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
type
stringThe type of the document
id
stringDocument ID
body
PostDataThe document
requestParameters
IndexRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndexPutAsync<TResponse>(string, string, PostData, IndexRequestParameters, CancellationToken)
PUT on /{index}/{type}
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html
Task<TResponse> IndexPutAsync<TResponse>(string index, string type, PostData body, IndexRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
type
stringThe type of the document
body
PostDataThe document
requestParameters
IndexRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndexPutAsync<TResponse>(string, string, string, PostData, IndexRequestParameters, CancellationToken)
PUT on /{index}/{type}/{id}
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html
Task<TResponse> IndexPutAsync<TResponse>(string index, string type, string id, PostData body, IndexRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
type
stringThe type of the document
id
stringDocument ID
body
PostDataThe document
requestParameters
IndexRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndexPut<TResponse>(string, string, PostData, IndexRequestParameters)
PUT on /{index}/{type}
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html
TResponse IndexPut<TResponse>(string index, string type, PostData body, IndexRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
type
stringThe type of the document
body
PostDataThe document
requestParameters
IndexRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndexPut<TResponse>(string, string, string, PostData, IndexRequestParameters)
PUT on /{index}/{type}/{id}
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html
TResponse IndexPut<TResponse>(string index, string type, string id, PostData body, IndexRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
type
stringThe type of the document
id
stringDocument ID
body
PostDataThe document
requestParameters
IndexRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
Index<TResponse>(string, string, PostData, IndexRequestParameters)
POST on /{index}/{type}
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html
TResponse Index<TResponse>(string index, string type, PostData body, IndexRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
type
stringThe type of the document
body
PostDataThe document
requestParameters
IndexRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
Index<TResponse>(string, string, string, PostData, IndexRequestParameters)
POST on /{index}/{type}/{id}
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html
TResponse Index<TResponse>(string index, string type, string id, PostData body, IndexRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
type
stringThe type of the document
id
stringDocument ID
body
PostDataThe document
requestParameters
IndexRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesAnalyzeAsync<TResponse>(string, PostData, AnalyzeRequestParameters, CancellationToken)
POST on /{index}/_analyze
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html
Task<TResponse> IndicesAnalyzeAsync<TResponse>(string index, PostData body, AnalyzeRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index to scope the operation
body
PostDataDefine analyzer/tokenizer parameters and the text on which the analysis should be performed
requestParameters
AnalyzeRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesAnalyzeForAllAsync<TResponse>(PostData, AnalyzeRequestParameters, CancellationToken)
POST on /_analyze
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html
Task<TResponse> IndicesAnalyzeForAllAsync<TResponse>(PostData body, AnalyzeRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataDefine analyzer/tokenizer parameters and the text on which the analysis should be performed
requestParameters
AnalyzeRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesAnalyzeForAll<TResponse>(PostData, AnalyzeRequestParameters)
POST on /_analyze
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html
TResponse IndicesAnalyzeForAll<TResponse>(PostData body, AnalyzeRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataDefine analyzer/tokenizer parameters and the text on which the analysis should be performed
requestParameters
AnalyzeRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesAnalyzeGetAsync<TResponse>(string, AnalyzeRequestParameters, CancellationToken)
GET on /{index}/_analyze
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html
Task<TResponse> IndicesAnalyzeGetAsync<TResponse>(string index, AnalyzeRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index to scope the operation
requestParameters
AnalyzeRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesAnalyzeGetForAllAsync<TResponse>(AnalyzeRequestParameters, CancellationToken)
GET on /_analyze
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html
Task<TResponse> IndicesAnalyzeGetForAllAsync<TResponse>(AnalyzeRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
AnalyzeRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesAnalyzeGetForAll<TResponse>(AnalyzeRequestParameters)
GET on /_analyze
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html
TResponse IndicesAnalyzeGetForAll<TResponse>(AnalyzeRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
AnalyzeRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesAnalyzeGet<TResponse>(string, AnalyzeRequestParameters)
GET on /{index}/_analyze
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html
TResponse IndicesAnalyzeGet<TResponse>(string index, AnalyzeRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index to scope the operation
requestParameters
AnalyzeRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesAnalyze<TResponse>(string, PostData, AnalyzeRequestParameters)
POST on /{index}/_analyze
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html
TResponse IndicesAnalyze<TResponse>(string index, PostData body, AnalyzeRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index to scope the operation
body
PostDataDefine analyzer/tokenizer parameters and the text on which the analysis should be performed
requestParameters
AnalyzeRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesClearCacheAsync<TResponse>(string, ClearCacheRequestParameters, CancellationToken)
POST on /{index}/_cache/clear
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html
Task<TResponse> IndicesClearCacheAsync<TResponse>(string index, ClearCacheRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index name to limit the operation
requestParameters
ClearCacheRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesClearCacheForAllAsync<TResponse>(ClearCacheRequestParameters, CancellationToken)
POST on /_cache/clear
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html
Task<TResponse> IndicesClearCacheForAllAsync<TResponse>(ClearCacheRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
ClearCacheRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesClearCacheForAll<TResponse>(ClearCacheRequestParameters)
POST on /_cache/clear
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html
TResponse IndicesClearCacheForAll<TResponse>(ClearCacheRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
ClearCacheRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesClearCacheGetAsync<TResponse>(string, ClearCacheRequestParameters, CancellationToken)
GET on /{index}/_cache/clear
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html
Task<TResponse> IndicesClearCacheGetAsync<TResponse>(string index, ClearCacheRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index name to limit the operation
requestParameters
ClearCacheRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesClearCacheGetForAllAsync<TResponse>(ClearCacheRequestParameters, CancellationToken)
GET on /_cache/clear
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html
Task<TResponse> IndicesClearCacheGetForAllAsync<TResponse>(ClearCacheRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
ClearCacheRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesClearCacheGetForAll<TResponse>(ClearCacheRequestParameters)
GET on /_cache/clear
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html
TResponse IndicesClearCacheGetForAll<TResponse>(ClearCacheRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
ClearCacheRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesClearCacheGet<TResponse>(string, ClearCacheRequestParameters)
GET on /{index}/_cache/clear
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html
TResponse IndicesClearCacheGet<TResponse>(string index, ClearCacheRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index name to limit the operation
requestParameters
ClearCacheRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesClearCache<TResponse>(string, ClearCacheRequestParameters)
POST on /{index}/_cache/clear
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html
TResponse IndicesClearCache<TResponse>(string index, ClearCacheRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index name to limit the operation
requestParameters
ClearCacheRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesCloseAsync<TResponse>(string, CloseIndexRequestParameters, CancellationToken)
POST on /{index}/_close
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html
Task<TResponse> IndicesCloseAsync<TResponse>(string index, CloseIndexRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma separated list of indices to close
requestParameters
CloseIndexRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesClose<TResponse>(string, CloseIndexRequestParameters)
POST on /{index}/_close
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html
TResponse IndicesClose<TResponse>(string index, CloseIndexRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma separated list of indices to close
requestParameters
CloseIndexRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesCreateAsync<TResponse>(string, PostData, CreateIndexRequestParameters, CancellationToken)
PUT on /{index}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-create-index.html
Task<TResponse> IndicesCreateAsync<TResponse>(string index, PostData body, CreateIndexRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
body
PostDataThe configuration for the index (
settings
andmappings
)requestParameters
CreateIndexRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesCreate<TResponse>(string, PostData, CreateIndexRequestParameters)
PUT on /{index}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-create-index.html
TResponse IndicesCreate<TResponse>(string index, PostData body, CreateIndexRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
body
PostDataThe configuration for the index (
settings
andmappings
)requestParameters
CreateIndexRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesDeleteAliasAsync<TResponse>(string, string, DeleteAliasRequestParameters, CancellationToken)
DELETE on /{index}/_alias/{name}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html
Task<TResponse> IndicesDeleteAliasAsync<TResponse>(string index, string name, DeleteAliasRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names (supports wildcards); use
_all
for all indicesname
stringA comma-separated list of aliases to delete (supports wildcards); use
_all
to delete all aliases for the specified indices.requestParameters
DeleteAliasRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesDeleteAlias<TResponse>(string, string, DeleteAliasRequestParameters)
DELETE on /{index}/_alias/{name}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html
TResponse IndicesDeleteAlias<TResponse>(string index, string name, DeleteAliasRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names (supports wildcards); use
_all
for all indicesname
stringA comma-separated list of aliases to delete (supports wildcards); use
_all
to delete all aliases for the specified indices.requestParameters
DeleteAliasRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesDeleteAsync<TResponse>(string, DeleteIndexRequestParameters, CancellationToken)
DELETE on /{index}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-index.html
Task<TResponse> IndicesDeleteAsync<TResponse>(string index, DeleteIndexRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of indices to delete; use
_all
or*
string to delete all indicesrequestParameters
DeleteIndexRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesDeleteTemplateForAllAsync<TResponse>(string, DeleteIndexTemplateRequestParameters, CancellationToken)
DELETE on /_template/{name}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html
Task<TResponse> IndicesDeleteTemplateForAllAsync<TResponse>(string name, DeleteIndexTemplateRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringThe name of the template
requestParameters
DeleteIndexTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesDeleteTemplateForAll<TResponse>(string, DeleteIndexTemplateRequestParameters)
DELETE on /_template/{name}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html
TResponse IndicesDeleteTemplateForAll<TResponse>(string name, DeleteIndexTemplateRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringThe name of the template
requestParameters
DeleteIndexTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesDelete<TResponse>(string, DeleteIndexRequestParameters)
DELETE on /{index}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-index.html
TResponse IndicesDelete<TResponse>(string index, DeleteIndexRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of indices to delete; use
_all
or*
string to delete all indicesrequestParameters
DeleteIndexRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesExistsAliasAsync<TResponse>(string, string, AliasExistsRequestParameters, CancellationToken)
HEAD on /{index}/_alias/{name}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html
Task<TResponse> IndicesExistsAliasAsync<TResponse>(string index, string name, AliasExistsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to filter aliases
name
stringA comma-separated list of alias names to return
requestParameters
AliasExistsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesExistsAliasForAllAsync<TResponse>(string, AliasExistsRequestParameters, CancellationToken)
HEAD on /_alias/{name}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html
Task<TResponse> IndicesExistsAliasForAllAsync<TResponse>(string name, AliasExistsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringA comma-separated list of alias names to return
requestParameters
AliasExistsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesExistsAliasForAll<TResponse>(string, AliasExistsRequestParameters)
HEAD on /_alias/{name}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html
TResponse IndicesExistsAliasForAll<TResponse>(string name, AliasExistsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringA comma-separated list of alias names to return
requestParameters
AliasExistsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesExistsAlias<TResponse>(string, string, AliasExistsRequestParameters)
HEAD on /{index}/_alias/{name}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html
TResponse IndicesExistsAlias<TResponse>(string index, string name, AliasExistsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to filter aliases
name
stringA comma-separated list of alias names to return
requestParameters
AliasExistsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesExistsAsync<TResponse>(string, IndexExistsRequestParameters, CancellationToken)
HEAD on /{index}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-exists.html
Task<TResponse> IndicesExistsAsync<TResponse>(string index, IndexExistsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names
requestParameters
IndexExistsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesExistsTemplateForAllAsync<TResponse>(string, IndexTemplateExistsRequestParameters, CancellationToken)
HEAD on /_template/{name}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html
Task<TResponse> IndicesExistsTemplateForAllAsync<TResponse>(string name, IndexTemplateExistsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringThe comma separated names of the index templates
requestParameters
IndexTemplateExistsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesExistsTemplateForAll<TResponse>(string, IndexTemplateExistsRequestParameters)
HEAD on /_template/{name}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html
TResponse IndicesExistsTemplateForAll<TResponse>(string name, IndexTemplateExistsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringThe comma separated names of the index templates
requestParameters
IndexTemplateExistsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesExistsTypeAsync<TResponse>(string, string, TypeExistsRequestParameters, CancellationToken)
HEAD on /{index}/_mapping/{type}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-types-exists.html
Task<TResponse> IndicesExistsTypeAsync<TResponse>(string index, string type, TypeExistsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use
_all
to check the types across all indicestype
stringA comma-separated list of document types to check
requestParameters
TypeExistsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesExistsType<TResponse>(string, string, TypeExistsRequestParameters)
HEAD on /{index}/_mapping/{type}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-types-exists.html
TResponse IndicesExistsType<TResponse>(string index, string type, TypeExistsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use
_all
to check the types across all indicestype
stringA comma-separated list of document types to check
requestParameters
TypeExistsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesExists<TResponse>(string, IndexExistsRequestParameters)
HEAD on /{index}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-exists.html
TResponse IndicesExists<TResponse>(string index, IndexExistsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names
requestParameters
IndexExistsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesFlushAsync<TResponse>(string, FlushRequestParameters, CancellationToken)
POST on /{index}/_flush
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html
Task<TResponse> IndicesFlushAsync<TResponse>(string index, FlushRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All for all indicesrequestParameters
FlushRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesFlushForAllAsync<TResponse>(FlushRequestParameters, CancellationToken)
POST on /_flush
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html
Task<TResponse> IndicesFlushForAllAsync<TResponse>(FlushRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
FlushRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesFlushForAll<TResponse>(FlushRequestParameters)
POST on /_flush
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html
TResponse IndicesFlushForAll<TResponse>(FlushRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
FlushRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesFlushGetAsync<TResponse>(string, FlushRequestParameters, CancellationToken)
GET on /{index}/_flush
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html
Task<TResponse> IndicesFlushGetAsync<TResponse>(string index, FlushRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All for all indicesrequestParameters
FlushRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesFlushGetForAllAsync<TResponse>(FlushRequestParameters, CancellationToken)
GET on /_flush
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html
Task<TResponse> IndicesFlushGetForAllAsync<TResponse>(FlushRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
FlushRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesFlushGetForAll<TResponse>(FlushRequestParameters)
GET on /_flush
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html
TResponse IndicesFlushGetForAll<TResponse>(FlushRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
FlushRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesFlushGet<TResponse>(string, FlushRequestParameters)
GET on /{index}/_flush
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html
TResponse IndicesFlushGet<TResponse>(string index, FlushRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All for all indicesrequestParameters
FlushRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesFlushSyncedAsync<TResponse>(string, SyncedFlushRequestParameters, CancellationToken)
POST on /{index}/_flush/synced
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush.html
Task<TResponse> IndicesFlushSyncedAsync<TResponse>(string index, SyncedFlushRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All for all indicesrequestParameters
SyncedFlushRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesFlushSyncedForAllAsync<TResponse>(SyncedFlushRequestParameters, CancellationToken)
POST on /_flush/synced
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush.html
Task<TResponse> IndicesFlushSyncedForAllAsync<TResponse>(SyncedFlushRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
SyncedFlushRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesFlushSyncedForAll<TResponse>(SyncedFlushRequestParameters)
POST on /_flush/synced
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush.html
TResponse IndicesFlushSyncedForAll<TResponse>(SyncedFlushRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
SyncedFlushRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesFlushSyncedGetAsync<TResponse>(string, SyncedFlushRequestParameters, CancellationToken)
GET on /{index}/_flush/synced
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush.html
Task<TResponse> IndicesFlushSyncedGetAsync<TResponse>(string index, SyncedFlushRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All for all indicesrequestParameters
SyncedFlushRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesFlushSyncedGetForAllAsync<TResponse>(SyncedFlushRequestParameters, CancellationToken)
GET on /_flush/synced
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush.html
Task<TResponse> IndicesFlushSyncedGetForAllAsync<TResponse>(SyncedFlushRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
SyncedFlushRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesFlushSyncedGetForAll<TResponse>(SyncedFlushRequestParameters)
GET on /_flush/synced
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush.html
TResponse IndicesFlushSyncedGetForAll<TResponse>(SyncedFlushRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
SyncedFlushRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesFlushSyncedGet<TResponse>(string, SyncedFlushRequestParameters)
GET on /{index}/_flush/synced
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush.html
TResponse IndicesFlushSyncedGet<TResponse>(string index, SyncedFlushRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All for all indicesrequestParameters
SyncedFlushRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesFlushSynced<TResponse>(string, SyncedFlushRequestParameters)
POST on /{index}/_flush/synced
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush.html
TResponse IndicesFlushSynced<TResponse>(string index, SyncedFlushRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All for all indicesrequestParameters
SyncedFlushRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesFlush<TResponse>(string, FlushRequestParameters)
POST on /{index}/_flush
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html
TResponse IndicesFlush<TResponse>(string index, FlushRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All for all indicesrequestParameters
FlushRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesForcemergeAsync<TResponse>(string, ForceMergeRequestParameters, CancellationToken)
POST on /{index}/_forcemerge
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html
Task<TResponse> IndicesForcemergeAsync<TResponse>(string index, ForceMergeRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
ForceMergeRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesForcemergeForAllAsync<TResponse>(ForceMergeRequestParameters, CancellationToken)
POST on /_forcemerge
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html
Task<TResponse> IndicesForcemergeForAllAsync<TResponse>(ForceMergeRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
ForceMergeRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesForcemergeForAll<TResponse>(ForceMergeRequestParameters)
POST on /_forcemerge
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html
TResponse IndicesForcemergeForAll<TResponse>(ForceMergeRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
ForceMergeRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesForcemerge<TResponse>(string, ForceMergeRequestParameters)
POST on /{index}/_forcemerge
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html
TResponse IndicesForcemerge<TResponse>(string index, ForceMergeRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
ForceMergeRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesGetAliasAsync<TResponse>(string, GetAliasRequestParameters, CancellationToken)
GET on /{index}/_alias
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html
Task<TResponse> IndicesGetAliasAsync<TResponse>(string index, GetAliasRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to filter aliases
requestParameters
GetAliasRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesGetAliasAsync<TResponse>(string, string, GetAliasRequestParameters, CancellationToken)
GET on /{index}/_alias/{name}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html
Task<TResponse> IndicesGetAliasAsync<TResponse>(string index, string name, GetAliasRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to filter aliases
name
stringA comma-separated list of alias names to return
requestParameters
GetAliasRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesGetAliasForAllAsync<TResponse>(GetAliasRequestParameters, CancellationToken)
GET on /_alias
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html
Task<TResponse> IndicesGetAliasForAllAsync<TResponse>(GetAliasRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
GetAliasRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesGetAliasForAllAsync<TResponse>(string, GetAliasRequestParameters, CancellationToken)
GET on /_alias/{name}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html
Task<TResponse> IndicesGetAliasForAllAsync<TResponse>(string name, GetAliasRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringA comma-separated list of alias names to return
requestParameters
GetAliasRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesGetAliasForAll<TResponse>(GetAliasRequestParameters)
GET on /_alias
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html
TResponse IndicesGetAliasForAll<TResponse>(GetAliasRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
GetAliasRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesGetAliasForAll<TResponse>(string, GetAliasRequestParameters)
GET on /_alias/{name}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html
TResponse IndicesGetAliasForAll<TResponse>(string name, GetAliasRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringA comma-separated list of alias names to return
requestParameters
GetAliasRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesGetAlias<TResponse>(string, GetAliasRequestParameters)
GET on /{index}/_alias
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html
TResponse IndicesGetAlias<TResponse>(string index, GetAliasRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to filter aliases
requestParameters
GetAliasRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesGetAlias<TResponse>(string, string, GetAliasRequestParameters)
GET on /{index}/_alias/{name}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html
TResponse IndicesGetAlias<TResponse>(string index, string name, GetAliasRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to filter aliases
name
stringA comma-separated list of alias names to return
requestParameters
GetAliasRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesGetAsync<TResponse>(string, GetIndexRequestParameters, CancellationToken)
GET on /{index}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html
Task<TResponse> IndicesGetAsync<TResponse>(string index, GetIndexRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names
requestParameters
GetIndexRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesGetFieldMappingAsync<TResponse>(string, string, GetFieldMappingRequestParameters, CancellationToken)
GET on /{index}/_mapping/field/{fields}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html
Task<TResponse> IndicesGetFieldMappingAsync<TResponse>(string index, string fields, GetFieldMappingRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names
fields
stringA comma-separated list of fields
requestParameters
GetFieldMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesGetFieldMappingAsync<TResponse>(string, string, string, GetFieldMappingRequestParameters, CancellationToken)
GET on /{index}/_mapping/{type}/field/{fields}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html
Task<TResponse> IndicesGetFieldMappingAsync<TResponse>(string index, string type, string fields, GetFieldMappingRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names
type
stringA comma-separated list of document types
fields
stringA comma-separated list of fields
requestParameters
GetFieldMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesGetFieldMappingForAllAsync<TResponse>(string, GetFieldMappingRequestParameters, CancellationToken)
GET on /_mapping/field/{fields}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html
Task<TResponse> IndicesGetFieldMappingForAllAsync<TResponse>(string fields, GetFieldMappingRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
fields
stringA comma-separated list of fields
requestParameters
GetFieldMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesGetFieldMappingForAllAsync<TResponse>(string, string, GetFieldMappingRequestParameters, CancellationToken)
GET on /_mapping/{type}/field/{fields}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html
Task<TResponse> IndicesGetFieldMappingForAllAsync<TResponse>(string type, string fields, GetFieldMappingRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
type
stringA comma-separated list of document types
fields
stringA comma-separated list of fields
requestParameters
GetFieldMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesGetFieldMappingForAll<TResponse>(string, GetFieldMappingRequestParameters)
GET on /_mapping/field/{fields}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html
TResponse IndicesGetFieldMappingForAll<TResponse>(string fields, GetFieldMappingRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
fields
stringA comma-separated list of fields
requestParameters
GetFieldMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesGetFieldMappingForAll<TResponse>(string, string, GetFieldMappingRequestParameters)
GET on /_mapping/{type}/field/{fields}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html
TResponse IndicesGetFieldMappingForAll<TResponse>(string type, string fields, GetFieldMappingRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
type
stringA comma-separated list of document types
fields
stringA comma-separated list of fields
requestParameters
GetFieldMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesGetFieldMapping<TResponse>(string, string, GetFieldMappingRequestParameters)
GET on /{index}/_mapping/field/{fields}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html
TResponse IndicesGetFieldMapping<TResponse>(string index, string fields, GetFieldMappingRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names
fields
stringA comma-separated list of fields
requestParameters
GetFieldMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesGetFieldMapping<TResponse>(string, string, string, GetFieldMappingRequestParameters)
GET on /{index}/_mapping/{type}/field/{fields}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html
TResponse IndicesGetFieldMapping<TResponse>(string index, string type, string fields, GetFieldMappingRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names
type
stringA comma-separated list of document types
fields
stringA comma-separated list of fields
requestParameters
GetFieldMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesGetMappingAsync<TResponse>(string, GetMappingRequestParameters, CancellationToken)
GET on /{index}/_mapping
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html
Task<TResponse> IndicesGetMappingAsync<TResponse>(string index, GetMappingRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names
requestParameters
GetMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesGetMappingAsync<TResponse>(string, string, GetMappingRequestParameters, CancellationToken)
GET on /{index}/_mapping/{type}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html
Task<TResponse> IndicesGetMappingAsync<TResponse>(string index, string type, GetMappingRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names
type
stringA comma-separated list of document types
requestParameters
GetMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesGetMappingForAllAsync<TResponse>(GetMappingRequestParameters, CancellationToken)
GET on /_mapping
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html
Task<TResponse> IndicesGetMappingForAllAsync<TResponse>(GetMappingRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
GetMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesGetMappingForAllAsync<TResponse>(string, GetMappingRequestParameters, CancellationToken)
GET on /_mapping/{type}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html
Task<TResponse> IndicesGetMappingForAllAsync<TResponse>(string type, GetMappingRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
type
stringA comma-separated list of document types
requestParameters
GetMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesGetMappingForAll<TResponse>(GetMappingRequestParameters)
GET on /_mapping
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html
TResponse IndicesGetMappingForAll<TResponse>(GetMappingRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
GetMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesGetMappingForAll<TResponse>(string, GetMappingRequestParameters)
GET on /_mapping/{type}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html
TResponse IndicesGetMappingForAll<TResponse>(string type, GetMappingRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
type
stringA comma-separated list of document types
requestParameters
GetMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesGetMapping<TResponse>(string, GetMappingRequestParameters)
GET on /{index}/_mapping
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html
TResponse IndicesGetMapping<TResponse>(string index, GetMappingRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names
requestParameters
GetMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesGetMapping<TResponse>(string, string, GetMappingRequestParameters)
GET on /{index}/_mapping/{type}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html
TResponse IndicesGetMapping<TResponse>(string index, string type, GetMappingRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names
type
stringA comma-separated list of document types
requestParameters
GetMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesGetSettingsAsync<TResponse>(string, GetIndexSettingsRequestParameters, CancellationToken)
GET on /{index}/_settings
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html
Task<TResponse> IndicesGetSettingsAsync<TResponse>(string index, GetIndexSettingsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
GetIndexSettingsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesGetSettingsAsync<TResponse>(string, string, GetIndexSettingsRequestParameters, CancellationToken)
GET on /{index}/_settings/{name}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html
Task<TResponse> IndicesGetSettingsAsync<TResponse>(string index, string name, GetIndexSettingsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All to perform the operation on all indicesname
stringThe name of the settings that should be included
requestParameters
GetIndexSettingsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesGetSettingsForAllAsync<TResponse>(GetIndexSettingsRequestParameters, CancellationToken)
GET on /_settings
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html
Task<TResponse> IndicesGetSettingsForAllAsync<TResponse>(GetIndexSettingsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
GetIndexSettingsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesGetSettingsForAllAsync<TResponse>(string, GetIndexSettingsRequestParameters, CancellationToken)
GET on /_settings/{name}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html
Task<TResponse> IndicesGetSettingsForAllAsync<TResponse>(string name, GetIndexSettingsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringThe name of the settings that should be included
requestParameters
GetIndexSettingsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesGetSettingsForAll<TResponse>(GetIndexSettingsRequestParameters)
GET on /_settings
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html
TResponse IndicesGetSettingsForAll<TResponse>(GetIndexSettingsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
GetIndexSettingsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesGetSettingsForAll<TResponse>(string, GetIndexSettingsRequestParameters)
GET on /_settings/{name}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html
TResponse IndicesGetSettingsForAll<TResponse>(string name, GetIndexSettingsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringThe name of the settings that should be included
requestParameters
GetIndexSettingsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesGetSettings<TResponse>(string, GetIndexSettingsRequestParameters)
GET on /{index}/_settings
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html
TResponse IndicesGetSettings<TResponse>(string index, GetIndexSettingsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
GetIndexSettingsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesGetSettings<TResponse>(string, string, GetIndexSettingsRequestParameters)
GET on /{index}/_settings/{name}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html
TResponse IndicesGetSettings<TResponse>(string index, string name, GetIndexSettingsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All to perform the operation on all indicesname
stringThe name of the settings that should be included
requestParameters
GetIndexSettingsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesGetTemplateForAllAsync<TResponse>(GetIndexTemplateRequestParameters, CancellationToken)
GET on /_template
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html
Task<TResponse> IndicesGetTemplateForAllAsync<TResponse>(GetIndexTemplateRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
GetIndexTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesGetTemplateForAllAsync<TResponse>(string, GetIndexTemplateRequestParameters, CancellationToken)
GET on /_template/{name}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html
Task<TResponse> IndicesGetTemplateForAllAsync<TResponse>(string name, GetIndexTemplateRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringThe comma separated names of the index templates
requestParameters
GetIndexTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesGetTemplateForAll<TResponse>(GetIndexTemplateRequestParameters)
GET on /_template
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html
TResponse IndicesGetTemplateForAll<TResponse>(GetIndexTemplateRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
GetIndexTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesGetTemplateForAll<TResponse>(string, GetIndexTemplateRequestParameters)
GET on /_template/{name}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html
TResponse IndicesGetTemplateForAll<TResponse>(string name, GetIndexTemplateRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringThe comma separated names of the index templates
requestParameters
GetIndexTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesGetUpgradeAsync<TResponse>(string, UpgradeStatusRequestParameters, CancellationToken)
GET on /{index}/_upgrade
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html
Task<TResponse> IndicesGetUpgradeAsync<TResponse>(string index, UpgradeStatusRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
UpgradeStatusRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesGetUpgradeForAllAsync<TResponse>(UpgradeStatusRequestParameters, CancellationToken)
GET on /_upgrade
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html
Task<TResponse> IndicesGetUpgradeForAllAsync<TResponse>(UpgradeStatusRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
UpgradeStatusRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesGetUpgradeForAll<TResponse>(UpgradeStatusRequestParameters)
GET on /_upgrade
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html
TResponse IndicesGetUpgradeForAll<TResponse>(UpgradeStatusRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
UpgradeStatusRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesGetUpgrade<TResponse>(string, UpgradeStatusRequestParameters)
GET on /{index}/_upgrade
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html
TResponse IndicesGetUpgrade<TResponse>(string index, UpgradeStatusRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
UpgradeStatusRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesGet<TResponse>(string, GetIndexRequestParameters)
GET on /{index}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html
TResponse IndicesGet<TResponse>(string index, GetIndexRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names
requestParameters
GetIndexRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesOpenAsync<TResponse>(string, OpenIndexRequestParameters, CancellationToken)
POST on /{index}/_open
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html
Task<TResponse> IndicesOpenAsync<TResponse>(string index, OpenIndexRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma separated list of indices to open
requestParameters
OpenIndexRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesOpen<TResponse>(string, OpenIndexRequestParameters)
POST on /{index}/_open
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html
TResponse IndicesOpen<TResponse>(string index, OpenIndexRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma separated list of indices to open
requestParameters
OpenIndexRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesPutAliasAsync<TResponse>(string, string, PostData, PutAliasRequestParameters, CancellationToken)
PUT on /{index}/_alias/{name}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html
Task<TResponse> IndicesPutAliasAsync<TResponse>(string index, string name, PostData body, PutAliasRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names the alias should point to (supports wildcards); use
_all
to perform the operation on all indices.name
stringThe name of the alias to be created or updated
body
PostDataThe settings for the alias, such as
routing
orfilter
requestParameters
PutAliasRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesPutAliasPostAsync<TResponse>(string, string, PostData, PutAliasRequestParameters, CancellationToken)
POST on /{index}/_alias/{name}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html
Task<TResponse> IndicesPutAliasPostAsync<TResponse>(string index, string name, PostData body, PutAliasRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names the alias should point to (supports wildcards); use
_all
to perform the operation on all indices.name
stringThe name of the alias to be created or updated
body
PostDataThe settings for the alias, such as
routing
orfilter
requestParameters
PutAliasRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesPutAliasPost<TResponse>(string, string, PostData, PutAliasRequestParameters)
POST on /{index}/_alias/{name}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html
TResponse IndicesPutAliasPost<TResponse>(string index, string name, PostData body, PutAliasRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names the alias should point to (supports wildcards); use
_all
to perform the operation on all indices.name
stringThe name of the alias to be created or updated
body
PostDataThe settings for the alias, such as
routing
orfilter
requestParameters
PutAliasRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesPutAlias<TResponse>(string, string, PostData, PutAliasRequestParameters)
PUT on /{index}/_alias/{name}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html
TResponse IndicesPutAlias<TResponse>(string index, string name, PostData body, PutAliasRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names the alias should point to (supports wildcards); use
_all
to perform the operation on all indices.name
stringThe name of the alias to be created or updated
body
PostDataThe settings for the alias, such as
routing
orfilter
requestParameters
PutAliasRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesPutMappingAsync<TResponse>(string, string, PostData, PutMappingRequestParameters, CancellationToken)
PUT on /{index}/{type}/_mapping
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html
Task<TResponse> IndicesPutMappingAsync<TResponse>(string index, string type, PostData body, PutMappingRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names the mapping should be added to (supports wildcards); use
_all
or omit to add the mapping on all indices.type
stringThe name of the document type
body
PostDataThe mapping definition
requestParameters
PutMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesPutMappingForAllAsync<TResponse>(string, PostData, PutMappingRequestParameters, CancellationToken)
PUT on /_mapping/{type}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html
Task<TResponse> IndicesPutMappingForAllAsync<TResponse>(string type, PostData body, PutMappingRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
type
stringThe name of the document type
body
PostDataThe mapping definition
requestParameters
PutMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesPutMappingForAll<TResponse>(string, PostData, PutMappingRequestParameters)
PUT on /_mapping/{type}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html
TResponse IndicesPutMappingForAll<TResponse>(string type, PostData body, PutMappingRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
type
stringThe name of the document type
body
PostDataThe mapping definition
requestParameters
PutMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesPutMappingPostAsync<TResponse>(string, string, PostData, PutMappingRequestParameters, CancellationToken)
POST on /{index}/{type}/_mapping
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html
Task<TResponse> IndicesPutMappingPostAsync<TResponse>(string index, string type, PostData body, PutMappingRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names the mapping should be added to (supports wildcards); use
_all
or omit to add the mapping on all indices.type
stringThe name of the document type
body
PostDataThe mapping definition
requestParameters
PutMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesPutMappingPostForAllAsync<TResponse>(string, PostData, PutMappingRequestParameters, CancellationToken)
POST on /_mapping/{type}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html
Task<TResponse> IndicesPutMappingPostForAllAsync<TResponse>(string type, PostData body, PutMappingRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
type
stringThe name of the document type
body
PostDataThe mapping definition
requestParameters
PutMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesPutMappingPostForAll<TResponse>(string, PostData, PutMappingRequestParameters)
POST on /_mapping/{type}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html
TResponse IndicesPutMappingPostForAll<TResponse>(string type, PostData body, PutMappingRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
type
stringThe name of the document type
body
PostDataThe mapping definition
requestParameters
PutMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesPutMappingPost<TResponse>(string, string, PostData, PutMappingRequestParameters)
POST on /{index}/{type}/_mapping
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html
TResponse IndicesPutMappingPost<TResponse>(string index, string type, PostData body, PutMappingRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names the mapping should be added to (supports wildcards); use
_all
or omit to add the mapping on all indices.type
stringThe name of the document type
body
PostDataThe mapping definition
requestParameters
PutMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesPutMapping<TResponse>(string, string, PostData, PutMappingRequestParameters)
PUT on /{index}/{type}/_mapping
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html
TResponse IndicesPutMapping<TResponse>(string index, string type, PostData body, PutMappingRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names the mapping should be added to (supports wildcards); use
_all
or omit to add the mapping on all indices.type
stringThe name of the document type
body
PostDataThe mapping definition
requestParameters
PutMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesPutSettingsAsync<TResponse>(string, PostData, UpdateIndexSettingsRequestParameters, CancellationToken)
PUT on /{index}/_settings
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html
Task<TResponse> IndicesPutSettingsAsync<TResponse>(string index, PostData body, UpdateIndexSettingsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All to perform the operation on all indicesbody
PostDataThe index settings to be updated
requestParameters
UpdateIndexSettingsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesPutSettingsForAllAsync<TResponse>(PostData, UpdateIndexSettingsRequestParameters, CancellationToken)
PUT on /_settings
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html
Task<TResponse> IndicesPutSettingsForAllAsync<TResponse>(PostData body, UpdateIndexSettingsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe index settings to be updated
requestParameters
UpdateIndexSettingsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesPutSettingsForAll<TResponse>(PostData, UpdateIndexSettingsRequestParameters)
PUT on /_settings
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html
TResponse IndicesPutSettingsForAll<TResponse>(PostData body, UpdateIndexSettingsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe index settings to be updated
requestParameters
UpdateIndexSettingsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesPutSettings<TResponse>(string, PostData, UpdateIndexSettingsRequestParameters)
PUT on /{index}/_settings
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html
TResponse IndicesPutSettings<TResponse>(string index, PostData body, UpdateIndexSettingsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All to perform the operation on all indicesbody
PostDataThe index settings to be updated
requestParameters
UpdateIndexSettingsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesPutTemplateForAllAsync<TResponse>(string, PostData, PutIndexTemplateRequestParameters, CancellationToken)
PUT on /_template/{name}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html
Task<TResponse> IndicesPutTemplateForAllAsync<TResponse>(string name, PostData body, PutIndexTemplateRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringThe name of the template
body
PostDataThe template definition
requestParameters
PutIndexTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesPutTemplateForAll<TResponse>(string, PostData, PutIndexTemplateRequestParameters)
PUT on /_template/{name}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html
TResponse IndicesPutTemplateForAll<TResponse>(string name, PostData body, PutIndexTemplateRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringThe name of the template
body
PostDataThe template definition
requestParameters
PutIndexTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesPutTemplatePostForAllAsync<TResponse>(string, PostData, PutIndexTemplateRequestParameters, CancellationToken)
POST on /_template/{name}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html
Task<TResponse> IndicesPutTemplatePostForAllAsync<TResponse>(string name, PostData body, PutIndexTemplateRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringThe name of the template
body
PostDataThe template definition
requestParameters
PutIndexTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesPutTemplatePostForAll<TResponse>(string, PostData, PutIndexTemplateRequestParameters)
POST on /_template/{name}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html
TResponse IndicesPutTemplatePostForAll<TResponse>(string name, PostData body, PutIndexTemplateRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringThe name of the template
body
PostDataThe template definition
requestParameters
PutIndexTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesRecoveryAsync<TResponse>(string, RecoveryStatusRequestParameters, CancellationToken)
GET on /{index}/_recovery
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html
Task<TResponse> IndicesRecoveryAsync<TResponse>(string index, RecoveryStatusRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
RecoveryStatusRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesRecoveryForAllAsync<TResponse>(RecoveryStatusRequestParameters, CancellationToken)
GET on /_recovery
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html
Task<TResponse> IndicesRecoveryForAllAsync<TResponse>(RecoveryStatusRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
RecoveryStatusRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesRecoveryForAll<TResponse>(RecoveryStatusRequestParameters)
GET on /_recovery
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html
TResponse IndicesRecoveryForAll<TResponse>(RecoveryStatusRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
RecoveryStatusRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesRecovery<TResponse>(string, RecoveryStatusRequestParameters)
GET on /{index}/_recovery
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html
TResponse IndicesRecovery<TResponse>(string index, RecoveryStatusRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
RecoveryStatusRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesRefreshAsync<TResponse>(string, RefreshRequestParameters, CancellationToken)
POST on /{index}/_refresh
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html
Task<TResponse> IndicesRefreshAsync<TResponse>(string index, RefreshRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
RefreshRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesRefreshForAllAsync<TResponse>(RefreshRequestParameters, CancellationToken)
POST on /_refresh
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html
Task<TResponse> IndicesRefreshForAllAsync<TResponse>(RefreshRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
RefreshRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesRefreshForAll<TResponse>(RefreshRequestParameters)
POST on /_refresh
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html
TResponse IndicesRefreshForAll<TResponse>(RefreshRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
RefreshRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesRefreshGetAsync<TResponse>(string, RefreshRequestParameters, CancellationToken)
GET on /{index}/_refresh
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html
Task<TResponse> IndicesRefreshGetAsync<TResponse>(string index, RefreshRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
RefreshRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesRefreshGetForAllAsync<TResponse>(RefreshRequestParameters, CancellationToken)
GET on /_refresh
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html
Task<TResponse> IndicesRefreshGetForAllAsync<TResponse>(RefreshRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
RefreshRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesRefreshGetForAll<TResponse>(RefreshRequestParameters)
GET on /_refresh
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html
TResponse IndicesRefreshGetForAll<TResponse>(RefreshRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
RefreshRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesRefreshGet<TResponse>(string, RefreshRequestParameters)
GET on /{index}/_refresh
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html
TResponse IndicesRefreshGet<TResponse>(string index, RefreshRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
RefreshRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesRefresh<TResponse>(string, RefreshRequestParameters)
POST on /{index}/_refresh
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html
TResponse IndicesRefresh<TResponse>(string index, RefreshRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
RefreshRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesRolloverForAllAsync<TResponse>(string, PostData, RolloverIndexRequestParameters, CancellationToken)
POST on /{alias}/_rollover
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-rollover-index.html
Task<TResponse> IndicesRolloverForAllAsync<TResponse>(string alias, PostData body, RolloverIndexRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
alias
stringThe name of the alias to rollover
body
PostDataThe conditions that needs to be met for executing rollover
requestParameters
RolloverIndexRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesRolloverForAllAsync<TResponse>(string, string, PostData, RolloverIndexRequestParameters, CancellationToken)
POST on /{alias}/_rollover/{new_index}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-rollover-index.html
Task<TResponse> IndicesRolloverForAllAsync<TResponse>(string alias, string new_index, PostData body, RolloverIndexRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
alias
stringThe name of the alias to rollover
new_index
stringThe name of the rollover index
body
PostDataThe conditions that needs to be met for executing rollover
requestParameters
RolloverIndexRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesRolloverForAll<TResponse>(string, PostData, RolloverIndexRequestParameters)
POST on /{alias}/_rollover
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-rollover-index.html
TResponse IndicesRolloverForAll<TResponse>(string alias, PostData body, RolloverIndexRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
alias
stringThe name of the alias to rollover
body
PostDataThe conditions that needs to be met for executing rollover
requestParameters
RolloverIndexRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesRolloverForAll<TResponse>(string, string, PostData, RolloverIndexRequestParameters)
POST on /{alias}/_rollover/{new_index}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-rollover-index.html
TResponse IndicesRolloverForAll<TResponse>(string alias, string new_index, PostData body, RolloverIndexRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
alias
stringThe name of the alias to rollover
new_index
stringThe name of the rollover index
body
PostDataThe conditions that needs to be met for executing rollover
requestParameters
RolloverIndexRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesSegmentsAsync<TResponse>(string, SegmentsRequestParameters, CancellationToken)
GET on /{index}/_segments
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-segments.html
Task<TResponse> IndicesSegmentsAsync<TResponse>(string index, SegmentsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
SegmentsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesSegmentsForAllAsync<TResponse>(SegmentsRequestParameters, CancellationToken)
GET on /_segments
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-segments.html
Task<TResponse> IndicesSegmentsForAllAsync<TResponse>(SegmentsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
SegmentsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesSegmentsForAll<TResponse>(SegmentsRequestParameters)
GET on /_segments
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-segments.html
TResponse IndicesSegmentsForAll<TResponse>(SegmentsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
SegmentsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesSegments<TResponse>(string, SegmentsRequestParameters)
GET on /{index}/_segments
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-segments.html
TResponse IndicesSegments<TResponse>(string index, SegmentsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
SegmentsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesShardStoresAsync<TResponse>(string, IndicesShardStoresRequestParameters, CancellationToken)
GET on /{index}/_shard_stores
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html
Task<TResponse> IndicesShardStoresAsync<TResponse>(string index, IndicesShardStoresRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
IndicesShardStoresRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesShardStoresForAllAsync<TResponse>(IndicesShardStoresRequestParameters, CancellationToken)
GET on /_shard_stores
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html
Task<TResponse> IndicesShardStoresForAllAsync<TResponse>(IndicesShardStoresRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
IndicesShardStoresRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesShardStoresForAll<TResponse>(IndicesShardStoresRequestParameters)
GET on /_shard_stores
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html
TResponse IndicesShardStoresForAll<TResponse>(IndicesShardStoresRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
IndicesShardStoresRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesShardStores<TResponse>(string, IndicesShardStoresRequestParameters)
GET on /{index}/_shard_stores
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html
TResponse IndicesShardStores<TResponse>(string index, IndicesShardStoresRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
IndicesShardStoresRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesShrinkAsync<TResponse>(string, string, PostData, ShrinkIndexRequestParameters, CancellationToken)
PUT on /{index}/_shrink/{target}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shrink-index.html
Task<TResponse> IndicesShrinkAsync<TResponse>(string index, string target, PostData body, ShrinkIndexRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the source index to shrink
target
stringThe name of the target index to shrink into
body
PostDataThe configuration for the target index (
settings
andaliases
)requestParameters
ShrinkIndexRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesShrinkPostAsync<TResponse>(string, string, PostData, ShrinkIndexRequestParameters, CancellationToken)
POST on /{index}/_shrink/{target}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shrink-index.html
Task<TResponse> IndicesShrinkPostAsync<TResponse>(string index, string target, PostData body, ShrinkIndexRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the source index to shrink
target
stringThe name of the target index to shrink into
body
PostDataThe configuration for the target index (
settings
andaliases
)requestParameters
ShrinkIndexRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesShrinkPost<TResponse>(string, string, PostData, ShrinkIndexRequestParameters)
POST on /{index}/_shrink/{target}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shrink-index.html
TResponse IndicesShrinkPost<TResponse>(string index, string target, PostData body, ShrinkIndexRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the source index to shrink
target
stringThe name of the target index to shrink into
body
PostDataThe configuration for the target index (
settings
andaliases
)requestParameters
ShrinkIndexRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesShrink<TResponse>(string, string, PostData, ShrinkIndexRequestParameters)
PUT on /{index}/_shrink/{target}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shrink-index.html
TResponse IndicesShrink<TResponse>(string index, string target, PostData body, ShrinkIndexRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the source index to shrink
target
stringThe name of the target index to shrink into
body
PostDataThe configuration for the target index (
settings
andaliases
)requestParameters
ShrinkIndexRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesStatsAsync<TResponse>(string, IndicesStatsRequestParameters, CancellationToken)
GET on /{index}/_stats
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html
Task<TResponse> IndicesStatsAsync<TResponse>(string index, IndicesStatsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
IndicesStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesStatsAsync<TResponse>(string, string, IndicesStatsRequestParameters, CancellationToken)
GET on /{index}/_stats/{metric}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html
Task<TResponse> IndicesStatsAsync<TResponse>(string index, string metric, IndicesStatsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All to perform the operation on all indicesmetric
stringLimit the information returned the specific metrics.
requestParameters
IndicesStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesStatsForAllAsync<TResponse>(IndicesStatsRequestParameters, CancellationToken)
GET on /_stats
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html
Task<TResponse> IndicesStatsForAllAsync<TResponse>(IndicesStatsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
IndicesStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesStatsForAllAsync<TResponse>(string, IndicesStatsRequestParameters, CancellationToken)
GET on /_stats/{metric}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html
Task<TResponse> IndicesStatsForAllAsync<TResponse>(string metric, IndicesStatsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
metric
stringLimit the information returned the specific metrics.
requestParameters
IndicesStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesStatsForAll<TResponse>(IndicesStatsRequestParameters)
GET on /_stats
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html
TResponse IndicesStatsForAll<TResponse>(IndicesStatsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
IndicesStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesStatsForAll<TResponse>(string, IndicesStatsRequestParameters)
GET on /_stats/{metric}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html
TResponse IndicesStatsForAll<TResponse>(string metric, IndicesStatsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
metric
stringLimit the information returned the specific metrics.
requestParameters
IndicesStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesStats<TResponse>(string, IndicesStatsRequestParameters)
GET on /{index}/_stats
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html
TResponse IndicesStats<TResponse>(string index, IndicesStatsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
IndicesStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesStats<TResponse>(string, string, IndicesStatsRequestParameters)
GET on /{index}/_stats/{metric}
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html
TResponse IndicesStats<TResponse>(string index, string metric, IndicesStatsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All to perform the operation on all indicesmetric
stringLimit the information returned the specific metrics.
requestParameters
IndicesStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesUpdateAliasesForAllAsync<TResponse>(PostData, BulkAliasRequestParameters, CancellationToken)
POST on /_aliases
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html
Task<TResponse> IndicesUpdateAliasesForAllAsync<TResponse>(PostData body, BulkAliasRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe definition of
actions
to performrequestParameters
BulkAliasRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesUpdateAliasesForAll<TResponse>(PostData, BulkAliasRequestParameters)
POST on /_aliases
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html
TResponse IndicesUpdateAliasesForAll<TResponse>(PostData body, BulkAliasRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe definition of
actions
to performrequestParameters
BulkAliasRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesUpgradeAsync<TResponse>(string, UpgradeRequestParameters, CancellationToken)
POST on /{index}/_upgrade
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html
Task<TResponse> IndicesUpgradeAsync<TResponse>(string index, UpgradeRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
UpgradeRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesUpgradeForAllAsync<TResponse>(UpgradeRequestParameters, CancellationToken)
POST on /_upgrade
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html
Task<TResponse> IndicesUpgradeForAllAsync<TResponse>(UpgradeRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
UpgradeRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesUpgradeForAll<TResponse>(UpgradeRequestParameters)
POST on /_upgrade
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html
TResponse IndicesUpgradeForAll<TResponse>(UpgradeRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
UpgradeRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesUpgrade<TResponse>(string, UpgradeRequestParameters)
POST on /{index}/_upgrade
http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html
TResponse IndicesUpgrade<TResponse>(string index, UpgradeRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
UpgradeRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesValidateQueryAsync<TResponse>(string, PostData, ValidateQueryRequestParameters, CancellationToken)
POST on /{index}/_validate/query
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html
Task<TResponse> IndicesValidateQueryAsync<TResponse>(string index, PostData body, ValidateQueryRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to restrict the operation; use the special string
_all
or Indices.All to perform the operation on all indicesbody
PostDataThe query definition specified with the Query DSL
requestParameters
ValidateQueryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesValidateQueryAsync<TResponse>(string, string, PostData, ValidateQueryRequestParameters, CancellationToken)
POST on /{index}/{type}/_validate/query
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html
Task<TResponse> IndicesValidateQueryAsync<TResponse>(string index, string type, PostData body, ValidateQueryRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to restrict the operation; use the special string
_all
or Indices.All to perform the operation on all indicestype
stringA comma-separated list of document types to restrict the operation; leave empty to perform the operation on all types
body
PostDataThe query definition specified with the Query DSL
requestParameters
ValidateQueryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesValidateQueryForAllAsync<TResponse>(PostData, ValidateQueryRequestParameters, CancellationToken)
POST on /_validate/query
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html
Task<TResponse> IndicesValidateQueryForAllAsync<TResponse>(PostData body, ValidateQueryRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe query definition specified with the Query DSL
requestParameters
ValidateQueryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesValidateQueryForAll<TResponse>(PostData, ValidateQueryRequestParameters)
POST on /_validate/query
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html
TResponse IndicesValidateQueryForAll<TResponse>(PostData body, ValidateQueryRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe query definition specified with the Query DSL
requestParameters
ValidateQueryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesValidateQueryGetAsync<TResponse>(string, ValidateQueryRequestParameters, CancellationToken)
GET on /{index}/_validate/query
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html
Task<TResponse> IndicesValidateQueryGetAsync<TResponse>(string index, ValidateQueryRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to restrict the operation; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
ValidateQueryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesValidateQueryGetAsync<TResponse>(string, string, ValidateQueryRequestParameters, CancellationToken)
GET on /{index}/{type}/_validate/query
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html
Task<TResponse> IndicesValidateQueryGetAsync<TResponse>(string index, string type, ValidateQueryRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to restrict the operation; use the special string
_all
or Indices.All to perform the operation on all indicestype
stringA comma-separated list of document types to restrict the operation; leave empty to perform the operation on all types
requestParameters
ValidateQueryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesValidateQueryGetForAllAsync<TResponse>(ValidateQueryRequestParameters, CancellationToken)
GET on /_validate/query
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html
Task<TResponse> IndicesValidateQueryGetForAllAsync<TResponse>(ValidateQueryRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
ValidateQueryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IndicesValidateQueryGetForAll<TResponse>(ValidateQueryRequestParameters)
GET on /_validate/query
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html
TResponse IndicesValidateQueryGetForAll<TResponse>(ValidateQueryRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
ValidateQueryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesValidateQueryGet<TResponse>(string, ValidateQueryRequestParameters)
GET on /{index}/_validate/query
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html
TResponse IndicesValidateQueryGet<TResponse>(string index, ValidateQueryRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to restrict the operation; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
ValidateQueryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesValidateQueryGet<TResponse>(string, string, ValidateQueryRequestParameters)
GET on /{index}/{type}/_validate/query
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html
TResponse IndicesValidateQueryGet<TResponse>(string index, string type, ValidateQueryRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to restrict the operation; use the special string
_all
or Indices.All to perform the operation on all indicestype
stringA comma-separated list of document types to restrict the operation; leave empty to perform the operation on all types
requestParameters
ValidateQueryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesValidateQuery<TResponse>(string, PostData, ValidateQueryRequestParameters)
POST on /{index}/_validate/query
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html
TResponse IndicesValidateQuery<TResponse>(string index, PostData body, ValidateQueryRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to restrict the operation; use the special string
_all
or Indices.All to perform the operation on all indicesbody
PostDataThe query definition specified with the Query DSL
requestParameters
ValidateQueryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IndicesValidateQuery<TResponse>(string, string, PostData, ValidateQueryRequestParameters)
POST on /{index}/{type}/_validate/query
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html
TResponse IndicesValidateQuery<TResponse>(string index, string type, PostData body, ValidateQueryRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to restrict the operation; use the special string
_all
or Indices.All to perform the operation on all indicestype
stringA comma-separated list of document types to restrict the operation; leave empty to perform the operation on all types
body
PostDataThe query definition specified with the Query DSL
requestParameters
ValidateQueryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
InfoAsync<TResponse>(RootNodeInfoRequestParameters, CancellationToken)
GET on /
http://www.elastic.co/guide/
Task<TResponse> InfoAsync<TResponse>(RootNodeInfoRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
RootNodeInfoRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
Info<TResponse>(RootNodeInfoRequestParameters)
GET on /
http://www.elastic.co/guide/
TResponse Info<TResponse>(RootNodeInfoRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
RootNodeInfoRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IngestDeletePipelineAsync<TResponse>(string, DeletePipelineRequestParameters, CancellationToken)
DELETE on /_ingest/pipeline/{id}
https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html
Task<TResponse> IngestDeletePipelineAsync<TResponse>(string id, DeletePipelineRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringPipeline ID
requestParameters
DeletePipelineRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IngestDeletePipeline<TResponse>(string, DeletePipelineRequestParameters)
DELETE on /_ingest/pipeline/{id}
https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html
TResponse IngestDeletePipeline<TResponse>(string id, DeletePipelineRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringPipeline ID
requestParameters
DeletePipelineRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IngestGetPipelineAsync<TResponse>(GetPipelineRequestParameters, CancellationToken)
GET on /_ingest/pipeline
https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html
Task<TResponse> IngestGetPipelineAsync<TResponse>(GetPipelineRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
GetPipelineRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IngestGetPipelineAsync<TResponse>(string, GetPipelineRequestParameters, CancellationToken)
GET on /_ingest/pipeline/{id}
https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html
Task<TResponse> IngestGetPipelineAsync<TResponse>(string id, GetPipelineRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringComma separated list of pipeline ids. Wildcards supported
requestParameters
GetPipelineRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IngestGetPipeline<TResponse>(GetPipelineRequestParameters)
GET on /_ingest/pipeline
https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html
TResponse IngestGetPipeline<TResponse>(GetPipelineRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
GetPipelineRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IngestGetPipeline<TResponse>(string, GetPipelineRequestParameters)
GET on /_ingest/pipeline/{id}
https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html
TResponse IngestGetPipeline<TResponse>(string id, GetPipelineRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringComma separated list of pipeline ids. Wildcards supported
requestParameters
GetPipelineRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IngestProcessorGrokAsync<TResponse>(GrokProcessorPatternsRequestParameters, CancellationToken)
GET on /_ingest/processor/grok
https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html
Task<TResponse> IngestProcessorGrokAsync<TResponse>(GrokProcessorPatternsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
GrokProcessorPatternsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IngestProcessorGrok<TResponse>(GrokProcessorPatternsRequestParameters)
GET on /_ingest/processor/grok
https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html
TResponse IngestProcessorGrok<TResponse>(GrokProcessorPatternsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
GrokProcessorPatternsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IngestPutPipelineAsync<TResponse>(string, PostData, PutPipelineRequestParameters, CancellationToken)
PUT on /_ingest/pipeline/{id}
https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html
Task<TResponse> IngestPutPipelineAsync<TResponse>(string id, PostData body, PutPipelineRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringPipeline ID
body
PostDataThe ingest definition
requestParameters
PutPipelineRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IngestPutPipeline<TResponse>(string, PostData, PutPipelineRequestParameters)
PUT on /_ingest/pipeline/{id}
https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html
TResponse IngestPutPipeline<TResponse>(string id, PostData body, PutPipelineRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringPipeline ID
body
PostDataThe ingest definition
requestParameters
PutPipelineRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IngestSimulateAsync<TResponse>(PostData, SimulatePipelineRequestParameters, CancellationToken)
POST on /_ingest/pipeline/_simulate
https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html
Task<TResponse> IngestSimulateAsync<TResponse>(PostData body, SimulatePipelineRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe simulate definition
requestParameters
SimulatePipelineRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IngestSimulateAsync<TResponse>(string, PostData, SimulatePipelineRequestParameters, CancellationToken)
POST on /_ingest/pipeline/{id}/_simulate
https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html
Task<TResponse> IngestSimulateAsync<TResponse>(string id, PostData body, SimulatePipelineRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringPipeline ID
body
PostDataThe simulate definition
requestParameters
SimulatePipelineRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IngestSimulateGetAsync<TResponse>(SimulatePipelineRequestParameters, CancellationToken)
GET on /_ingest/pipeline/_simulate
https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html
Task<TResponse> IngestSimulateGetAsync<TResponse>(SimulatePipelineRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
SimulatePipelineRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IngestSimulateGetAsync<TResponse>(string, SimulatePipelineRequestParameters, CancellationToken)
GET on /_ingest/pipeline/{id}/_simulate
https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html
Task<TResponse> IngestSimulateGetAsync<TResponse>(string id, SimulatePipelineRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringPipeline ID
requestParameters
SimulatePipelineRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
IngestSimulateGet<TResponse>(SimulatePipelineRequestParameters)
GET on /_ingest/pipeline/_simulate
https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html
TResponse IngestSimulateGet<TResponse>(SimulatePipelineRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
SimulatePipelineRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IngestSimulateGet<TResponse>(string, SimulatePipelineRequestParameters)
GET on /_ingest/pipeline/{id}/_simulate
https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html
TResponse IngestSimulateGet<TResponse>(string id, SimulatePipelineRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringPipeline ID
requestParameters
SimulatePipelineRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IngestSimulate<TResponse>(PostData, SimulatePipelineRequestParameters)
POST on /_ingest/pipeline/_simulate
https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html
TResponse IngestSimulate<TResponse>(PostData body, SimulatePipelineRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe simulate definition
requestParameters
SimulatePipelineRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
IngestSimulate<TResponse>(string, PostData, SimulatePipelineRequestParameters)
POST on /_ingest/pipeline/{id}/_simulate
https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html
TResponse IngestSimulate<TResponse>(string id, PostData body, SimulatePipelineRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringPipeline ID
body
PostDataThe simulate definition
requestParameters
SimulatePipelineRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
MgetAsync<TResponse>(PostData, MultiGetRequestParameters, CancellationToken)
POST on /_mget
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html
Task<TResponse> MgetAsync<TResponse>(PostData body, MultiGetRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataDocument identifiers; can be either
docs
(containing full document information) orids
(when index and type is provided in the URL.requestParameters
MultiGetRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
MgetAsync<TResponse>(string, PostData, MultiGetRequestParameters, CancellationToken)
POST on /{index}/_mget
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html
Task<TResponse> MgetAsync<TResponse>(string index, PostData body, MultiGetRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
body
PostDataDocument identifiers; can be either
docs
(containing full document information) orids
(when index and type is provided in the URL.requestParameters
MultiGetRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
MgetAsync<TResponse>(string, string, PostData, MultiGetRequestParameters, CancellationToken)
POST on /{index}/{type}/_mget
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html
Task<TResponse> MgetAsync<TResponse>(string index, string type, PostData body, MultiGetRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
type
stringThe type of the document
body
PostDataDocument identifiers; can be either
docs
(containing full document information) orids
(when index and type is provided in the URL.requestParameters
MultiGetRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
MgetGetAsync<TResponse>(MultiGetRequestParameters, CancellationToken)
GET on /_mget
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html
Task<TResponse> MgetGetAsync<TResponse>(MultiGetRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
MultiGetRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
MgetGetAsync<TResponse>(string, MultiGetRequestParameters, CancellationToken)
GET on /{index}/_mget
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html
Task<TResponse> MgetGetAsync<TResponse>(string index, MultiGetRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
requestParameters
MultiGetRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
MgetGetAsync<TResponse>(string, string, MultiGetRequestParameters, CancellationToken)
GET on /{index}/{type}/_mget
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html
Task<TResponse> MgetGetAsync<TResponse>(string index, string type, MultiGetRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
type
stringThe type of the document
requestParameters
MultiGetRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
MgetGet<TResponse>(MultiGetRequestParameters)
GET on /_mget
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html
TResponse MgetGet<TResponse>(MultiGetRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
MultiGetRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
MgetGet<TResponse>(string, MultiGetRequestParameters)
GET on /{index}/_mget
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html
TResponse MgetGet<TResponse>(string index, MultiGetRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
requestParameters
MultiGetRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
MgetGet<TResponse>(string, string, MultiGetRequestParameters)
GET on /{index}/{type}/_mget
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html
TResponse MgetGet<TResponse>(string index, string type, MultiGetRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
type
stringThe type of the document
requestParameters
MultiGetRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
Mget<TResponse>(PostData, MultiGetRequestParameters)
POST on /_mget
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html
TResponse Mget<TResponse>(PostData body, MultiGetRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataDocument identifiers; can be either
docs
(containing full document information) orids
(when index and type is provided in the URL.requestParameters
MultiGetRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
Mget<TResponse>(string, PostData, MultiGetRequestParameters)
POST on /{index}/_mget
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html
TResponse Mget<TResponse>(string index, PostData body, MultiGetRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
body
PostDataDocument identifiers; can be either
docs
(containing full document information) orids
(when index and type is provided in the URL.requestParameters
MultiGetRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
Mget<TResponse>(string, string, PostData, MultiGetRequestParameters)
POST on /{index}/{type}/_mget
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html
TResponse Mget<TResponse>(string index, string type, PostData body, MultiGetRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
type
stringThe type of the document
body
PostDataDocument identifiers; can be either
docs
(containing full document information) orids
(when index and type is provided in the URL.requestParameters
MultiGetRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
MsearchAsync<TResponse>(PostData, MultiSearchRequestParameters, CancellationToken)
POST on /_msearch
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html
Task<TResponse> MsearchAsync<TResponse>(PostData body, MultiSearchRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe request definitions (metadata-search request definition pairs), separated by newlines
requestParameters
MultiSearchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
MsearchAsync<TResponse>(string, PostData, MultiSearchRequestParameters, CancellationToken)
POST on /{index}/_msearch
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html
Task<TResponse> MsearchAsync<TResponse>(string index, PostData body, MultiSearchRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to use as default
body
PostDataThe request definitions (metadata-search request definition pairs), separated by newlines
requestParameters
MultiSearchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
MsearchAsync<TResponse>(string, string, PostData, MultiSearchRequestParameters, CancellationToken)
POST on /{index}/{type}/_msearch
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html
Task<TResponse> MsearchAsync<TResponse>(string index, string type, PostData body, MultiSearchRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to use as default
type
stringA comma-separated list of document types to use as default
body
PostDataThe request definitions (metadata-search request definition pairs), separated by newlines
requestParameters
MultiSearchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
MsearchGetAsync<TResponse>(MultiSearchRequestParameters, CancellationToken)
GET on /_msearch
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html
Task<TResponse> MsearchGetAsync<TResponse>(MultiSearchRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
MultiSearchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
MsearchGetAsync<TResponse>(string, MultiSearchRequestParameters, CancellationToken)
GET on /{index}/_msearch
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html
Task<TResponse> MsearchGetAsync<TResponse>(string index, MultiSearchRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to use as default
requestParameters
MultiSearchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
MsearchGetAsync<TResponse>(string, string, MultiSearchRequestParameters, CancellationToken)
GET on /{index}/{type}/_msearch
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html
Task<TResponse> MsearchGetAsync<TResponse>(string index, string type, MultiSearchRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to use as default
type
stringA comma-separated list of document types to use as default
requestParameters
MultiSearchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
MsearchGet<TResponse>(MultiSearchRequestParameters)
GET on /_msearch
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html
TResponse MsearchGet<TResponse>(MultiSearchRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
MultiSearchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
MsearchGet<TResponse>(string, MultiSearchRequestParameters)
GET on /{index}/_msearch
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html
TResponse MsearchGet<TResponse>(string index, MultiSearchRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to use as default
requestParameters
MultiSearchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
MsearchGet<TResponse>(string, string, MultiSearchRequestParameters)
GET on /{index}/{type}/_msearch
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html
TResponse MsearchGet<TResponse>(string index, string type, MultiSearchRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to use as default
type
stringA comma-separated list of document types to use as default
requestParameters
MultiSearchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
MsearchTemplateAsync<TResponse>(PostData, MultiSearchTemplateRequestParameters, CancellationToken)
POST on /_msearch/template
http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html
Task<TResponse> MsearchTemplateAsync<TResponse>(PostData body, MultiSearchTemplateRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe request definitions (metadata-search request definition pairs), separated by newlines
requestParameters
MultiSearchTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
MsearchTemplateAsync<TResponse>(string, PostData, MultiSearchTemplateRequestParameters, CancellationToken)
POST on /{index}/_msearch/template
http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html
Task<TResponse> MsearchTemplateAsync<TResponse>(string index, PostData body, MultiSearchTemplateRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to use as default
body
PostDataThe request definitions (metadata-search request definition pairs), separated by newlines
requestParameters
MultiSearchTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
MsearchTemplateAsync<TResponse>(string, string, PostData, MultiSearchTemplateRequestParameters, CancellationToken)
POST on /{index}/{type}/_msearch/template
http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html
Task<TResponse> MsearchTemplateAsync<TResponse>(string index, string type, PostData body, MultiSearchTemplateRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to use as default
type
stringA comma-separated list of document types to use as default
body
PostDataThe request definitions (metadata-search request definition pairs), separated by newlines
requestParameters
MultiSearchTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
MsearchTemplateGetAsync<TResponse>(MultiSearchTemplateRequestParameters, CancellationToken)
GET on /_msearch/template
http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html
Task<TResponse> MsearchTemplateGetAsync<TResponse>(MultiSearchTemplateRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
MultiSearchTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
MsearchTemplateGetAsync<TResponse>(string, MultiSearchTemplateRequestParameters, CancellationToken)
GET on /{index}/_msearch/template
http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html
Task<TResponse> MsearchTemplateGetAsync<TResponse>(string index, MultiSearchTemplateRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to use as default
requestParameters
MultiSearchTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
MsearchTemplateGetAsync<TResponse>(string, string, MultiSearchTemplateRequestParameters, CancellationToken)
GET on /{index}/{type}/_msearch/template
http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html
Task<TResponse> MsearchTemplateGetAsync<TResponse>(string index, string type, MultiSearchTemplateRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to use as default
type
stringA comma-separated list of document types to use as default
requestParameters
MultiSearchTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
MsearchTemplateGet<TResponse>(MultiSearchTemplateRequestParameters)
GET on /_msearch/template
http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html
TResponse MsearchTemplateGet<TResponse>(MultiSearchTemplateRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
MultiSearchTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
MsearchTemplateGet<TResponse>(string, MultiSearchTemplateRequestParameters)
GET on /{index}/_msearch/template
http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html
TResponse MsearchTemplateGet<TResponse>(string index, MultiSearchTemplateRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to use as default
requestParameters
MultiSearchTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
MsearchTemplateGet<TResponse>(string, string, MultiSearchTemplateRequestParameters)
GET on /{index}/{type}/_msearch/template
http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html
TResponse MsearchTemplateGet<TResponse>(string index, string type, MultiSearchTemplateRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to use as default
type
stringA comma-separated list of document types to use as default
requestParameters
MultiSearchTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
MsearchTemplate<TResponse>(PostData, MultiSearchTemplateRequestParameters)
POST on /_msearch/template
http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html
TResponse MsearchTemplate<TResponse>(PostData body, MultiSearchTemplateRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe request definitions (metadata-search request definition pairs), separated by newlines
requestParameters
MultiSearchTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
MsearchTemplate<TResponse>(string, PostData, MultiSearchTemplateRequestParameters)
POST on /{index}/_msearch/template
http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html
TResponse MsearchTemplate<TResponse>(string index, PostData body, MultiSearchTemplateRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to use as default
body
PostDataThe request definitions (metadata-search request definition pairs), separated by newlines
requestParameters
MultiSearchTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
MsearchTemplate<TResponse>(string, string, PostData, MultiSearchTemplateRequestParameters)
POST on /{index}/{type}/_msearch/template
http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html
TResponse MsearchTemplate<TResponse>(string index, string type, PostData body, MultiSearchTemplateRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to use as default
type
stringA comma-separated list of document types to use as default
body
PostDataThe request definitions (metadata-search request definition pairs), separated by newlines
requestParameters
MultiSearchTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
Msearch<TResponse>(PostData, MultiSearchRequestParameters)
POST on /_msearch
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html
TResponse Msearch<TResponse>(PostData body, MultiSearchRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe request definitions (metadata-search request definition pairs), separated by newlines
requestParameters
MultiSearchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
Msearch<TResponse>(string, PostData, MultiSearchRequestParameters)
POST on /{index}/_msearch
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html
TResponse Msearch<TResponse>(string index, PostData body, MultiSearchRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to use as default
body
PostDataThe request definitions (metadata-search request definition pairs), separated by newlines
requestParameters
MultiSearchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
Msearch<TResponse>(string, string, PostData, MultiSearchRequestParameters)
POST on /{index}/{type}/_msearch
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html
TResponse Msearch<TResponse>(string index, string type, PostData body, MultiSearchRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to use as default
type
stringA comma-separated list of document types to use as default
body
PostDataThe request definitions (metadata-search request definition pairs), separated by newlines
requestParameters
MultiSearchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
MtermvectorsAsync<TResponse>(PostData, MultiTermVectorsRequestParameters, CancellationToken)
POST on /_mtermvectors
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html
Task<TResponse> MtermvectorsAsync<TResponse>(PostData body, MultiTermVectorsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataDefine ids, documents, parameters or a list of parameters per document here. You must at least provide a list of document ids. See documentation.
requestParameters
MultiTermVectorsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
MtermvectorsAsync<TResponse>(string, PostData, MultiTermVectorsRequestParameters, CancellationToken)
POST on /{index}/_mtermvectors
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html
Task<TResponse> MtermvectorsAsync<TResponse>(string index, PostData body, MultiTermVectorsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe index in which the document resides.
body
PostDataDefine ids, documents, parameters or a list of parameters per document here. You must at least provide a list of document ids. See documentation.
requestParameters
MultiTermVectorsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
MtermvectorsAsync<TResponse>(string, string, PostData, MultiTermVectorsRequestParameters, CancellationToken)
POST on /{index}/{type}/_mtermvectors
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html
Task<TResponse> MtermvectorsAsync<TResponse>(string index, string type, PostData body, MultiTermVectorsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe index in which the document resides.
type
stringThe type of the document.
body
PostDataDefine ids, documents, parameters or a list of parameters per document here. You must at least provide a list of document ids. See documentation.
requestParameters
MultiTermVectorsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
MtermvectorsGetAsync<TResponse>(MultiTermVectorsRequestParameters, CancellationToken)
GET on /_mtermvectors
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html
Task<TResponse> MtermvectorsGetAsync<TResponse>(MultiTermVectorsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
MultiTermVectorsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
MtermvectorsGetAsync<TResponse>(string, MultiTermVectorsRequestParameters, CancellationToken)
GET on /{index}/_mtermvectors
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html
Task<TResponse> MtermvectorsGetAsync<TResponse>(string index, MultiTermVectorsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe index in which the document resides.
requestParameters
MultiTermVectorsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
MtermvectorsGetAsync<TResponse>(string, string, MultiTermVectorsRequestParameters, CancellationToken)
GET on /{index}/{type}/_mtermvectors
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html
Task<TResponse> MtermvectorsGetAsync<TResponse>(string index, string type, MultiTermVectorsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe index in which the document resides.
type
stringThe type of the document.
requestParameters
MultiTermVectorsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
MtermvectorsGet<TResponse>(MultiTermVectorsRequestParameters)
GET on /_mtermvectors
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html
TResponse MtermvectorsGet<TResponse>(MultiTermVectorsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
MultiTermVectorsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
MtermvectorsGet<TResponse>(string, MultiTermVectorsRequestParameters)
GET on /{index}/_mtermvectors
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html
TResponse MtermvectorsGet<TResponse>(string index, MultiTermVectorsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe index in which the document resides.
requestParameters
MultiTermVectorsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
MtermvectorsGet<TResponse>(string, string, MultiTermVectorsRequestParameters)
GET on /{index}/{type}/_mtermvectors
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html
TResponse MtermvectorsGet<TResponse>(string index, string type, MultiTermVectorsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe index in which the document resides.
type
stringThe type of the document.
requestParameters
MultiTermVectorsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
Mtermvectors<TResponse>(PostData, MultiTermVectorsRequestParameters)
POST on /_mtermvectors
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html
TResponse Mtermvectors<TResponse>(PostData body, MultiTermVectorsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataDefine ids, documents, parameters or a list of parameters per document here. You must at least provide a list of document ids. See documentation.
requestParameters
MultiTermVectorsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
Mtermvectors<TResponse>(string, PostData, MultiTermVectorsRequestParameters)
POST on /{index}/_mtermvectors
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html
TResponse Mtermvectors<TResponse>(string index, PostData body, MultiTermVectorsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe index in which the document resides.
body
PostDataDefine ids, documents, parameters or a list of parameters per document here. You must at least provide a list of document ids. See documentation.
requestParameters
MultiTermVectorsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
Mtermvectors<TResponse>(string, string, PostData, MultiTermVectorsRequestParameters)
POST on /{index}/{type}/_mtermvectors
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html
TResponse Mtermvectors<TResponse>(string index, string type, PostData body, MultiTermVectorsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe index in which the document resides.
type
stringThe type of the document.
body
PostDataDefine ids, documents, parameters or a list of parameters per document here. You must at least provide a list of document ids. See documentation.
requestParameters
MultiTermVectorsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
NodesHotThreadsAsync<TResponse>(string, NodesHotThreadsRequestParameters, CancellationToken)
GET on /_cluster/nodes/{node_id}/hotthreads
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html
Task<TResponse> NodesHotThreadsAsync<TResponse>(string node_id, NodesHotThreadsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
node_id
stringA comma-separated list of node IDs or names to limit the returned information; use
_local
to return information from the node you're connecting to, leave empty to get information from all nodesrequestParameters
NodesHotThreadsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
NodesHotThreadsForAllAsync<TResponse>(NodesHotThreadsRequestParameters, CancellationToken)
GET on /_cluster/nodes/hotthreads
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html
Task<TResponse> NodesHotThreadsForAllAsync<TResponse>(NodesHotThreadsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
NodesHotThreadsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
NodesHotThreadsForAll<TResponse>(NodesHotThreadsRequestParameters)
GET on /_cluster/nodes/hotthreads
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html
TResponse NodesHotThreadsForAll<TResponse>(NodesHotThreadsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
NodesHotThreadsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
NodesHotThreads<TResponse>(string, NodesHotThreadsRequestParameters)
GET on /_cluster/nodes/{node_id}/hotthreads
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html
TResponse NodesHotThreads<TResponse>(string node_id, NodesHotThreadsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
node_id
stringA comma-separated list of node IDs or names to limit the returned information; use
_local
to return information from the node you're connecting to, leave empty to get information from all nodesrequestParameters
NodesHotThreadsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
NodesInfoAsync<TResponse>(string, NodesInfoRequestParameters, CancellationToken)
GET on /_nodes/{node_id}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html
Task<TResponse> NodesInfoAsync<TResponse>(string node_id, NodesInfoRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
node_id
stringA comma-separated list of node IDs or names to limit the returned information; use
_local
to return information from the node you're connecting to, leave empty to get information from all nodesrequestParameters
NodesInfoRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
NodesInfoAsync<TResponse>(string, string, NodesInfoRequestParameters, CancellationToken)
GET on /_nodes/{node_id}/{metric}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html
Task<TResponse> NodesInfoAsync<TResponse>(string node_id, string metric, NodesInfoRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
node_id
stringA comma-separated list of node IDs or names to limit the returned information; use
_local
to return information from the node you're connecting to, leave empty to get information from all nodesmetric
stringA comma-separated list of metrics you wish returned. Leave empty to return all.
requestParameters
NodesInfoRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
NodesInfoForAllAsync<TResponse>(NodesInfoRequestParameters, CancellationToken)
GET on /_nodes
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html
Task<TResponse> NodesInfoForAllAsync<TResponse>(NodesInfoRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
NodesInfoRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
NodesInfoForAllAsync<TResponse>(string, NodesInfoRequestParameters, CancellationToken)
GET on /_nodes/{metric}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html
Task<TResponse> NodesInfoForAllAsync<TResponse>(string metric, NodesInfoRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
metric
stringA comma-separated list of metrics you wish returned. Leave empty to return all.
requestParameters
NodesInfoRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
NodesInfoForAll<TResponse>(NodesInfoRequestParameters)
GET on /_nodes
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html
TResponse NodesInfoForAll<TResponse>(NodesInfoRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
NodesInfoRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
NodesInfoForAll<TResponse>(string, NodesInfoRequestParameters)
GET on /_nodes/{metric}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html
TResponse NodesInfoForAll<TResponse>(string metric, NodesInfoRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
metric
stringA comma-separated list of metrics you wish returned. Leave empty to return all.
requestParameters
NodesInfoRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
NodesInfo<TResponse>(string, NodesInfoRequestParameters)
GET on /_nodes/{node_id}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html
TResponse NodesInfo<TResponse>(string node_id, NodesInfoRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
node_id
stringA comma-separated list of node IDs or names to limit the returned information; use
_local
to return information from the node you're connecting to, leave empty to get information from all nodesrequestParameters
NodesInfoRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
NodesInfo<TResponse>(string, string, NodesInfoRequestParameters)
GET on /_nodes/{node_id}/{metric}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html
TResponse NodesInfo<TResponse>(string node_id, string metric, NodesInfoRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
node_id
stringA comma-separated list of node IDs or names to limit the returned information; use
_local
to return information from the node you're connecting to, leave empty to get information from all nodesmetric
stringA comma-separated list of metrics you wish returned. Leave empty to return all.
requestParameters
NodesInfoRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
NodesStatsAsync<TResponse>(string, NodesStatsRequestParameters, CancellationToken)
GET on /_nodes/{node_id}/stats
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html
Task<TResponse> NodesStatsAsync<TResponse>(string node_id, NodesStatsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
node_id
stringA comma-separated list of node IDs or names to limit the returned information; use
_local
to return information from the node you're connecting to, leave empty to get information from all nodesrequestParameters
NodesStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
NodesStatsAsync<TResponse>(string, string, NodesStatsRequestParameters, CancellationToken)
GET on /_nodes/{node_id}/stats/{metric}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html
Task<TResponse> NodesStatsAsync<TResponse>(string node_id, string metric, NodesStatsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
node_id
stringA comma-separated list of node IDs or names to limit the returned information; use
_local
to return information from the node you're connecting to, leave empty to get information from all nodesmetric
stringLimit the information returned to the specified metrics
requestParameters
NodesStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
NodesStatsAsync<TResponse>(string, string, string, NodesStatsRequestParameters, CancellationToken)
GET on /_nodes/{node_id}/stats/{metric}/{index_metric}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html
Task<TResponse> NodesStatsAsync<TResponse>(string node_id, string metric, string index_metric, NodesStatsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
node_id
stringA comma-separated list of node IDs or names to limit the returned information; use
_local
to return information from the node you're connecting to, leave empty to get information from all nodesmetric
stringLimit the information returned to the specified metrics
index_metric
stringLimit the information returned for
indices
metric to the specific index metrics. Isn't used ifindices
(orall
) metric isn't specified.requestParameters
NodesStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
NodesStatsForAllAsync<TResponse>(NodesStatsRequestParameters, CancellationToken)
GET on /_nodes/stats
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html
Task<TResponse> NodesStatsForAllAsync<TResponse>(NodesStatsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
NodesStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
NodesStatsForAllAsync<TResponse>(string, NodesStatsRequestParameters, CancellationToken)
GET on /_nodes/stats/{metric}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html
Task<TResponse> NodesStatsForAllAsync<TResponse>(string metric, NodesStatsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
metric
stringLimit the information returned to the specified metrics
requestParameters
NodesStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
NodesStatsForAllAsync<TResponse>(string, string, NodesStatsRequestParameters, CancellationToken)
GET on /_nodes/stats/{metric}/{index_metric}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html
Task<TResponse> NodesStatsForAllAsync<TResponse>(string metric, string index_metric, NodesStatsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
metric
stringLimit the information returned to the specified metrics
index_metric
stringLimit the information returned for
indices
metric to the specific index metrics. Isn't used ifindices
(orall
) metric isn't specified.requestParameters
NodesStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
NodesStatsForAll<TResponse>(NodesStatsRequestParameters)
GET on /_nodes/stats
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html
TResponse NodesStatsForAll<TResponse>(NodesStatsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
NodesStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
NodesStatsForAll<TResponse>(string, NodesStatsRequestParameters)
GET on /_nodes/stats/{metric}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html
TResponse NodesStatsForAll<TResponse>(string metric, NodesStatsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
metric
stringLimit the information returned to the specified metrics
requestParameters
NodesStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
NodesStatsForAll<TResponse>(string, string, NodesStatsRequestParameters)
GET on /_nodes/stats/{metric}/{index_metric}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html
TResponse NodesStatsForAll<TResponse>(string metric, string index_metric, NodesStatsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
metric
stringLimit the information returned to the specified metrics
index_metric
stringLimit the information returned for
indices
metric to the specific index metrics. Isn't used ifindices
(orall
) metric isn't specified.requestParameters
NodesStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
NodesStats<TResponse>(string, NodesStatsRequestParameters)
GET on /_nodes/{node_id}/stats
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html
TResponse NodesStats<TResponse>(string node_id, NodesStatsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
node_id
stringA comma-separated list of node IDs or names to limit the returned information; use
_local
to return information from the node you're connecting to, leave empty to get information from all nodesrequestParameters
NodesStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
NodesStats<TResponse>(string, string, NodesStatsRequestParameters)
GET on /_nodes/{node_id}/stats/{metric}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html
TResponse NodesStats<TResponse>(string node_id, string metric, NodesStatsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
node_id
stringA comma-separated list of node IDs or names to limit the returned information; use
_local
to return information from the node you're connecting to, leave empty to get information from all nodesmetric
stringLimit the information returned to the specified metrics
requestParameters
NodesStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
NodesStats<TResponse>(string, string, string, NodesStatsRequestParameters)
GET on /_nodes/{node_id}/stats/{metric}/{index_metric}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html
TResponse NodesStats<TResponse>(string node_id, string metric, string index_metric, NodesStatsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
node_id
stringA comma-separated list of node IDs or names to limit the returned information; use
_local
to return information from the node you're connecting to, leave empty to get information from all nodesmetric
stringLimit the information returned to the specified metrics
index_metric
stringLimit the information returned for
indices
metric to the specific index metrics. Isn't used ifindices
(orall
) metric isn't specified.requestParameters
NodesStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
NodesUsageAsync<TResponse>(string, NodesUsageRequestParameters, CancellationToken)
GET on /_nodes/{node_id}/usage
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html
Task<TResponse> NodesUsageAsync<TResponse>(string node_id, NodesUsageRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
node_id
stringA comma-separated list of node IDs or names to limit the returned information; use
_local
to return information from the node you're connecting to, leave empty to get information from all nodesrequestParameters
NodesUsageRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
NodesUsageAsync<TResponse>(string, string, NodesUsageRequestParameters, CancellationToken)
GET on /_nodes/{node_id}/usage/{metric}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html
Task<TResponse> NodesUsageAsync<TResponse>(string node_id, string metric, NodesUsageRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
node_id
stringA comma-separated list of node IDs or names to limit the returned information; use
_local
to return information from the node you're connecting to, leave empty to get information from all nodesmetric
stringLimit the information returned to the specified metrics
requestParameters
NodesUsageRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
NodesUsageForAllAsync<TResponse>(NodesUsageRequestParameters, CancellationToken)
GET on /_nodes/usage
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html
Task<TResponse> NodesUsageForAllAsync<TResponse>(NodesUsageRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
NodesUsageRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
NodesUsageForAllAsync<TResponse>(string, NodesUsageRequestParameters, CancellationToken)
GET on /_nodes/usage/{metric}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html
Task<TResponse> NodesUsageForAllAsync<TResponse>(string metric, NodesUsageRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
metric
stringLimit the information returned to the specified metrics
requestParameters
NodesUsageRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
NodesUsageForAll<TResponse>(NodesUsageRequestParameters)
GET on /_nodes/usage
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html
TResponse NodesUsageForAll<TResponse>(NodesUsageRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
NodesUsageRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
NodesUsageForAll<TResponse>(string, NodesUsageRequestParameters)
GET on /_nodes/usage/{metric}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html
TResponse NodesUsageForAll<TResponse>(string metric, NodesUsageRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
metric
stringLimit the information returned to the specified metrics
requestParameters
NodesUsageRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
NodesUsage<TResponse>(string, NodesUsageRequestParameters)
GET on /_nodes/{node_id}/usage
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html
TResponse NodesUsage<TResponse>(string node_id, NodesUsageRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
node_id
stringA comma-separated list of node IDs or names to limit the returned information; use
_local
to return information from the node you're connecting to, leave empty to get information from all nodesrequestParameters
NodesUsageRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
NodesUsage<TResponse>(string, string, NodesUsageRequestParameters)
GET on /_nodes/{node_id}/usage/{metric}
http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html
TResponse NodesUsage<TResponse>(string node_id, string metric, NodesUsageRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
node_id
stringA comma-separated list of node IDs or names to limit the returned information; use
_local
to return information from the node you're connecting to, leave empty to get information from all nodesmetric
stringLimit the information returned to the specified metrics
requestParameters
NodesUsageRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
PingAsync<TResponse>(PingRequestParameters, CancellationToken)
HEAD on /
http://www.elastic.co/guide/
Task<TResponse> PingAsync<TResponse>(PingRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
PingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
Ping<TResponse>(PingRequestParameters)
HEAD on /
http://www.elastic.co/guide/
TResponse Ping<TResponse>(PingRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
PingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
PutScriptAsync<TResponse>(string, PostData, PutScriptRequestParameters, CancellationToken)
PUT on /_scripts/{id}
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html
Task<TResponse> PutScriptAsync<TResponse>(string id, PostData body, PutScriptRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringScript ID
body
PostDataThe document
requestParameters
PutScriptRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
PutScriptAsync<TResponse>(string, string, PostData, PutScriptRequestParameters, CancellationToken)
PUT on /_scripts/{id}/{context}
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html
Task<TResponse> PutScriptAsync<TResponse>(string id, string context, PostData body, PutScriptRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringScript ID
context
stringScript context
body
PostDataThe document
requestParameters
PutScriptRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
PutScriptPostAsync<TResponse>(string, PostData, PutScriptRequestParameters, CancellationToken)
POST on /_scripts/{id}
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html
Task<TResponse> PutScriptPostAsync<TResponse>(string id, PostData body, PutScriptRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringScript ID
body
PostDataThe document
requestParameters
PutScriptRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
PutScriptPostAsync<TResponse>(string, string, PostData, PutScriptRequestParameters, CancellationToken)
POST on /_scripts/{id}/{context}
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html
Task<TResponse> PutScriptPostAsync<TResponse>(string id, string context, PostData body, PutScriptRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringScript ID
context
stringScript context
body
PostDataThe document
requestParameters
PutScriptRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
PutScriptPost<TResponse>(string, PostData, PutScriptRequestParameters)
POST on /_scripts/{id}
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html
TResponse PutScriptPost<TResponse>(string id, PostData body, PutScriptRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringScript ID
body
PostDataThe document
requestParameters
PutScriptRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
PutScriptPost<TResponse>(string, string, PostData, PutScriptRequestParameters)
POST on /_scripts/{id}/{context}
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html
TResponse PutScriptPost<TResponse>(string id, string context, PostData body, PutScriptRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringScript ID
context
stringScript context
body
PostDataThe document
requestParameters
PutScriptRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
PutScript<TResponse>(string, PostData, PutScriptRequestParameters)
PUT on /_scripts/{id}
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html
TResponse PutScript<TResponse>(string id, PostData body, PutScriptRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringScript ID
body
PostDataThe document
requestParameters
PutScriptRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
PutScript<TResponse>(string, string, PostData, PutScriptRequestParameters)
PUT on /_scripts/{id}/{context}
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html
TResponse PutScript<TResponse>(string id, string context, PostData body, PutScriptRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringScript ID
context
stringScript context
body
PostDataThe document
requestParameters
PutScriptRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
ReindexAsync<TResponse>(PostData, ReindexOnServerRequestParameters, CancellationToken)
POST on /_reindex
https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html
Task<TResponse> ReindexAsync<TResponse>(PostData body, ReindexOnServerRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe search definition using the Query DSL and the prototype for the index request.
requestParameters
ReindexOnServerRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
ReindexRethrottleAsync<TResponse>(string, ReindexRethrottleRequestParameters, CancellationToken)
POST on /_reindex/{task_id}/_rethrottle
https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html
Task<TResponse> ReindexRethrottleAsync<TResponse>(string task_id, ReindexRethrottleRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
task_id
stringThe task id to rethrottle
requestParameters
ReindexRethrottleRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
ReindexRethrottle<TResponse>(string, ReindexRethrottleRequestParameters)
POST on /_reindex/{task_id}/_rethrottle
https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html
TResponse ReindexRethrottle<TResponse>(string task_id, ReindexRethrottleRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
task_id
stringThe task id to rethrottle
requestParameters
ReindexRethrottleRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
Reindex<TResponse>(PostData, ReindexOnServerRequestParameters)
POST on /_reindex
https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html
TResponse Reindex<TResponse>(PostData body, ReindexOnServerRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe search definition using the Query DSL and the prototype for the index request.
requestParameters
ReindexOnServerRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
RenderSearchTemplateAsync<TResponse>(PostData, RenderSearchTemplateRequestParameters, CancellationToken)
POST on /_render/template
http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html
Task<TResponse> RenderSearchTemplateAsync<TResponse>(PostData body, RenderSearchTemplateRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe search definition template and its params
requestParameters
RenderSearchTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
RenderSearchTemplateAsync<TResponse>(string, PostData, RenderSearchTemplateRequestParameters, CancellationToken)
POST on /_render/template/{id}
http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html
Task<TResponse> RenderSearchTemplateAsync<TResponse>(string id, PostData body, RenderSearchTemplateRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringThe id of the stored search template
body
PostDataThe search definition template and its params
requestParameters
RenderSearchTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
RenderSearchTemplateGetAsync<TResponse>(RenderSearchTemplateRequestParameters, CancellationToken)
GET on /_render/template
http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html
Task<TResponse> RenderSearchTemplateGetAsync<TResponse>(RenderSearchTemplateRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
RenderSearchTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
RenderSearchTemplateGetAsync<TResponse>(string, RenderSearchTemplateRequestParameters, CancellationToken)
GET on /_render/template/{id}
http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html
Task<TResponse> RenderSearchTemplateGetAsync<TResponse>(string id, RenderSearchTemplateRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringThe id of the stored search template
requestParameters
RenderSearchTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
RenderSearchTemplateGet<TResponse>(RenderSearchTemplateRequestParameters)
GET on /_render/template
http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html
TResponse RenderSearchTemplateGet<TResponse>(RenderSearchTemplateRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
RenderSearchTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
RenderSearchTemplateGet<TResponse>(string, RenderSearchTemplateRequestParameters)
GET on /_render/template/{id}
http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html
TResponse RenderSearchTemplateGet<TResponse>(string id, RenderSearchTemplateRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringThe id of the stored search template
requestParameters
RenderSearchTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
RenderSearchTemplate<TResponse>(PostData, RenderSearchTemplateRequestParameters)
POST on /_render/template
http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html
TResponse RenderSearchTemplate<TResponse>(PostData body, RenderSearchTemplateRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe search definition template and its params
requestParameters
RenderSearchTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
RenderSearchTemplate<TResponse>(string, PostData, RenderSearchTemplateRequestParameters)
POST on /_render/template/{id}
http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html
TResponse RenderSearchTemplate<TResponse>(string id, PostData body, RenderSearchTemplateRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringThe id of the stored search template
body
PostDataThe search definition template and its params
requestParameters
RenderSearchTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
ScrollAsync<TResponse>(PostData, ScrollRequestParameters, CancellationToken)
POST on /_search/scroll
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html
Task<TResponse> ScrollAsync<TResponse>(PostData body, ScrollRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe scroll ID if not passed by URL or query parameter.
requestParameters
ScrollRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
ScrollGetAsync<TResponse>(ScrollRequestParameters, CancellationToken)
GET on /_search/scroll
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html
Task<TResponse> ScrollGetAsync<TResponse>(ScrollRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
ScrollRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
ScrollGet<TResponse>(ScrollRequestParameters)
GET on /_search/scroll
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html
TResponse ScrollGet<TResponse>(ScrollRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
ScrollRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
Scroll<TResponse>(PostData, ScrollRequestParameters)
POST on /_search/scroll
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-scroll.html
TResponse Scroll<TResponse>(PostData body, ScrollRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe scroll ID if not passed by URL or query parameter.
requestParameters
ScrollRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
SearchAsync<TResponse>(PostData, SearchRequestParameters, CancellationToken)
POST on /_search
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html
Task<TResponse> SearchAsync<TResponse>(PostData body, SearchRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe search definition using the Query DSL
requestParameters
SearchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
SearchAsync<TResponse>(string, PostData, SearchRequestParameters, CancellationToken)
POST on /{index}/_search
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html
Task<TResponse> SearchAsync<TResponse>(string index, PostData body, SearchRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicesbody
PostDataThe search definition using the Query DSL
requestParameters
SearchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
SearchAsync<TResponse>(string, string, PostData, SearchRequestParameters, CancellationToken)
POST on /{index}/{type}/_search
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html
Task<TResponse> SearchAsync<TResponse>(string index, string type, PostData body, SearchRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicestype
stringA comma-separated list of document types to search; leave empty to perform the operation on all types
body
PostDataThe search definition using the Query DSL
requestParameters
SearchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
SearchGetAsync<TResponse>(SearchRequestParameters, CancellationToken)
GET on /_search
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html
Task<TResponse> SearchGetAsync<TResponse>(SearchRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
SearchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
SearchGetAsync<TResponse>(string, SearchRequestParameters, CancellationToken)
GET on /{index}/_search
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html
Task<TResponse> SearchGetAsync<TResponse>(string index, SearchRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
SearchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
SearchGetAsync<TResponse>(string, string, SearchRequestParameters, CancellationToken)
GET on /{index}/{type}/_search
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html
Task<TResponse> SearchGetAsync<TResponse>(string index, string type, SearchRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicestype
stringA comma-separated list of document types to search; leave empty to perform the operation on all types
requestParameters
SearchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
SearchGet<TResponse>(SearchRequestParameters)
GET on /_search
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html
TResponse SearchGet<TResponse>(SearchRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
SearchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
SearchGet<TResponse>(string, SearchRequestParameters)
GET on /{index}/_search
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html
TResponse SearchGet<TResponse>(string index, SearchRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
SearchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
SearchGet<TResponse>(string, string, SearchRequestParameters)
GET on /{index}/{type}/_search
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html
TResponse SearchGet<TResponse>(string index, string type, SearchRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicestype
stringA comma-separated list of document types to search; leave empty to perform the operation on all types
requestParameters
SearchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
SearchShardsAsync<TResponse>(SearchShardsRequestParameters, CancellationToken)
POST on /_search_shards
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html
Task<TResponse> SearchShardsAsync<TResponse>(SearchShardsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
SearchShardsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
SearchShardsAsync<TResponse>(string, SearchShardsRequestParameters, CancellationToken)
POST on /{index}/_search_shards
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html
Task<TResponse> SearchShardsAsync<TResponse>(string index, SearchShardsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
SearchShardsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
SearchShardsGetAsync<TResponse>(SearchShardsRequestParameters, CancellationToken)
GET on /_search_shards
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html
Task<TResponse> SearchShardsGetAsync<TResponse>(SearchShardsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
SearchShardsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
SearchShardsGetAsync<TResponse>(string, SearchShardsRequestParameters, CancellationToken)
GET on /{index}/_search_shards
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html
Task<TResponse> SearchShardsGetAsync<TResponse>(string index, SearchShardsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
SearchShardsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
SearchShardsGet<TResponse>(SearchShardsRequestParameters)
GET on /_search_shards
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html
TResponse SearchShardsGet<TResponse>(SearchShardsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
SearchShardsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
SearchShardsGet<TResponse>(string, SearchShardsRequestParameters)
GET on /{index}/_search_shards
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html
TResponse SearchShardsGet<TResponse>(string index, SearchShardsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
SearchShardsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
SearchShards<TResponse>(SearchShardsRequestParameters)
POST on /_search_shards
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html
TResponse SearchShards<TResponse>(SearchShardsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
SearchShardsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
SearchShards<TResponse>(string, SearchShardsRequestParameters)
POST on /{index}/_search_shards
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html
TResponse SearchShards<TResponse>(string index, SearchShardsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
SearchShardsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
SearchTemplateAsync<TResponse>(PostData, SearchTemplateRequestParameters, CancellationToken)
POST on /_search/template
http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html
Task<TResponse> SearchTemplateAsync<TResponse>(PostData body, SearchTemplateRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe search definition template and its params
requestParameters
SearchTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
SearchTemplateAsync<TResponse>(string, PostData, SearchTemplateRequestParameters, CancellationToken)
POST on /{index}/_search/template
http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html
Task<TResponse> SearchTemplateAsync<TResponse>(string index, PostData body, SearchTemplateRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicesbody
PostDataThe search definition template and its params
requestParameters
SearchTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
SearchTemplateAsync<TResponse>(string, string, PostData, SearchTemplateRequestParameters, CancellationToken)
POST on /{index}/{type}/_search/template
http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html
Task<TResponse> SearchTemplateAsync<TResponse>(string index, string type, PostData body, SearchTemplateRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicestype
stringA comma-separated list of document types to search; leave empty to perform the operation on all types
body
PostDataThe search definition template and its params
requestParameters
SearchTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
SearchTemplateGetAsync<TResponse>(SearchTemplateRequestParameters, CancellationToken)
GET on /_search/template
http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html
Task<TResponse> SearchTemplateGetAsync<TResponse>(SearchTemplateRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
SearchTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
SearchTemplateGetAsync<TResponse>(string, SearchTemplateRequestParameters, CancellationToken)
GET on /{index}/_search/template
http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html
Task<TResponse> SearchTemplateGetAsync<TResponse>(string index, SearchTemplateRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
SearchTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
SearchTemplateGetAsync<TResponse>(string, string, SearchTemplateRequestParameters, CancellationToken)
GET on /{index}/{type}/_search/template
http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html
Task<TResponse> SearchTemplateGetAsync<TResponse>(string index, string type, SearchTemplateRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicestype
stringA comma-separated list of document types to search; leave empty to perform the operation on all types
requestParameters
SearchTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
SearchTemplateGet<TResponse>(SearchTemplateRequestParameters)
GET on /_search/template
http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html
TResponse SearchTemplateGet<TResponse>(SearchTemplateRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
SearchTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
SearchTemplateGet<TResponse>(string, SearchTemplateRequestParameters)
GET on /{index}/_search/template
http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html
TResponse SearchTemplateGet<TResponse>(string index, SearchTemplateRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
SearchTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
SearchTemplateGet<TResponse>(string, string, SearchTemplateRequestParameters)
GET on /{index}/{type}/_search/template
http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html
TResponse SearchTemplateGet<TResponse>(string index, string type, SearchTemplateRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicestype
stringA comma-separated list of document types to search; leave empty to perform the operation on all types
requestParameters
SearchTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
SearchTemplate<TResponse>(PostData, SearchTemplateRequestParameters)
POST on /_search/template
http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html
TResponse SearchTemplate<TResponse>(PostData body, SearchTemplateRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe search definition template and its params
requestParameters
SearchTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
SearchTemplate<TResponse>(string, PostData, SearchTemplateRequestParameters)
POST on /{index}/_search/template
http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html
TResponse SearchTemplate<TResponse>(string index, PostData body, SearchTemplateRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicesbody
PostDataThe search definition template and its params
requestParameters
SearchTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
SearchTemplate<TResponse>(string, string, PostData, SearchTemplateRequestParameters)
POST on /{index}/{type}/_search/template
http://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html
TResponse SearchTemplate<TResponse>(string index, string type, PostData body, SearchTemplateRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicestype
stringA comma-separated list of document types to search; leave empty to perform the operation on all types
body
PostDataThe search definition template and its params
requestParameters
SearchTemplateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
Search<TResponse>(PostData, SearchRequestParameters)
POST on /_search
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html
TResponse Search<TResponse>(PostData body, SearchRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe search definition using the Query DSL
requestParameters
SearchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
Search<TResponse>(string, PostData, SearchRequestParameters)
POST on /{index}/_search
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html
TResponse Search<TResponse>(string index, PostData body, SearchRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicesbody
PostDataThe search definition using the Query DSL
requestParameters
SearchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
Search<TResponse>(string, string, PostData, SearchRequestParameters)
POST on /{index}/{type}/_search
http://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html
TResponse Search<TResponse>(string index, string type, PostData body, SearchRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicestype
stringA comma-separated list of document types to search; leave empty to perform the operation on all types
body
PostDataThe search definition using the Query DSL
requestParameters
SearchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
SnapshotCreateAsync<TResponse>(string, string, PostData, SnapshotRequestParameters, CancellationToken)
PUT on /_snapshot/{repository}/{snapshot}
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
Task<TResponse> SnapshotCreateAsync<TResponse>(string repository, string snapshot, PostData body, SnapshotRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
repository
stringA repository name
snapshot
stringA snapshot name
body
PostDataThe snapshot definition
requestParameters
SnapshotRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
SnapshotCreatePostAsync<TResponse>(string, string, PostData, SnapshotRequestParameters, CancellationToken)
POST on /_snapshot/{repository}/{snapshot}
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
Task<TResponse> SnapshotCreatePostAsync<TResponse>(string repository, string snapshot, PostData body, SnapshotRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
repository
stringA repository name
snapshot
stringA snapshot name
body
PostDataThe snapshot definition
requestParameters
SnapshotRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
SnapshotCreatePost<TResponse>(string, string, PostData, SnapshotRequestParameters)
POST on /_snapshot/{repository}/{snapshot}
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
TResponse SnapshotCreatePost<TResponse>(string repository, string snapshot, PostData body, SnapshotRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
repository
stringA repository name
snapshot
stringA snapshot name
body
PostDataThe snapshot definition
requestParameters
SnapshotRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
SnapshotCreateRepositoryAsync<TResponse>(string, PostData, CreateRepositoryRequestParameters, CancellationToken)
PUT on /_snapshot/{repository}
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
Task<TResponse> SnapshotCreateRepositoryAsync<TResponse>(string repository, PostData body, CreateRepositoryRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
repository
stringA repository name
body
PostDataThe repository definition
requestParameters
CreateRepositoryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
SnapshotCreateRepositoryPostAsync<TResponse>(string, PostData, CreateRepositoryRequestParameters, CancellationToken)
POST on /_snapshot/{repository}
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
Task<TResponse> SnapshotCreateRepositoryPostAsync<TResponse>(string repository, PostData body, CreateRepositoryRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
repository
stringA repository name
body
PostDataThe repository definition
requestParameters
CreateRepositoryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
SnapshotCreateRepositoryPost<TResponse>(string, PostData, CreateRepositoryRequestParameters)
POST on /_snapshot/{repository}
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
TResponse SnapshotCreateRepositoryPost<TResponse>(string repository, PostData body, CreateRepositoryRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
repository
stringA repository name
body
PostDataThe repository definition
requestParameters
CreateRepositoryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
SnapshotCreateRepository<TResponse>(string, PostData, CreateRepositoryRequestParameters)
PUT on /_snapshot/{repository}
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
TResponse SnapshotCreateRepository<TResponse>(string repository, PostData body, CreateRepositoryRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
repository
stringA repository name
body
PostDataThe repository definition
requestParameters
CreateRepositoryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
SnapshotCreate<TResponse>(string, string, PostData, SnapshotRequestParameters)
PUT on /_snapshot/{repository}/{snapshot}
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
TResponse SnapshotCreate<TResponse>(string repository, string snapshot, PostData body, SnapshotRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
repository
stringA repository name
snapshot
stringA snapshot name
body
PostDataThe snapshot definition
requestParameters
SnapshotRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
SnapshotDeleteAsync<TResponse>(string, string, DeleteSnapshotRequestParameters, CancellationToken)
DELETE on /_snapshot/{repository}/{snapshot}
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
Task<TResponse> SnapshotDeleteAsync<TResponse>(string repository, string snapshot, DeleteSnapshotRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
repository
stringA repository name
snapshot
stringA snapshot name
requestParameters
DeleteSnapshotRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
SnapshotDeleteRepositoryAsync<TResponse>(string, DeleteRepositoryRequestParameters, CancellationToken)
DELETE on /_snapshot/{repository}
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
Task<TResponse> SnapshotDeleteRepositoryAsync<TResponse>(string repository, DeleteRepositoryRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
repository
stringA comma-separated list of repository names
requestParameters
DeleteRepositoryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
SnapshotDeleteRepository<TResponse>(string, DeleteRepositoryRequestParameters)
DELETE on /_snapshot/{repository}
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
TResponse SnapshotDeleteRepository<TResponse>(string repository, DeleteRepositoryRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
repository
stringA comma-separated list of repository names
requestParameters
DeleteRepositoryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
SnapshotDelete<TResponse>(string, string, DeleteSnapshotRequestParameters)
DELETE on /_snapshot/{repository}/{snapshot}
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
TResponse SnapshotDelete<TResponse>(string repository, string snapshot, DeleteSnapshotRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
repository
stringA repository name
snapshot
stringA snapshot name
requestParameters
DeleteSnapshotRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
SnapshotGetAsync<TResponse>(string, string, GetSnapshotRequestParameters, CancellationToken)
GET on /_snapshot/{repository}/{snapshot}
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
Task<TResponse> SnapshotGetAsync<TResponse>(string repository, string snapshot, GetSnapshotRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
repository
stringA repository name
snapshot
stringA comma-separated list of snapshot names
requestParameters
GetSnapshotRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
SnapshotGetRepositoryAsync<TResponse>(GetRepositoryRequestParameters, CancellationToken)
GET on /_snapshot
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
Task<TResponse> SnapshotGetRepositoryAsync<TResponse>(GetRepositoryRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
GetRepositoryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
SnapshotGetRepositoryAsync<TResponse>(string, GetRepositoryRequestParameters, CancellationToken)
GET on /_snapshot/{repository}
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
Task<TResponse> SnapshotGetRepositoryAsync<TResponse>(string repository, GetRepositoryRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
repository
stringA comma-separated list of repository names
requestParameters
GetRepositoryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
SnapshotGetRepository<TResponse>(GetRepositoryRequestParameters)
GET on /_snapshot
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
TResponse SnapshotGetRepository<TResponse>(GetRepositoryRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
GetRepositoryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
SnapshotGetRepository<TResponse>(string, GetRepositoryRequestParameters)
GET on /_snapshot/{repository}
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
TResponse SnapshotGetRepository<TResponse>(string repository, GetRepositoryRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
repository
stringA comma-separated list of repository names
requestParameters
GetRepositoryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
SnapshotGet<TResponse>(string, string, GetSnapshotRequestParameters)
GET on /_snapshot/{repository}/{snapshot}
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
TResponse SnapshotGet<TResponse>(string repository, string snapshot, GetSnapshotRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
repository
stringA repository name
snapshot
stringA comma-separated list of snapshot names
requestParameters
GetSnapshotRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
SnapshotRestoreAsync<TResponse>(string, string, PostData, RestoreRequestParameters, CancellationToken)
POST on /_snapshot/{repository}/{snapshot}/_restore
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
Task<TResponse> SnapshotRestoreAsync<TResponse>(string repository, string snapshot, PostData body, RestoreRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
repository
stringA repository name
snapshot
stringA snapshot name
body
PostDataDetails of what to restore
requestParameters
RestoreRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
SnapshotRestore<TResponse>(string, string, PostData, RestoreRequestParameters)
POST on /_snapshot/{repository}/{snapshot}/_restore
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
TResponse SnapshotRestore<TResponse>(string repository, string snapshot, PostData body, RestoreRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
repository
stringA repository name
snapshot
stringA snapshot name
body
PostDataDetails of what to restore
requestParameters
RestoreRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
SnapshotStatusAsync<TResponse>(SnapshotStatusRequestParameters, CancellationToken)
GET on /_snapshot/_status
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
Task<TResponse> SnapshotStatusAsync<TResponse>(SnapshotStatusRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
SnapshotStatusRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
SnapshotStatusAsync<TResponse>(string, SnapshotStatusRequestParameters, CancellationToken)
GET on /_snapshot/{repository}/_status
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
Task<TResponse> SnapshotStatusAsync<TResponse>(string repository, SnapshotStatusRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
repository
stringA repository name
requestParameters
SnapshotStatusRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
SnapshotStatusAsync<TResponse>(string, string, SnapshotStatusRequestParameters, CancellationToken)
GET on /_snapshot/{repository}/{snapshot}/_status
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
Task<TResponse> SnapshotStatusAsync<TResponse>(string repository, string snapshot, SnapshotStatusRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
repository
stringA repository name
snapshot
stringA comma-separated list of snapshot names
requestParameters
SnapshotStatusRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
SnapshotStatus<TResponse>(SnapshotStatusRequestParameters)
GET on /_snapshot/_status
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
TResponse SnapshotStatus<TResponse>(SnapshotStatusRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
SnapshotStatusRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
SnapshotStatus<TResponse>(string, SnapshotStatusRequestParameters)
GET on /_snapshot/{repository}/_status
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
TResponse SnapshotStatus<TResponse>(string repository, SnapshotStatusRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
repository
stringA repository name
requestParameters
SnapshotStatusRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
SnapshotStatus<TResponse>(string, string, SnapshotStatusRequestParameters)
GET on /_snapshot/{repository}/{snapshot}/_status
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
TResponse SnapshotStatus<TResponse>(string repository, string snapshot, SnapshotStatusRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
repository
stringA repository name
snapshot
stringA comma-separated list of snapshot names
requestParameters
SnapshotStatusRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
SnapshotVerifyRepositoryAsync<TResponse>(string, VerifyRepositoryRequestParameters, CancellationToken)
POST on /_snapshot/{repository}/_verify
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
Task<TResponse> SnapshotVerifyRepositoryAsync<TResponse>(string repository, VerifyRepositoryRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
repository
stringA repository name
requestParameters
VerifyRepositoryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
SnapshotVerifyRepository<TResponse>(string, VerifyRepositoryRequestParameters)
POST on /_snapshot/{repository}/_verify
http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html
TResponse SnapshotVerifyRepository<TResponse>(string repository, VerifyRepositoryRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
repository
stringA repository name
requestParameters
VerifyRepositoryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
TasksCancelAsync<TResponse>(CancelTasksRequestParameters, CancellationToken)
POST on /_tasks/_cancel
http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html
Task<TResponse> TasksCancelAsync<TResponse>(CancelTasksRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CancelTasksRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
TasksCancelAsync<TResponse>(string, CancelTasksRequestParameters, CancellationToken)
POST on /_tasks/{task_id}/_cancel
http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html
Task<TResponse> TasksCancelAsync<TResponse>(string task_id, CancelTasksRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
task_id
stringCancel the task with specified task id (node_id:task_number)
requestParameters
CancelTasksRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
TasksCancel<TResponse>(CancelTasksRequestParameters)
POST on /_tasks/_cancel
http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html
TResponse TasksCancel<TResponse>(CancelTasksRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
CancelTasksRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
TasksCancel<TResponse>(string, CancelTasksRequestParameters)
POST on /_tasks/{task_id}/_cancel
http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html
TResponse TasksCancel<TResponse>(string task_id, CancelTasksRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
task_id
stringCancel the task with specified task id (node_id:task_number)
requestParameters
CancelTasksRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
TasksGetAsync<TResponse>(string, GetTaskRequestParameters, CancellationToken)
GET on /_tasks/{task_id}
http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html
Task<TResponse> TasksGetAsync<TResponse>(string task_id, GetTaskRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
task_id
stringReturn the task with specified id (node_id:task_number)
requestParameters
GetTaskRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
TasksGet<TResponse>(string, GetTaskRequestParameters)
GET on /_tasks/{task_id}
http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html
TResponse TasksGet<TResponse>(string task_id, GetTaskRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
task_id
stringReturn the task with specified id (node_id:task_number)
requestParameters
GetTaskRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
TasksListAsync<TResponse>(ListTasksRequestParameters, CancellationToken)
GET on /_tasks
http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html
Task<TResponse> TasksListAsync<TResponse>(ListTasksRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
ListTasksRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
TasksList<TResponse>(ListTasksRequestParameters)
GET on /_tasks
http://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html
TResponse TasksList<TResponse>(ListTasksRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
ListTasksRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
TermvectorsAsync<TResponse>(string, string, PostData, TermVectorsRequestParameters, CancellationToken)
POST on /{index}/{type}/_termvectors
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html
Task<TResponse> TermvectorsAsync<TResponse>(string index, string type, PostData body, TermVectorsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe index in which the document resides.
type
stringThe type of the document.
body
PostDataDefine parameters and or supply a document to get termvectors for. See documentation.
requestParameters
TermVectorsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
TermvectorsAsync<TResponse>(string, string, string, PostData, TermVectorsRequestParameters, CancellationToken)
POST on /{index}/{type}/{id}/_termvectors
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html
Task<TResponse> TermvectorsAsync<TResponse>(string index, string type, string id, PostData body, TermVectorsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe index in which the document resides.
type
stringThe type of the document.
id
stringThe id of the document, when not specified a doc param should be supplied.
body
PostDataDefine parameters and or supply a document to get termvectors for. See documentation.
requestParameters
TermVectorsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
TermvectorsGetAsync<TResponse>(string, string, TermVectorsRequestParameters, CancellationToken)
GET on /{index}/{type}/_termvectors
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html
Task<TResponse> TermvectorsGetAsync<TResponse>(string index, string type, TermVectorsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe index in which the document resides.
type
stringThe type of the document.
requestParameters
TermVectorsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
TermvectorsGetAsync<TResponse>(string, string, string, TermVectorsRequestParameters, CancellationToken)
GET on /{index}/{type}/{id}/_termvectors
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html
Task<TResponse> TermvectorsGetAsync<TResponse>(string index, string type, string id, TermVectorsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe index in which the document resides.
type
stringThe type of the document.
id
stringThe id of the document, when not specified a doc param should be supplied.
requestParameters
TermVectorsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
TermvectorsGet<TResponse>(string, string, TermVectorsRequestParameters)
GET on /{index}/{type}/_termvectors
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html
TResponse TermvectorsGet<TResponse>(string index, string type, TermVectorsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe index in which the document resides.
type
stringThe type of the document.
requestParameters
TermVectorsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
TermvectorsGet<TResponse>(string, string, string, TermVectorsRequestParameters)
GET on /{index}/{type}/{id}/_termvectors
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html
TResponse TermvectorsGet<TResponse>(string index, string type, string id, TermVectorsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe index in which the document resides.
type
stringThe type of the document.
id
stringThe id of the document, when not specified a doc param should be supplied.
requestParameters
TermVectorsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
Termvectors<TResponse>(string, string, PostData, TermVectorsRequestParameters)
POST on /{index}/{type}/_termvectors
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html
TResponse Termvectors<TResponse>(string index, string type, PostData body, TermVectorsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe index in which the document resides.
type
stringThe type of the document.
body
PostDataDefine parameters and or supply a document to get termvectors for. See documentation.
requestParameters
TermVectorsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
Termvectors<TResponse>(string, string, string, PostData, TermVectorsRequestParameters)
POST on /{index}/{type}/{id}/_termvectors
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html
TResponse Termvectors<TResponse>(string index, string type, string id, PostData body, TermVectorsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe index in which the document resides.
type
stringThe type of the document.
id
stringThe id of the document, when not specified a doc param should be supplied.
body
PostDataDefine parameters and or supply a document to get termvectors for. See documentation.
requestParameters
TermVectorsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
UpdateAsync<TResponse>(string, string, string, PostData, UpdateRequestParameters, CancellationToken)
POST on /{index}/{type}/{id}/_update
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update.html
Task<TResponse> UpdateAsync<TResponse>(string index, string type, string id, PostData body, UpdateRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
type
stringThe type of the document
id
stringDocument ID
body
PostDataThe request definition using either
script
or partialdoc
requestParameters
UpdateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
UpdateByQueryAsync<TResponse>(string, PostData, UpdateByQueryRequestParameters, CancellationToken)
POST on /{index}/_update_by_query
https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html
Task<TResponse> UpdateByQueryAsync<TResponse>(string index, PostData body, UpdateByQueryRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicesbody
PostDataThe search definition using the Query DSL
requestParameters
UpdateByQueryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
UpdateByQueryAsync<TResponse>(string, string, PostData, UpdateByQueryRequestParameters, CancellationToken)
POST on /{index}/{type}/_update_by_query
https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html
Task<TResponse> UpdateByQueryAsync<TResponse>(string index, string type, PostData body, UpdateByQueryRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicestype
stringA comma-separated list of document types to search; leave empty to perform the operation on all types
body
PostDataThe search definition using the Query DSL
requestParameters
UpdateByQueryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
UpdateByQuery<TResponse>(string, PostData, UpdateByQueryRequestParameters)
POST on /{index}/_update_by_query
https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html
TResponse UpdateByQuery<TResponse>(string index, PostData body, UpdateByQueryRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicesbody
PostDataThe search definition using the Query DSL
requestParameters
UpdateByQueryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
UpdateByQuery<TResponse>(string, string, PostData, UpdateByQueryRequestParameters)
POST on /{index}/{type}/_update_by_query
https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html
TResponse UpdateByQuery<TResponse>(string index, string type, PostData body, UpdateByQueryRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicestype
stringA comma-separated list of document types to search; leave empty to perform the operation on all types
body
PostDataThe search definition using the Query DSL
requestParameters
UpdateByQueryRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
Update<TResponse>(string, string, string, PostData, UpdateRequestParameters)
POST on /{index}/{type}/{id}/_update
http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update.html
TResponse Update<TResponse>(string index, string type, string id, PostData body, UpdateRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringThe name of the index
type
stringThe type of the document
id
stringDocument ID
body
PostDataThe request definition using either
script
or partialdoc
requestParameters
UpdateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackDeprecationInfoAsync<TResponse>(DeprecationInfoRequestParameters, CancellationToken)
GET on /_xpack/migration/deprecations
http://www.elastic.co/guide/en/migration/current/migration-api-deprecation.html
Task<TResponse> XpackDeprecationInfoAsync<TResponse>(DeprecationInfoRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
DeprecationInfoRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackDeprecationInfoAsync<TResponse>(string, DeprecationInfoRequestParameters, CancellationToken)
GET on /{index}/_xpack/migration/deprecations
http://www.elastic.co/guide/en/migration/current/migration-api-deprecation.html
Task<TResponse> XpackDeprecationInfoAsync<TResponse>(string index, DeprecationInfoRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringIndex pattern
requestParameters
DeprecationInfoRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackDeprecationInfo<TResponse>(DeprecationInfoRequestParameters)
GET on /_xpack/migration/deprecations
http://www.elastic.co/guide/en/migration/current/migration-api-deprecation.html
TResponse XpackDeprecationInfo<TResponse>(DeprecationInfoRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
DeprecationInfoRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackDeprecationInfo<TResponse>(string, DeprecationInfoRequestParameters)
GET on /{index}/_xpack/migration/deprecations
http://www.elastic.co/guide/en/migration/current/migration-api-deprecation.html
TResponse XpackDeprecationInfo<TResponse>(string index, DeprecationInfoRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringIndex pattern
requestParameters
DeprecationInfoRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackGraphExploreAsync<TResponse>(string, PostData, GraphExploreRequestParameters, CancellationToken)
POST on /{index}/_xpack/graph/_explore
https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html
Task<TResponse> XpackGraphExploreAsync<TResponse>(string index, PostData body, GraphExploreRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicesbody
PostDataGraph Query DSL
requestParameters
GraphExploreRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackGraphExploreAsync<TResponse>(string, string, PostData, GraphExploreRequestParameters, CancellationToken)
POST on /{index}/{type}/_xpack/graph/_explore
https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html
Task<TResponse> XpackGraphExploreAsync<TResponse>(string index, string type, PostData body, GraphExploreRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicestype
stringA comma-separated list of document types to search; leave empty to perform the operation on all types
body
PostDataGraph Query DSL
requestParameters
GraphExploreRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackGraphExploreGetAsync<TResponse>(string, GraphExploreRequestParameters, CancellationToken)
GET on /{index}/_xpack/graph/_explore
https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html
Task<TResponse> XpackGraphExploreGetAsync<TResponse>(string index, GraphExploreRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
GraphExploreRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackGraphExploreGetAsync<TResponse>(string, string, GraphExploreRequestParameters, CancellationToken)
GET on /{index}/{type}/_xpack/graph/_explore
https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html
Task<TResponse> XpackGraphExploreGetAsync<TResponse>(string index, string type, GraphExploreRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicestype
stringA comma-separated list of document types to search; leave empty to perform the operation on all types
requestParameters
GraphExploreRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackGraphExploreGet<TResponse>(string, GraphExploreRequestParameters)
GET on /{index}/_xpack/graph/_explore
https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html
TResponse XpackGraphExploreGet<TResponse>(string index, GraphExploreRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicesrequestParameters
GraphExploreRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackGraphExploreGet<TResponse>(string, string, GraphExploreRequestParameters)
GET on /{index}/{type}/_xpack/graph/_explore
https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html
TResponse XpackGraphExploreGet<TResponse>(string index, string type, GraphExploreRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicestype
stringA comma-separated list of document types to search; leave empty to perform the operation on all types
requestParameters
GraphExploreRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackGraphExplore<TResponse>(string, PostData, GraphExploreRequestParameters)
POST on /{index}/_xpack/graph/_explore
https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html
TResponse XpackGraphExplore<TResponse>(string index, PostData body, GraphExploreRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicesbody
PostDataGraph Query DSL
requestParameters
GraphExploreRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackGraphExplore<TResponse>(string, string, PostData, GraphExploreRequestParameters)
POST on /{index}/{type}/_xpack/graph/_explore
https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html
TResponse XpackGraphExplore<TResponse>(string index, string type, PostData body, GraphExploreRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
index
stringA comma-separated list of index names to search; use the special string
_all
or Indices.All to perform the operation on all indicestype
stringA comma-separated list of document types to search; leave empty to perform the operation on all types
body
PostDataGraph Query DSL
requestParameters
GraphExploreRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackInfoAsync<TResponse>(XPackInfoRequestParameters, CancellationToken)
GET on /_xpack
https://www.elastic.co/guide/en/elasticsearch/reference/current/info-api.html
Task<TResponse> XpackInfoAsync<TResponse>(XPackInfoRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
XPackInfoRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackInfo<TResponse>(XPackInfoRequestParameters)
GET on /_xpack
https://www.elastic.co/guide/en/elasticsearch/reference/current/info-api.html
TResponse XpackInfo<TResponse>(XPackInfoRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
XPackInfoRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackLicenseDeleteAsync<TResponse>(DeleteLicenseRequestParameters, CancellationToken)
DELETE on /_xpack/license
https://www.elastic.co/guide/en/x-pack/current/license-management.html
Task<TResponse> XpackLicenseDeleteAsync<TResponse>(DeleteLicenseRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
DeleteLicenseRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackLicenseDelete<TResponse>(DeleteLicenseRequestParameters)
DELETE on /_xpack/license
https://www.elastic.co/guide/en/x-pack/current/license-management.html
TResponse XpackLicenseDelete<TResponse>(DeleteLicenseRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
DeleteLicenseRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackLicenseGetAsync<TResponse>(GetLicenseRequestParameters, CancellationToken)
GET on /_xpack/license
https://www.elastic.co/guide/en/x-pack/current/license-management.html
Task<TResponse> XpackLicenseGetAsync<TResponse>(GetLicenseRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
GetLicenseRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackLicenseGet<TResponse>(GetLicenseRequestParameters)
GET on /_xpack/license
https://www.elastic.co/guide/en/x-pack/current/license-management.html
TResponse XpackLicenseGet<TResponse>(GetLicenseRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
GetLicenseRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackLicensePostAsync<TResponse>(PostData, PostLicenseRequestParameters, CancellationToken)
PUT on /_xpack/license
https://www.elastic.co/guide/en/x-pack/current/license-management.html
Task<TResponse> XpackLicensePostAsync<TResponse>(PostData body, PostLicenseRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDatalicenses to be installed
requestParameters
PostLicenseRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackLicensePost<TResponse>(PostData, PostLicenseRequestParameters)
PUT on /_xpack/license
https://www.elastic.co/guide/en/x-pack/current/license-management.html
TResponse XpackLicensePost<TResponse>(PostData body, PostLicenseRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDatalicenses to be installed
requestParameters
PostLicenseRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlCloseJobAsync<TResponse>(string, CloseJobRequestParameters, CancellationToken)
POST on /_xpack/ml/anomaly_detectors/{job_id}/_close
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-close-job.html
Task<TResponse> XpackMlCloseJobAsync<TResponse>(string job_id, CloseJobRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe name of the job to close
requestParameters
CloseJobRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlCloseJob<TResponse>(string, CloseJobRequestParameters)
POST on /_xpack/ml/anomaly_detectors/{job_id}/_close
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-close-job.html
TResponse XpackMlCloseJob<TResponse>(string job_id, CloseJobRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe name of the job to close
requestParameters
CloseJobRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlDeleteDatafeedAsync<TResponse>(string, DeleteDatafeedRequestParameters, CancellationToken)
DELETE on /_xpack/ml/datafeeds/{datafeed_id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-datafeed.html
Task<TResponse> XpackMlDeleteDatafeedAsync<TResponse>(string datafeed_id, DeleteDatafeedRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
datafeed_id
stringThe ID of the datafeed to delete
requestParameters
DeleteDatafeedRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlDeleteDatafeed<TResponse>(string, DeleteDatafeedRequestParameters)
DELETE on /_xpack/ml/datafeeds/{datafeed_id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-datafeed.html
TResponse XpackMlDeleteDatafeed<TResponse>(string datafeed_id, DeleteDatafeedRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
datafeed_id
stringThe ID of the datafeed to delete
requestParameters
DeleteDatafeedRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlDeleteExpiredDataAsync<TResponse>(DeleteExpiredDataRequestParameters, CancellationToken)
DELETE on /_xpack/ml/_delete_expired_data
Task<TResponse> XpackMlDeleteExpiredDataAsync<TResponse>(DeleteExpiredDataRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
DeleteExpiredDataRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlDeleteExpiredData<TResponse>(DeleteExpiredDataRequestParameters)
DELETE on /_xpack/ml/_delete_expired_data
TResponse XpackMlDeleteExpiredData<TResponse>(DeleteExpiredDataRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
DeleteExpiredDataRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlDeleteJobAsync<TResponse>(string, DeleteJobRequestParameters, CancellationToken)
DELETE on /_xpack/ml/anomaly_detectors/{job_id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-job.html
Task<TResponse> XpackMlDeleteJobAsync<TResponse>(string job_id, DeleteJobRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe ID of the job to delete
requestParameters
DeleteJobRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlDeleteJob<TResponse>(string, DeleteJobRequestParameters)
DELETE on /_xpack/ml/anomaly_detectors/{job_id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-job.html
TResponse XpackMlDeleteJob<TResponse>(string job_id, DeleteJobRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe ID of the job to delete
requestParameters
DeleteJobRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlDeleteModelSnapshotAsync<TResponse>(string, string, DeleteModelSnapshotRequestParameters, CancellationToken)
DELETE on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-snapshot.html
Task<TResponse> XpackMlDeleteModelSnapshotAsync<TResponse>(string job_id, string snapshot_id, DeleteModelSnapshotRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe ID of the job to fetch
snapshot_id
stringThe ID of the snapshot to delete
requestParameters
DeleteModelSnapshotRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlDeleteModelSnapshot<TResponse>(string, string, DeleteModelSnapshotRequestParameters)
DELETE on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-snapshot.html
TResponse XpackMlDeleteModelSnapshot<TResponse>(string job_id, string snapshot_id, DeleteModelSnapshotRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe ID of the job to fetch
snapshot_id
stringThe ID of the snapshot to delete
requestParameters
DeleteModelSnapshotRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlFlushJobAsync<TResponse>(string, PostData, FlushJobRequestParameters, CancellationToken)
POST on /_xpack/ml/anomaly_detectors/{job_id}/_flush
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-flush-job.html
Task<TResponse> XpackMlFlushJobAsync<TResponse>(string job_id, PostData body, FlushJobRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe name of the job to flush
body
PostDataFlush parameters
requestParameters
FlushJobRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlFlushJob<TResponse>(string, PostData, FlushJobRequestParameters)
POST on /_xpack/ml/anomaly_detectors/{job_id}/_flush
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-flush-job.html
TResponse XpackMlFlushJob<TResponse>(string job_id, PostData body, FlushJobRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe name of the job to flush
body
PostDataFlush parameters
requestParameters
FlushJobRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlGetBucketsAsync<TResponse>(string, GetBucketsRequestParameters, CancellationToken)
GET on /_xpack/ml/anomaly_detectors/{job_id}/results/buckets
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html
Task<TResponse> XpackMlGetBucketsAsync<TResponse>(string job_id, GetBucketsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringID of the job to get bucket results from
requestParameters
GetBucketsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlGetBucketsAsync<TResponse>(string, PostData, GetBucketsRequestParameters, CancellationToken)
POST on /_xpack/ml/anomaly_detectors/{job_id}/results/buckets
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html
Task<TResponse> XpackMlGetBucketsAsync<TResponse>(string job_id, PostData body, GetBucketsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringID of the job to get bucket results from
body
PostDataBucket selection details if not provided in URI
requestParameters
GetBucketsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlGetBuckets<TResponse>(string, GetBucketsRequestParameters)
GET on /_xpack/ml/anomaly_detectors/{job_id}/results/buckets
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html
TResponse XpackMlGetBuckets<TResponse>(string job_id, GetBucketsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringID of the job to get bucket results from
requestParameters
GetBucketsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlGetBuckets<TResponse>(string, PostData, GetBucketsRequestParameters)
POST on /_xpack/ml/anomaly_detectors/{job_id}/results/buckets
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html
TResponse XpackMlGetBuckets<TResponse>(string job_id, PostData body, GetBucketsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringID of the job to get bucket results from
body
PostDataBucket selection details if not provided in URI
requestParameters
GetBucketsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlGetCategoriesAsync<TResponse>(string, GetCategoriesRequestParameters, CancellationToken)
GET on /_xpack/ml/anomaly_detectors/{job_id}/results/categories/
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html
Task<TResponse> XpackMlGetCategoriesAsync<TResponse>(string job_id, GetCategoriesRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe name of the job
requestParameters
GetCategoriesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlGetCategoriesAsync<TResponse>(string, PostData, GetCategoriesRequestParameters, CancellationToken)
POST on /_xpack/ml/anomaly_detectors/{job_id}/results/categories/
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html
Task<TResponse> XpackMlGetCategoriesAsync<TResponse>(string job_id, PostData body, GetCategoriesRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe name of the job
body
PostDataCategory selection details if not provided in URI
requestParameters
GetCategoriesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlGetCategoriesAsync<TResponse>(string, long, GetCategoriesRequestParameters, CancellationToken)
GET on /_xpack/ml/anomaly_detectors/{job_id}/results/categories/{category_id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html
Task<TResponse> XpackMlGetCategoriesAsync<TResponse>(string job_id, long category_id, GetCategoriesRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe name of the job
category_id
longThe identifier of the category definition of interest
requestParameters
GetCategoriesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlGetCategoriesAsync<TResponse>(string, long, PostData, GetCategoriesRequestParameters, CancellationToken)
POST on /_xpack/ml/anomaly_detectors/{job_id}/results/categories/{category_id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html
Task<TResponse> XpackMlGetCategoriesAsync<TResponse>(string job_id, long category_id, PostData body, GetCategoriesRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe name of the job
category_id
longThe identifier of the category definition of interest
body
PostDataCategory selection details if not provided in URI
requestParameters
GetCategoriesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlGetCategories<TResponse>(string, GetCategoriesRequestParameters)
GET on /_xpack/ml/anomaly_detectors/{job_id}/results/categories/
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html
TResponse XpackMlGetCategories<TResponse>(string job_id, GetCategoriesRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe name of the job
requestParameters
GetCategoriesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlGetCategories<TResponse>(string, PostData, GetCategoriesRequestParameters)
POST on /_xpack/ml/anomaly_detectors/{job_id}/results/categories/
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html
TResponse XpackMlGetCategories<TResponse>(string job_id, PostData body, GetCategoriesRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe name of the job
body
PostDataCategory selection details if not provided in URI
requestParameters
GetCategoriesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlGetCategories<TResponse>(string, long, GetCategoriesRequestParameters)
GET on /_xpack/ml/anomaly_detectors/{job_id}/results/categories/{category_id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html
TResponse XpackMlGetCategories<TResponse>(string job_id, long category_id, GetCategoriesRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe name of the job
category_id
longThe identifier of the category definition of interest
requestParameters
GetCategoriesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlGetCategories<TResponse>(string, long, PostData, GetCategoriesRequestParameters)
POST on /_xpack/ml/anomaly_detectors/{job_id}/results/categories/{category_id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html
TResponse XpackMlGetCategories<TResponse>(string job_id, long category_id, PostData body, GetCategoriesRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe name of the job
category_id
longThe identifier of the category definition of interest
body
PostDataCategory selection details if not provided in URI
requestParameters
GetCategoriesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlGetDatafeedStatsAsync<TResponse>(GetDatafeedStatsRequestParameters, CancellationToken)
GET on /_xpack/ml/datafeeds/_stats
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html
Task<TResponse> XpackMlGetDatafeedStatsAsync<TResponse>(GetDatafeedStatsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
GetDatafeedStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlGetDatafeedStatsAsync<TResponse>(string, GetDatafeedStatsRequestParameters, CancellationToken)
GET on /_xpack/ml/datafeeds/{datafeed_id}/_stats
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html
Task<TResponse> XpackMlGetDatafeedStatsAsync<TResponse>(string datafeed_id, GetDatafeedStatsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
datafeed_id
stringThe ID of the datafeeds stats to fetch
requestParameters
GetDatafeedStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlGetDatafeedStats<TResponse>(GetDatafeedStatsRequestParameters)
GET on /_xpack/ml/datafeeds/_stats
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html
TResponse XpackMlGetDatafeedStats<TResponse>(GetDatafeedStatsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
GetDatafeedStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlGetDatafeedStats<TResponse>(string, GetDatafeedStatsRequestParameters)
GET on /_xpack/ml/datafeeds/{datafeed_id}/_stats
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html
TResponse XpackMlGetDatafeedStats<TResponse>(string datafeed_id, GetDatafeedStatsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
datafeed_id
stringThe ID of the datafeeds stats to fetch
requestParameters
GetDatafeedStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlGetDatafeedsAsync<TResponse>(GetDatafeedsRequestParameters, CancellationToken)
GET on /_xpack/ml/datafeeds
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html
Task<TResponse> XpackMlGetDatafeedsAsync<TResponse>(GetDatafeedsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
GetDatafeedsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlGetDatafeedsAsync<TResponse>(string, GetDatafeedsRequestParameters, CancellationToken)
GET on /_xpack/ml/datafeeds/{datafeed_id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html
Task<TResponse> XpackMlGetDatafeedsAsync<TResponse>(string datafeed_id, GetDatafeedsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
datafeed_id
stringThe ID of the datafeeds to fetch
requestParameters
GetDatafeedsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlGetDatafeeds<TResponse>(GetDatafeedsRequestParameters)
GET on /_xpack/ml/datafeeds
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html
TResponse XpackMlGetDatafeeds<TResponse>(GetDatafeedsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
GetDatafeedsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlGetDatafeeds<TResponse>(string, GetDatafeedsRequestParameters)
GET on /_xpack/ml/datafeeds/{datafeed_id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html
TResponse XpackMlGetDatafeeds<TResponse>(string datafeed_id, GetDatafeedsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
datafeed_id
stringThe ID of the datafeeds to fetch
requestParameters
GetDatafeedsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlGetInfluencersAsync<TResponse>(string, GetInfluencersRequestParameters, CancellationToken)
GET on /_xpack/ml/anomaly_detectors/{job_id}/results/influencers
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html
Task<TResponse> XpackMlGetInfluencersAsync<TResponse>(string job_id, GetInfluencersRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringrequestParameters
GetInfluencersRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlGetInfluencersAsync<TResponse>(string, PostData, GetInfluencersRequestParameters, CancellationToken)
POST on /_xpack/ml/anomaly_detectors/{job_id}/results/influencers
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html
Task<TResponse> XpackMlGetInfluencersAsync<TResponse>(string job_id, PostData body, GetInfluencersRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringbody
PostDataInfluencer selection criteria
requestParameters
GetInfluencersRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlGetInfluencers<TResponse>(string, GetInfluencersRequestParameters)
GET on /_xpack/ml/anomaly_detectors/{job_id}/results/influencers
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html
TResponse XpackMlGetInfluencers<TResponse>(string job_id, GetInfluencersRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringrequestParameters
GetInfluencersRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlGetInfluencers<TResponse>(string, PostData, GetInfluencersRequestParameters)
POST on /_xpack/ml/anomaly_detectors/{job_id}/results/influencers
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html
TResponse XpackMlGetInfluencers<TResponse>(string job_id, PostData body, GetInfluencersRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringbody
PostDataInfluencer selection criteria
requestParameters
GetInfluencersRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlGetJobStatsAsync<TResponse>(GetJobStatsRequestParameters, CancellationToken)
GET on /_xpack/ml/anomaly_detectors/_stats
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html
Task<TResponse> XpackMlGetJobStatsAsync<TResponse>(GetJobStatsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
GetJobStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlGetJobStatsAsync<TResponse>(string, GetJobStatsRequestParameters, CancellationToken)
GET on /_xpack/ml/anomaly_detectors/{job_id}/_stats
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html
Task<TResponse> XpackMlGetJobStatsAsync<TResponse>(string job_id, GetJobStatsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe ID of the jobs stats to fetch
requestParameters
GetJobStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlGetJobStats<TResponse>(GetJobStatsRequestParameters)
GET on /_xpack/ml/anomaly_detectors/_stats
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html
TResponse XpackMlGetJobStats<TResponse>(GetJobStatsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
GetJobStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlGetJobStats<TResponse>(string, GetJobStatsRequestParameters)
GET on /_xpack/ml/anomaly_detectors/{job_id}/_stats
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html
TResponse XpackMlGetJobStats<TResponse>(string job_id, GetJobStatsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe ID of the jobs stats to fetch
requestParameters
GetJobStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlGetJobsAsync<TResponse>(GetJobsRequestParameters, CancellationToken)
GET on /_xpack/ml/anomaly_detectors/
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html
Task<TResponse> XpackMlGetJobsAsync<TResponse>(GetJobsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
GetJobsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlGetJobsAsync<TResponse>(string, GetJobsRequestParameters, CancellationToken)
GET on /_xpack/ml/anomaly_detectors/{job_id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html
Task<TResponse> XpackMlGetJobsAsync<TResponse>(string job_id, GetJobsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe ID of the jobs to fetch
requestParameters
GetJobsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlGetJobs<TResponse>(GetJobsRequestParameters)
GET on /_xpack/ml/anomaly_detectors/
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html
TResponse XpackMlGetJobs<TResponse>(GetJobsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
GetJobsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlGetJobs<TResponse>(string, GetJobsRequestParameters)
GET on /_xpack/ml/anomaly_detectors/{job_id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html
TResponse XpackMlGetJobs<TResponse>(string job_id, GetJobsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe ID of the jobs to fetch
requestParameters
GetJobsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlGetModelSnapshotsAsync<TResponse>(string, GetModelSnapshotsRequestParameters, CancellationToken)
GET on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html
Task<TResponse> XpackMlGetModelSnapshotsAsync<TResponse>(string job_id, GetModelSnapshotsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe ID of the job to fetch
requestParameters
GetModelSnapshotsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlGetModelSnapshotsAsync<TResponse>(string, PostData, GetModelSnapshotsRequestParameters, CancellationToken)
POST on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html
Task<TResponse> XpackMlGetModelSnapshotsAsync<TResponse>(string job_id, PostData body, GetModelSnapshotsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe ID of the job to fetch
body
PostDataModel snapshot selection criteria
requestParameters
GetModelSnapshotsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlGetModelSnapshotsAsync<TResponse>(string, string, GetModelSnapshotsRequestParameters, CancellationToken)
GET on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html
Task<TResponse> XpackMlGetModelSnapshotsAsync<TResponse>(string job_id, string snapshot_id, GetModelSnapshotsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe ID of the job to fetch
snapshot_id
stringThe ID of the snapshot to fetch
requestParameters
GetModelSnapshotsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlGetModelSnapshotsAsync<TResponse>(string, string, PostData, GetModelSnapshotsRequestParameters, CancellationToken)
POST on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html
Task<TResponse> XpackMlGetModelSnapshotsAsync<TResponse>(string job_id, string snapshot_id, PostData body, GetModelSnapshotsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe ID of the job to fetch
snapshot_id
stringThe ID of the snapshot to fetch
body
PostDataModel snapshot selection criteria
requestParameters
GetModelSnapshotsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlGetModelSnapshots<TResponse>(string, GetModelSnapshotsRequestParameters)
GET on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html
TResponse XpackMlGetModelSnapshots<TResponse>(string job_id, GetModelSnapshotsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe ID of the job to fetch
requestParameters
GetModelSnapshotsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlGetModelSnapshots<TResponse>(string, PostData, GetModelSnapshotsRequestParameters)
POST on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html
TResponse XpackMlGetModelSnapshots<TResponse>(string job_id, PostData body, GetModelSnapshotsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe ID of the job to fetch
body
PostDataModel snapshot selection criteria
requestParameters
GetModelSnapshotsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlGetModelSnapshots<TResponse>(string, string, GetModelSnapshotsRequestParameters)
GET on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html
TResponse XpackMlGetModelSnapshots<TResponse>(string job_id, string snapshot_id, GetModelSnapshotsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe ID of the job to fetch
snapshot_id
stringThe ID of the snapshot to fetch
requestParameters
GetModelSnapshotsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlGetModelSnapshots<TResponse>(string, string, PostData, GetModelSnapshotsRequestParameters)
POST on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html
TResponse XpackMlGetModelSnapshots<TResponse>(string job_id, string snapshot_id, PostData body, GetModelSnapshotsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe ID of the job to fetch
snapshot_id
stringThe ID of the snapshot to fetch
body
PostDataModel snapshot selection criteria
requestParameters
GetModelSnapshotsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlGetRecordsAsync<TResponse>(string, GetAnomalyRecordsRequestParameters, CancellationToken)
GET on /_xpack/ml/anomaly_detectors/{job_id}/results/records
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html
Task<TResponse> XpackMlGetRecordsAsync<TResponse>(string job_id, GetAnomalyRecordsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringrequestParameters
GetAnomalyRecordsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlGetRecordsAsync<TResponse>(string, PostData, GetAnomalyRecordsRequestParameters, CancellationToken)
POST on /_xpack/ml/anomaly_detectors/{job_id}/results/records
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html
Task<TResponse> XpackMlGetRecordsAsync<TResponse>(string job_id, PostData body, GetAnomalyRecordsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringbody
PostDataRecord selection criteria
requestParameters
GetAnomalyRecordsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlGetRecords<TResponse>(string, GetAnomalyRecordsRequestParameters)
GET on /_xpack/ml/anomaly_detectors/{job_id}/results/records
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html
TResponse XpackMlGetRecords<TResponse>(string job_id, GetAnomalyRecordsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringrequestParameters
GetAnomalyRecordsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlGetRecords<TResponse>(string, PostData, GetAnomalyRecordsRequestParameters)
POST on /_xpack/ml/anomaly_detectors/{job_id}/results/records
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html
TResponse XpackMlGetRecords<TResponse>(string job_id, PostData body, GetAnomalyRecordsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringbody
PostDataRecord selection criteria
requestParameters
GetAnomalyRecordsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlOpenJobAsync<TResponse>(string, OpenJobRequestParameters, CancellationToken)
POST on /_xpack/ml/anomaly_detectors/{job_id}/_open
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-open-job.html
Task<TResponse> XpackMlOpenJobAsync<TResponse>(string job_id, OpenJobRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe ID of the job to open
requestParameters
OpenJobRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlOpenJob<TResponse>(string, OpenJobRequestParameters)
POST on /_xpack/ml/anomaly_detectors/{job_id}/_open
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-open-job.html
TResponse XpackMlOpenJob<TResponse>(string job_id, OpenJobRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe ID of the job to open
requestParameters
OpenJobRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlPostDataAsync<TResponse>(string, PostData, PostJobDataRequestParameters, CancellationToken)
POST on /_xpack/ml/anomaly_detectors/{job_id}/_data
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-data.html
Task<TResponse> XpackMlPostDataAsync<TResponse>(string job_id, PostData body, PostJobDataRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe name of the job receiving the data
body
PostDataThe data to process
requestParameters
PostJobDataRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlPostData<TResponse>(string, PostData, PostJobDataRequestParameters)
POST on /_xpack/ml/anomaly_detectors/{job_id}/_data
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-data.html
TResponse XpackMlPostData<TResponse>(string job_id, PostData body, PostJobDataRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe name of the job receiving the data
body
PostDataThe data to process
requestParameters
PostJobDataRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlPreviewDatafeedAsync<TResponse>(string, PreviewDatafeedRequestParameters, CancellationToken)
GET on /_xpack/ml/datafeeds/{datafeed_id}/_preview
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html
Task<TResponse> XpackMlPreviewDatafeedAsync<TResponse>(string datafeed_id, PreviewDatafeedRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
datafeed_id
stringThe ID of the datafeed to preview
requestParameters
PreviewDatafeedRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlPreviewDatafeed<TResponse>(string, PreviewDatafeedRequestParameters)
GET on /_xpack/ml/datafeeds/{datafeed_id}/_preview
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html
TResponse XpackMlPreviewDatafeed<TResponse>(string datafeed_id, PreviewDatafeedRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
datafeed_id
stringThe ID of the datafeed to preview
requestParameters
PreviewDatafeedRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlPutDatafeedAsync<TResponse>(string, PostData, PutDatafeedRequestParameters, CancellationToken)
PUT on /_xpack/ml/datafeeds/{datafeed_id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-datafeed.html
Task<TResponse> XpackMlPutDatafeedAsync<TResponse>(string datafeed_id, PostData body, PutDatafeedRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
datafeed_id
stringThe ID of the datafeed to create
body
PostDataThe datafeed config
requestParameters
PutDatafeedRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlPutDatafeed<TResponse>(string, PostData, PutDatafeedRequestParameters)
PUT on /_xpack/ml/datafeeds/{datafeed_id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-datafeed.html
TResponse XpackMlPutDatafeed<TResponse>(string datafeed_id, PostData body, PutDatafeedRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
datafeed_id
stringThe ID of the datafeed to create
body
PostDataThe datafeed config
requestParameters
PutDatafeedRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlPutJobAsync<TResponse>(string, PostData, PutJobRequestParameters, CancellationToken)
PUT on /_xpack/ml/anomaly_detectors/{job_id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html
Task<TResponse> XpackMlPutJobAsync<TResponse>(string job_id, PostData body, PutJobRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe ID of the job to create
body
PostDataThe job
requestParameters
PutJobRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlPutJob<TResponse>(string, PostData, PutJobRequestParameters)
PUT on /_xpack/ml/anomaly_detectors/{job_id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html
TResponse XpackMlPutJob<TResponse>(string job_id, PostData body, PutJobRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe ID of the job to create
body
PostDataThe job
requestParameters
PutJobRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlRevertModelSnapshotAsync<TResponse>(string, string, PostData, RevertModelSnapshotRequestParameters, CancellationToken)
POST on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_revert
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-revert-snapshot.html
Task<TResponse> XpackMlRevertModelSnapshotAsync<TResponse>(string job_id, string snapshot_id, PostData body, RevertModelSnapshotRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe ID of the job to fetch
snapshot_id
stringThe ID of the snapshot to revert to
body
PostDataReversion options
requestParameters
RevertModelSnapshotRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlRevertModelSnapshot<TResponse>(string, string, PostData, RevertModelSnapshotRequestParameters)
POST on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_revert
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-revert-snapshot.html
TResponse XpackMlRevertModelSnapshot<TResponse>(string job_id, string snapshot_id, PostData body, RevertModelSnapshotRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe ID of the job to fetch
snapshot_id
stringThe ID of the snapshot to revert to
body
PostDataReversion options
requestParameters
RevertModelSnapshotRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlStartDatafeedAsync<TResponse>(string, PostData, StartDatafeedRequestParameters, CancellationToken)
POST on /_xpack/ml/datafeeds/{datafeed_id}/_start
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-start-datafeed.html
Task<TResponse> XpackMlStartDatafeedAsync<TResponse>(string datafeed_id, PostData body, StartDatafeedRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
datafeed_id
stringThe ID of the datafeed to start
body
PostDataThe start datafeed parameters
requestParameters
StartDatafeedRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlStartDatafeed<TResponse>(string, PostData, StartDatafeedRequestParameters)
POST on /_xpack/ml/datafeeds/{datafeed_id}/_start
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-start-datafeed.html
TResponse XpackMlStartDatafeed<TResponse>(string datafeed_id, PostData body, StartDatafeedRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
datafeed_id
stringThe ID of the datafeed to start
body
PostDataThe start datafeed parameters
requestParameters
StartDatafeedRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlStopDatafeedAsync<TResponse>(string, StopDatafeedRequestParameters, CancellationToken)
POST on /_xpack/ml/datafeeds/{datafeed_id}/_stop
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-stop-datafeed.html
Task<TResponse> XpackMlStopDatafeedAsync<TResponse>(string datafeed_id, StopDatafeedRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
datafeed_id
stringThe ID of the datafeed to stop
requestParameters
StopDatafeedRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlStopDatafeed<TResponse>(string, StopDatafeedRequestParameters)
POST on /_xpack/ml/datafeeds/{datafeed_id}/_stop
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-stop-datafeed.html
TResponse XpackMlStopDatafeed<TResponse>(string datafeed_id, StopDatafeedRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
datafeed_id
stringThe ID of the datafeed to stop
requestParameters
StopDatafeedRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlUpdateDatafeedAsync<TResponse>(string, PostData, UpdateDatafeedRequestParameters, CancellationToken)
POST on /_xpack/ml/datafeeds/{datafeed_id}/_update
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-datafeed.html
Task<TResponse> XpackMlUpdateDatafeedAsync<TResponse>(string datafeed_id, PostData body, UpdateDatafeedRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
datafeed_id
stringThe ID of the datafeed to update
body
PostDataThe datafeed update settings
requestParameters
UpdateDatafeedRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlUpdateDatafeed<TResponse>(string, PostData, UpdateDatafeedRequestParameters)
POST on /_xpack/ml/datafeeds/{datafeed_id}/_update
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-datafeed.html
TResponse XpackMlUpdateDatafeed<TResponse>(string datafeed_id, PostData body, UpdateDatafeedRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
datafeed_id
stringThe ID of the datafeed to update
body
PostDataThe datafeed update settings
requestParameters
UpdateDatafeedRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlUpdateJobAsync<TResponse>(string, PostData, UpdateJobRequestParameters, CancellationToken)
POST on /_xpack/ml/anomaly_detectors/{job_id}/_update
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-job.html
Task<TResponse> XpackMlUpdateJobAsync<TResponse>(string job_id, PostData body, UpdateJobRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe ID of the job to create
body
PostDataThe job update settings
requestParameters
UpdateJobRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlUpdateJob<TResponse>(string, PostData, UpdateJobRequestParameters)
POST on /_xpack/ml/anomaly_detectors/{job_id}/_update
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-job.html
TResponse XpackMlUpdateJob<TResponse>(string job_id, PostData body, UpdateJobRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe ID of the job to create
body
PostDataThe job update settings
requestParameters
UpdateJobRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlUpdateModelSnapshotAsync<TResponse>(string, string, PostData, UpdateModelSnapshotRequestParameters, CancellationToken)
POST on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_update
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-snapshot.html
Task<TResponse> XpackMlUpdateModelSnapshotAsync<TResponse>(string job_id, string snapshot_id, PostData body, UpdateModelSnapshotRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe ID of the job to fetch
snapshot_id
stringThe ID of the snapshot to update
body
PostDataThe model snapshot properties to update
requestParameters
UpdateModelSnapshotRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlUpdateModelSnapshot<TResponse>(string, string, PostData, UpdateModelSnapshotRequestParameters)
POST on /_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_update
http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-snapshot.html
TResponse XpackMlUpdateModelSnapshot<TResponse>(string job_id, string snapshot_id, PostData body, UpdateModelSnapshotRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
job_id
stringThe ID of the job to fetch
snapshot_id
stringThe ID of the snapshot to update
body
PostDataThe model snapshot properties to update
requestParameters
UpdateModelSnapshotRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlValidateAsync<TResponse>(PostData, ValidateJobRequestParameters, CancellationToken)
POST on /_xpack/ml/anomaly_detectors/_validate
Task<TResponse> XpackMlValidateAsync<TResponse>(PostData body, ValidateJobRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe job config
requestParameters
ValidateJobRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlValidateDetectorAsync<TResponse>(PostData, ValidateDetectorRequestParameters, CancellationToken)
POST on /_xpack/ml/anomaly_detectors/_validate/detector
Task<TResponse> XpackMlValidateDetectorAsync<TResponse>(PostData body, ValidateDetectorRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe detector
requestParameters
ValidateDetectorRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackMlValidateDetector<TResponse>(PostData, ValidateDetectorRequestParameters)
POST on /_xpack/ml/anomaly_detectors/_validate/detector
TResponse XpackMlValidateDetector<TResponse>(PostData body, ValidateDetectorRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe detector
requestParameters
ValidateDetectorRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackMlValidate<TResponse>(PostData, ValidateJobRequestParameters)
POST on /_xpack/ml/anomaly_detectors/_validate
TResponse XpackMlValidate<TResponse>(PostData body, ValidateJobRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe job config
requestParameters
ValidateJobRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackSecurityAuthenticateAsync<TResponse>(AuthenticateRequestParameters, CancellationToken)
GET on /_xpack/security/_authenticate
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-authenticate.html
Task<TResponse> XpackSecurityAuthenticateAsync<TResponse>(AuthenticateRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
AuthenticateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackSecurityAuthenticate<TResponse>(AuthenticateRequestParameters)
GET on /_xpack/security/_authenticate
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-authenticate.html
TResponse XpackSecurityAuthenticate<TResponse>(AuthenticateRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
AuthenticateRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackSecurityChangePasswordAsync<TResponse>(PostData, ChangePasswordRequestParameters, CancellationToken)
PUT on /_xpack/security/user/_password
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html
Task<TResponse> XpackSecurityChangePasswordAsync<TResponse>(PostData body, ChangePasswordRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDatathe new password for the user
requestParameters
ChangePasswordRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackSecurityChangePasswordAsync<TResponse>(string, PostData, ChangePasswordRequestParameters, CancellationToken)
PUT on /_xpack/security/user/{username}/_password
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html
Task<TResponse> XpackSecurityChangePasswordAsync<TResponse>(string username, PostData body, ChangePasswordRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
username
stringThe username of the user to change the password for
body
PostDatathe new password for the user
requestParameters
ChangePasswordRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackSecurityChangePasswordPostAsync<TResponse>(PostData, ChangePasswordRequestParameters, CancellationToken)
POST on /_xpack/security/user/_password
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html
Task<TResponse> XpackSecurityChangePasswordPostAsync<TResponse>(PostData body, ChangePasswordRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDatathe new password for the user
requestParameters
ChangePasswordRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackSecurityChangePasswordPostAsync<TResponse>(string, PostData, ChangePasswordRequestParameters, CancellationToken)
POST on /_xpack/security/user/{username}/_password
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html
Task<TResponse> XpackSecurityChangePasswordPostAsync<TResponse>(string username, PostData body, ChangePasswordRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
username
stringThe username of the user to change the password for
body
PostDatathe new password for the user
requestParameters
ChangePasswordRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackSecurityChangePasswordPost<TResponse>(PostData, ChangePasswordRequestParameters)
POST on /_xpack/security/user/_password
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html
TResponse XpackSecurityChangePasswordPost<TResponse>(PostData body, ChangePasswordRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDatathe new password for the user
requestParameters
ChangePasswordRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackSecurityChangePasswordPost<TResponse>(string, PostData, ChangePasswordRequestParameters)
POST on /_xpack/security/user/{username}/_password
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html
TResponse XpackSecurityChangePasswordPost<TResponse>(string username, PostData body, ChangePasswordRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
username
stringThe username of the user to change the password for
body
PostDatathe new password for the user
requestParameters
ChangePasswordRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackSecurityChangePassword<TResponse>(PostData, ChangePasswordRequestParameters)
PUT on /_xpack/security/user/_password
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html
TResponse XpackSecurityChangePassword<TResponse>(PostData body, ChangePasswordRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDatathe new password for the user
requestParameters
ChangePasswordRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackSecurityChangePassword<TResponse>(string, PostData, ChangePasswordRequestParameters)
PUT on /_xpack/security/user/{username}/_password
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html
TResponse XpackSecurityChangePassword<TResponse>(string username, PostData body, ChangePasswordRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
username
stringThe username of the user to change the password for
body
PostDatathe new password for the user
requestParameters
ChangePasswordRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackSecurityClearCachedRealmsAsync<TResponse>(string, ClearCachedRealmsRequestParameters, CancellationToken)
POST on /_xpack/security/realm/{realms}/_clear_cache
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-cache.html
Task<TResponse> XpackSecurityClearCachedRealmsAsync<TResponse>(string realms, ClearCachedRealmsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
realms
stringComma-separated list of realms to clear
requestParameters
ClearCachedRealmsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackSecurityClearCachedRealms<TResponse>(string, ClearCachedRealmsRequestParameters)
POST on /_xpack/security/realm/{realms}/_clear_cache
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-cache.html
TResponse XpackSecurityClearCachedRealms<TResponse>(string realms, ClearCachedRealmsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
realms
stringComma-separated list of realms to clear
requestParameters
ClearCachedRealmsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackSecurityClearCachedRolesAsync<TResponse>(string, ClearCachedRolesRequestParameters, CancellationToken)
POST on /_xpack/security/role/{name}/_clear_cache
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-clear-role-cache
Task<TResponse> XpackSecurityClearCachedRolesAsync<TResponse>(string name, ClearCachedRolesRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringRole name
requestParameters
ClearCachedRolesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackSecurityClearCachedRoles<TResponse>(string, ClearCachedRolesRequestParameters)
POST on /_xpack/security/role/{name}/_clear_cache
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-clear-role-cache
TResponse XpackSecurityClearCachedRoles<TResponse>(string name, ClearCachedRolesRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringRole name
requestParameters
ClearCachedRolesRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackSecurityDeleteRoleAsync<TResponse>(string, DeleteRoleRequestParameters, CancellationToken)
DELETE on /_xpack/security/role/{name}
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-delete-role
Task<TResponse> XpackSecurityDeleteRoleAsync<TResponse>(string name, DeleteRoleRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringRole name
requestParameters
DeleteRoleRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackSecurityDeleteRoleMappingAsync<TResponse>(string, DeleteRoleMappingRequestParameters, CancellationToken)
DELETE on /_xpack/security/role_mapping/{name}
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-delete-role-mapping
Task<TResponse> XpackSecurityDeleteRoleMappingAsync<TResponse>(string name, DeleteRoleMappingRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringRole-mapping name
requestParameters
DeleteRoleMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackSecurityDeleteRoleMapping<TResponse>(string, DeleteRoleMappingRequestParameters)
DELETE on /_xpack/security/role_mapping/{name}
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-delete-role-mapping
TResponse XpackSecurityDeleteRoleMapping<TResponse>(string name, DeleteRoleMappingRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringRole-mapping name
requestParameters
DeleteRoleMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackSecurityDeleteRole<TResponse>(string, DeleteRoleRequestParameters)
DELETE on /_xpack/security/role/{name}
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-delete-role
TResponse XpackSecurityDeleteRole<TResponse>(string name, DeleteRoleRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringRole name
requestParameters
DeleteRoleRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackSecurityDeleteUserAsync<TResponse>(string, DeleteUserRequestParameters, CancellationToken)
DELETE on /_xpack/security/user/{username}
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-delete-user
Task<TResponse> XpackSecurityDeleteUserAsync<TResponse>(string username, DeleteUserRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
username
stringusername
requestParameters
DeleteUserRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackSecurityDeleteUser<TResponse>(string, DeleteUserRequestParameters)
DELETE on /_xpack/security/user/{username}
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-delete-user
TResponse XpackSecurityDeleteUser<TResponse>(string username, DeleteUserRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
username
stringusername
requestParameters
DeleteUserRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackSecurityDisableUserAsync<TResponse>(string, DisableUserRequestParameters, CancellationToken)
PUT on /_xpack/security/user/{username}/_disable
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-disable-user
Task<TResponse> XpackSecurityDisableUserAsync<TResponse>(string username, DisableUserRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
username
stringThe username of the user to disable
requestParameters
DisableUserRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackSecurityDisableUserPostAsync<TResponse>(string, DisableUserRequestParameters, CancellationToken)
POST on /_xpack/security/user/{username}/_disable
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-disable-user
Task<TResponse> XpackSecurityDisableUserPostAsync<TResponse>(string username, DisableUserRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
username
stringThe username of the user to disable
requestParameters
DisableUserRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackSecurityDisableUserPost<TResponse>(string, DisableUserRequestParameters)
POST on /_xpack/security/user/{username}/_disable
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-disable-user
TResponse XpackSecurityDisableUserPost<TResponse>(string username, DisableUserRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
username
stringThe username of the user to disable
requestParameters
DisableUserRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackSecurityDisableUser<TResponse>(string, DisableUserRequestParameters)
PUT on /_xpack/security/user/{username}/_disable
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-disable-user
TResponse XpackSecurityDisableUser<TResponse>(string username, DisableUserRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
username
stringThe username of the user to disable
requestParameters
DisableUserRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackSecurityEnableUserAsync<TResponse>(string, EnableUserRequestParameters, CancellationToken)
PUT on /_xpack/security/user/{username}/_enable
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-enable-user
Task<TResponse> XpackSecurityEnableUserAsync<TResponse>(string username, EnableUserRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
username
stringThe username of the user to enable
requestParameters
EnableUserRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackSecurityEnableUserPostAsync<TResponse>(string, EnableUserRequestParameters, CancellationToken)
POST on /_xpack/security/user/{username}/_enable
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-enable-user
Task<TResponse> XpackSecurityEnableUserPostAsync<TResponse>(string username, EnableUserRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
username
stringThe username of the user to enable
requestParameters
EnableUserRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackSecurityEnableUserPost<TResponse>(string, EnableUserRequestParameters)
POST on /_xpack/security/user/{username}/_enable
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-enable-user
TResponse XpackSecurityEnableUserPost<TResponse>(string username, EnableUserRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
username
stringThe username of the user to enable
requestParameters
EnableUserRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackSecurityEnableUser<TResponse>(string, EnableUserRequestParameters)
PUT on /_xpack/security/user/{username}/_enable
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-enable-user
TResponse XpackSecurityEnableUser<TResponse>(string username, EnableUserRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
username
stringThe username of the user to enable
requestParameters
EnableUserRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackSecurityGetRoleAsync<TResponse>(GetRoleRequestParameters, CancellationToken)
GET on /_xpack/security/role
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-get-role
Task<TResponse> XpackSecurityGetRoleAsync<TResponse>(GetRoleRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
GetRoleRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackSecurityGetRoleAsync<TResponse>(string, GetRoleRequestParameters, CancellationToken)
GET on /_xpack/security/role/{name}
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-get-role
Task<TResponse> XpackSecurityGetRoleAsync<TResponse>(string name, GetRoleRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringRole name
requestParameters
GetRoleRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackSecurityGetRoleMappingAsync<TResponse>(GetRoleMappingRequestParameters, CancellationToken)
GET on /_xpack/security/role_mapping
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-get-role-mapping
Task<TResponse> XpackSecurityGetRoleMappingAsync<TResponse>(GetRoleMappingRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
GetRoleMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackSecurityGetRoleMappingAsync<TResponse>(string, GetRoleMappingRequestParameters, CancellationToken)
GET on /_xpack/security/role_mapping/{name}
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-get-role-mapping
Task<TResponse> XpackSecurityGetRoleMappingAsync<TResponse>(string name, GetRoleMappingRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringRole-Mapping name
requestParameters
GetRoleMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackSecurityGetRoleMapping<TResponse>(GetRoleMappingRequestParameters)
GET on /_xpack/security/role_mapping
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-get-role-mapping
TResponse XpackSecurityGetRoleMapping<TResponse>(GetRoleMappingRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
GetRoleMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackSecurityGetRoleMapping<TResponse>(string, GetRoleMappingRequestParameters)
GET on /_xpack/security/role_mapping/{name}
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-get-role-mapping
TResponse XpackSecurityGetRoleMapping<TResponse>(string name, GetRoleMappingRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringRole-Mapping name
requestParameters
GetRoleMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackSecurityGetRole<TResponse>(GetRoleRequestParameters)
GET on /_xpack/security/role
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-get-role
TResponse XpackSecurityGetRole<TResponse>(GetRoleRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
GetRoleRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackSecurityGetRole<TResponse>(string, GetRoleRequestParameters)
GET on /_xpack/security/role/{name}
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-get-role
TResponse XpackSecurityGetRole<TResponse>(string name, GetRoleRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringRole name
requestParameters
GetRoleRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackSecurityGetTokenAsync<TResponse>(PostData, GetUserAccessTokenRequestParameters, CancellationToken)
POST on /_xpack/security/oauth2/token
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-tokens.html#security-api-get-token
Task<TResponse> XpackSecurityGetTokenAsync<TResponse>(PostData body, GetUserAccessTokenRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe token request to get
requestParameters
GetUserAccessTokenRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackSecurityGetToken<TResponse>(PostData, GetUserAccessTokenRequestParameters)
POST on /_xpack/security/oauth2/token
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-tokens.html#security-api-get-token
TResponse XpackSecurityGetToken<TResponse>(PostData body, GetUserAccessTokenRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe token request to get
requestParameters
GetUserAccessTokenRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackSecurityGetUserAsync<TResponse>(GetUserRequestParameters, CancellationToken)
GET on /_xpack/security/user
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-get-user
Task<TResponse> XpackSecurityGetUserAsync<TResponse>(GetUserRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
GetUserRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackSecurityGetUserAsync<TResponse>(string, GetUserRequestParameters, CancellationToken)
GET on /_xpack/security/user/{username}
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-get-user
Task<TResponse> XpackSecurityGetUserAsync<TResponse>(string username, GetUserRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
username
stringA comma-separated list of usernames
requestParameters
GetUserRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackSecurityGetUser<TResponse>(GetUserRequestParameters)
GET on /_xpack/security/user
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-get-user
TResponse XpackSecurityGetUser<TResponse>(GetUserRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
GetUserRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackSecurityGetUser<TResponse>(string, GetUserRequestParameters)
GET on /_xpack/security/user/{username}
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-get-user
TResponse XpackSecurityGetUser<TResponse>(string username, GetUserRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
username
stringA comma-separated list of usernames
requestParameters
GetUserRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackSecurityInvalidateTokenAsync<TResponse>(PostData, InvalidateUserAccessTokenRequestParameters, CancellationToken)
DELETE on /_xpack/security/oauth2/token
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-tokens.html#security-api-invalidate-token
Task<TResponse> XpackSecurityInvalidateTokenAsync<TResponse>(PostData body, InvalidateUserAccessTokenRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe token to invalidate
requestParameters
InvalidateUserAccessTokenRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackSecurityInvalidateToken<TResponse>(PostData, InvalidateUserAccessTokenRequestParameters)
DELETE on /_xpack/security/oauth2/token
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-tokens.html#security-api-invalidate-token
TResponse XpackSecurityInvalidateToken<TResponse>(PostData body, InvalidateUserAccessTokenRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataThe token to invalidate
requestParameters
InvalidateUserAccessTokenRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackSecurityPutRoleAsync<TResponse>(string, PostData, PutRoleRequestParameters, CancellationToken)
PUT on /_xpack/security/role/{name}
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-put-role
Task<TResponse> XpackSecurityPutRoleAsync<TResponse>(string name, PostData body, PutRoleRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringRole name
body
PostDataThe role to add
requestParameters
PutRoleRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackSecurityPutRoleMappingAsync<TResponse>(string, PostData, PutRoleMappingRequestParameters, CancellationToken)
PUT on /_xpack/security/role_mapping/{name}
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-put-role-mapping
Task<TResponse> XpackSecurityPutRoleMappingAsync<TResponse>(string name, PostData body, PutRoleMappingRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringRole-mapping name
body
PostDataThe role to add
requestParameters
PutRoleMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackSecurityPutRoleMappingPostAsync<TResponse>(string, PostData, PutRoleMappingRequestParameters, CancellationToken)
POST on /_xpack/security/role_mapping/{name}
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-put-role-mapping
Task<TResponse> XpackSecurityPutRoleMappingPostAsync<TResponse>(string name, PostData body, PutRoleMappingRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringRole-mapping name
body
PostDataThe role to add
requestParameters
PutRoleMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackSecurityPutRoleMappingPost<TResponse>(string, PostData, PutRoleMappingRequestParameters)
POST on /_xpack/security/role_mapping/{name}
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-put-role-mapping
TResponse XpackSecurityPutRoleMappingPost<TResponse>(string name, PostData body, PutRoleMappingRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringRole-mapping name
body
PostDataThe role to add
requestParameters
PutRoleMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackSecurityPutRoleMapping<TResponse>(string, PostData, PutRoleMappingRequestParameters)
PUT on /_xpack/security/role_mapping/{name}
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-role-mapping.html#security-api-put-role-mapping
TResponse XpackSecurityPutRoleMapping<TResponse>(string name, PostData body, PutRoleMappingRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringRole-mapping name
body
PostDataThe role to add
requestParameters
PutRoleMappingRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackSecurityPutRolePostAsync<TResponse>(string, PostData, PutRoleRequestParameters, CancellationToken)
POST on /_xpack/security/role/{name}
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-put-role
Task<TResponse> XpackSecurityPutRolePostAsync<TResponse>(string name, PostData body, PutRoleRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringRole name
body
PostDataThe role to add
requestParameters
PutRoleRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackSecurityPutRolePost<TResponse>(string, PostData, PutRoleRequestParameters)
POST on /_xpack/security/role/{name}
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-put-role
TResponse XpackSecurityPutRolePost<TResponse>(string name, PostData body, PutRoleRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringRole name
body
PostDataThe role to add
requestParameters
PutRoleRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackSecurityPutRole<TResponse>(string, PostData, PutRoleRequestParameters)
PUT on /_xpack/security/role/{name}
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-roles.html#security-api-put-role
TResponse XpackSecurityPutRole<TResponse>(string name, PostData body, PutRoleRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
name
stringRole name
body
PostDataThe role to add
requestParameters
PutRoleRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackSecurityPutUserAsync<TResponse>(string, PostData, PutUserRequestParameters, CancellationToken)
PUT on /_xpack/security/user/{username}
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-put-user
Task<TResponse> XpackSecurityPutUserAsync<TResponse>(string username, PostData body, PutUserRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
username
stringThe username of the User
body
PostDataThe user to add
requestParameters
PutUserRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackSecurityPutUserPostAsync<TResponse>(string, PostData, PutUserRequestParameters, CancellationToken)
POST on /_xpack/security/user/{username}
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-put-user
Task<TResponse> XpackSecurityPutUserPostAsync<TResponse>(string username, PostData body, PutUserRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
username
stringThe username of the User
body
PostDataThe user to add
requestParameters
PutUserRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackSecurityPutUserPost<TResponse>(string, PostData, PutUserRequestParameters)
POST on /_xpack/security/user/{username}
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-put-user
TResponse XpackSecurityPutUserPost<TResponse>(string username, PostData body, PutUserRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
username
stringThe username of the User
body
PostDataThe user to add
requestParameters
PutUserRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackSecurityPutUser<TResponse>(string, PostData, PutUserRequestParameters)
PUT on /_xpack/security/user/{username}
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-users.html#security-api-put-user
TResponse XpackSecurityPutUser<TResponse>(string username, PostData body, PutUserRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
username
stringThe username of the User
body
PostDataThe user to add
requestParameters
PutUserRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackUsageAsync<TResponse>(XPackUsageRequestParameters, CancellationToken)
GET on /_xpack/usage
Retrieve information about xpack features usage
Task<TResponse> XpackUsageAsync<TResponse>(XPackUsageRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
XPackUsageRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackUsage<TResponse>(XPackUsageRequestParameters)
GET on /_xpack/usage
Retrieve information about xpack features usage
TResponse XpackUsage<TResponse>(XPackUsageRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
XPackUsageRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackWatcherAckWatchAsync<TResponse>(string, AcknowledgeWatchRequestParameters, CancellationToken)
PUT on /_xpack/watcher/watch/{watch_id}/_ack
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html
Task<TResponse> XpackWatcherAckWatchAsync<TResponse>(string watch_id, AcknowledgeWatchRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
watch_id
stringWatch ID
requestParameters
AcknowledgeWatchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackWatcherAckWatchAsync<TResponse>(string, string, AcknowledgeWatchRequestParameters, CancellationToken)
PUT on /_xpack/watcher/watch/{watch_id}/_ack/{action_id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html
Task<TResponse> XpackWatcherAckWatchAsync<TResponse>(string watch_id, string action_id, AcknowledgeWatchRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
watch_id
stringWatch ID
action_id
stringA comma-separated list of the action ids to be acked
requestParameters
AcknowledgeWatchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackWatcherAckWatchPostAsync<TResponse>(string, AcknowledgeWatchRequestParameters, CancellationToken)
POST on /_xpack/watcher/watch/{watch_id}/_ack
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html
Task<TResponse> XpackWatcherAckWatchPostAsync<TResponse>(string watch_id, AcknowledgeWatchRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
watch_id
stringWatch ID
requestParameters
AcknowledgeWatchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackWatcherAckWatchPostAsync<TResponse>(string, string, AcknowledgeWatchRequestParameters, CancellationToken)
POST on /_xpack/watcher/watch/{watch_id}/_ack/{action_id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html
Task<TResponse> XpackWatcherAckWatchPostAsync<TResponse>(string watch_id, string action_id, AcknowledgeWatchRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
watch_id
stringWatch ID
action_id
stringA comma-separated list of the action ids to be acked
requestParameters
AcknowledgeWatchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackWatcherAckWatchPost<TResponse>(string, AcknowledgeWatchRequestParameters)
POST on /_xpack/watcher/watch/{watch_id}/_ack
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html
TResponse XpackWatcherAckWatchPost<TResponse>(string watch_id, AcknowledgeWatchRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
watch_id
stringWatch ID
requestParameters
AcknowledgeWatchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackWatcherAckWatchPost<TResponse>(string, string, AcknowledgeWatchRequestParameters)
POST on /_xpack/watcher/watch/{watch_id}/_ack/{action_id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html
TResponse XpackWatcherAckWatchPost<TResponse>(string watch_id, string action_id, AcknowledgeWatchRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
watch_id
stringWatch ID
action_id
stringA comma-separated list of the action ids to be acked
requestParameters
AcknowledgeWatchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackWatcherAckWatch<TResponse>(string, AcknowledgeWatchRequestParameters)
PUT on /_xpack/watcher/watch/{watch_id}/_ack
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html
TResponse XpackWatcherAckWatch<TResponse>(string watch_id, AcknowledgeWatchRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
watch_id
stringWatch ID
requestParameters
AcknowledgeWatchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackWatcherAckWatch<TResponse>(string, string, AcknowledgeWatchRequestParameters)
PUT on /_xpack/watcher/watch/{watch_id}/_ack/{action_id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html
TResponse XpackWatcherAckWatch<TResponse>(string watch_id, string action_id, AcknowledgeWatchRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
watch_id
stringWatch ID
action_id
stringA comma-separated list of the action ids to be acked
requestParameters
AcknowledgeWatchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackWatcherActivateWatchAsync<TResponse>(string, ActivateWatchRequestParameters, CancellationToken)
PUT on /_xpack/watcher/watch/{watch_id}/_activate
https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-activate-watch.html
Task<TResponse> XpackWatcherActivateWatchAsync<TResponse>(string watch_id, ActivateWatchRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
watch_id
stringWatch ID
requestParameters
ActivateWatchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackWatcherActivateWatchPostAsync<TResponse>(string, ActivateWatchRequestParameters, CancellationToken)
POST on /_xpack/watcher/watch/{watch_id}/_activate
https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-activate-watch.html
Task<TResponse> XpackWatcherActivateWatchPostAsync<TResponse>(string watch_id, ActivateWatchRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
watch_id
stringWatch ID
requestParameters
ActivateWatchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackWatcherActivateWatchPost<TResponse>(string, ActivateWatchRequestParameters)
POST on /_xpack/watcher/watch/{watch_id}/_activate
https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-activate-watch.html
TResponse XpackWatcherActivateWatchPost<TResponse>(string watch_id, ActivateWatchRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
watch_id
stringWatch ID
requestParameters
ActivateWatchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackWatcherActivateWatch<TResponse>(string, ActivateWatchRequestParameters)
PUT on /_xpack/watcher/watch/{watch_id}/_activate
https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-activate-watch.html
TResponse XpackWatcherActivateWatch<TResponse>(string watch_id, ActivateWatchRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
watch_id
stringWatch ID
requestParameters
ActivateWatchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackWatcherDeactivateWatchAsync<TResponse>(string, DeactivateWatchRequestParameters, CancellationToken)
PUT on /_xpack/watcher/watch/{watch_id}/_deactivate
https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-deactivate-watch.html
Task<TResponse> XpackWatcherDeactivateWatchAsync<TResponse>(string watch_id, DeactivateWatchRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
watch_id
stringWatch ID
requestParameters
DeactivateWatchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackWatcherDeactivateWatchPostAsync<TResponse>(string, DeactivateWatchRequestParameters, CancellationToken)
POST on /_xpack/watcher/watch/{watch_id}/_deactivate
https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-deactivate-watch.html
Task<TResponse> XpackWatcherDeactivateWatchPostAsync<TResponse>(string watch_id, DeactivateWatchRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
watch_id
stringWatch ID
requestParameters
DeactivateWatchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackWatcherDeactivateWatchPost<TResponse>(string, DeactivateWatchRequestParameters)
POST on /_xpack/watcher/watch/{watch_id}/_deactivate
https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-deactivate-watch.html
TResponse XpackWatcherDeactivateWatchPost<TResponse>(string watch_id, DeactivateWatchRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
watch_id
stringWatch ID
requestParameters
DeactivateWatchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackWatcherDeactivateWatch<TResponse>(string, DeactivateWatchRequestParameters)
PUT on /_xpack/watcher/watch/{watch_id}/_deactivate
https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-deactivate-watch.html
TResponse XpackWatcherDeactivateWatch<TResponse>(string watch_id, DeactivateWatchRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
watch_id
stringWatch ID
requestParameters
DeactivateWatchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackWatcherDeleteWatchAsync<TResponse>(string, DeleteWatchRequestParameters, CancellationToken)
DELETE on /_xpack/watcher/watch/{id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-delete-watch.html
Task<TResponse> XpackWatcherDeleteWatchAsync<TResponse>(string id, DeleteWatchRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringWatch ID
requestParameters
DeleteWatchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackWatcherDeleteWatch<TResponse>(string, DeleteWatchRequestParameters)
DELETE on /_xpack/watcher/watch/{id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-delete-watch.html
TResponse XpackWatcherDeleteWatch<TResponse>(string id, DeleteWatchRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringWatch ID
requestParameters
DeleteWatchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackWatcherExecuteWatchAsync<TResponse>(PostData, ExecuteWatchRequestParameters, CancellationToken)
PUT on /_xpack/watcher/watch/_execute
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html
Task<TResponse> XpackWatcherExecuteWatchAsync<TResponse>(PostData body, ExecuteWatchRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataExecution control
requestParameters
ExecuteWatchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackWatcherExecuteWatchAsync<TResponse>(string, PostData, ExecuteWatchRequestParameters, CancellationToken)
PUT on /_xpack/watcher/watch/{id}/_execute
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html
Task<TResponse> XpackWatcherExecuteWatchAsync<TResponse>(string id, PostData body, ExecuteWatchRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringWatch ID
body
PostDataExecution control
requestParameters
ExecuteWatchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackWatcherExecuteWatchPostAsync<TResponse>(PostData, ExecuteWatchRequestParameters, CancellationToken)
POST on /_xpack/watcher/watch/_execute
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html
Task<TResponse> XpackWatcherExecuteWatchPostAsync<TResponse>(PostData body, ExecuteWatchRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataExecution control
requestParameters
ExecuteWatchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackWatcherExecuteWatchPostAsync<TResponse>(string, PostData, ExecuteWatchRequestParameters, CancellationToken)
POST on /_xpack/watcher/watch/{id}/_execute
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html
Task<TResponse> XpackWatcherExecuteWatchPostAsync<TResponse>(string id, PostData body, ExecuteWatchRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringWatch ID
body
PostDataExecution control
requestParameters
ExecuteWatchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackWatcherExecuteWatchPost<TResponse>(PostData, ExecuteWatchRequestParameters)
POST on /_xpack/watcher/watch/_execute
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html
TResponse XpackWatcherExecuteWatchPost<TResponse>(PostData body, ExecuteWatchRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataExecution control
requestParameters
ExecuteWatchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackWatcherExecuteWatchPost<TResponse>(string, PostData, ExecuteWatchRequestParameters)
POST on /_xpack/watcher/watch/{id}/_execute
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html
TResponse XpackWatcherExecuteWatchPost<TResponse>(string id, PostData body, ExecuteWatchRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringWatch ID
body
PostDataExecution control
requestParameters
ExecuteWatchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackWatcherExecuteWatch<TResponse>(PostData, ExecuteWatchRequestParameters)
PUT on /_xpack/watcher/watch/_execute
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html
TResponse XpackWatcherExecuteWatch<TResponse>(PostData body, ExecuteWatchRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
body
PostDataExecution control
requestParameters
ExecuteWatchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackWatcherExecuteWatch<TResponse>(string, PostData, ExecuteWatchRequestParameters)
PUT on /_xpack/watcher/watch/{id}/_execute
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html
TResponse XpackWatcherExecuteWatch<TResponse>(string id, PostData body, ExecuteWatchRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringWatch ID
body
PostDataExecution control
requestParameters
ExecuteWatchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackWatcherGetWatchAsync<TResponse>(string, GetWatchRequestParameters, CancellationToken)
GET on /_xpack/watcher/watch/{id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-get-watch.html
Task<TResponse> XpackWatcherGetWatchAsync<TResponse>(string id, GetWatchRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringWatch ID
requestParameters
GetWatchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackWatcherGetWatch<TResponse>(string, GetWatchRequestParameters)
GET on /_xpack/watcher/watch/{id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-get-watch.html
TResponse XpackWatcherGetWatch<TResponse>(string id, GetWatchRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringWatch ID
requestParameters
GetWatchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackWatcherPutWatchAsync<TResponse>(string, PostData, PutWatchRequestParameters, CancellationToken)
PUT on /_xpack/watcher/watch/{id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html
Task<TResponse> XpackWatcherPutWatchAsync<TResponse>(string id, PostData body, PutWatchRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringWatch ID
body
PostDataThe watch
requestParameters
PutWatchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackWatcherPutWatchPostAsync<TResponse>(string, PostData, PutWatchRequestParameters, CancellationToken)
POST on /_xpack/watcher/watch/{id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html
Task<TResponse> XpackWatcherPutWatchPostAsync<TResponse>(string id, PostData body, PutWatchRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringWatch ID
body
PostDataThe watch
requestParameters
PutWatchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackWatcherPutWatchPost<TResponse>(string, PostData, PutWatchRequestParameters)
POST on /_xpack/watcher/watch/{id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html
TResponse XpackWatcherPutWatchPost<TResponse>(string id, PostData body, PutWatchRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringWatch ID
body
PostDataThe watch
requestParameters
PutWatchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackWatcherPutWatch<TResponse>(string, PostData, PutWatchRequestParameters)
PUT on /_xpack/watcher/watch/{id}
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html
TResponse XpackWatcherPutWatch<TResponse>(string id, PostData body, PutWatchRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
id
stringWatch ID
body
PostDataThe watch
requestParameters
PutWatchRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackWatcherRestartAsync<TResponse>(RestartWatcherRequestParameters, CancellationToken)
POST on /_xpack/watcher/_restart
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-restart.html
Task<TResponse> XpackWatcherRestartAsync<TResponse>(RestartWatcherRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
RestartWatcherRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackWatcherRestart<TResponse>(RestartWatcherRequestParameters)
POST on /_xpack/watcher/_restart
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-restart.html
TResponse XpackWatcherRestart<TResponse>(RestartWatcherRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
RestartWatcherRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackWatcherStartAsync<TResponse>(StartWatcherRequestParameters, CancellationToken)
POST on /_xpack/watcher/_start
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-start.html
Task<TResponse> XpackWatcherStartAsync<TResponse>(StartWatcherRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
StartWatcherRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackWatcherStart<TResponse>(StartWatcherRequestParameters)
POST on /_xpack/watcher/_start
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-start.html
TResponse XpackWatcherStart<TResponse>(StartWatcherRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
StartWatcherRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackWatcherStatsAsync<TResponse>(WatcherStatsMetric, WatcherStatsRequestParameters, CancellationToken)
GET on /_xpack/watcher/stats/{watcher_stats_metric}
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stats.html
Task<TResponse> XpackWatcherStatsAsync<TResponse>(WatcherStatsMetric watcher_stats_metric, WatcherStatsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
watcher_stats_metric
WatcherStatsMetricControls what additional stat metrics should be include in the response
requestParameters
WatcherStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackWatcherStatsAsync<TResponse>(WatcherStatsRequestParameters, CancellationToken)
GET on /_xpack/watcher/stats
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stats.html
Task<TResponse> XpackWatcherStatsAsync<TResponse>(WatcherStatsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
WatcherStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackWatcherStats<TResponse>(WatcherStatsMetric, WatcherStatsRequestParameters)
GET on /_xpack/watcher/stats/{watcher_stats_metric}
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stats.html
TResponse XpackWatcherStats<TResponse>(WatcherStatsMetric watcher_stats_metric, WatcherStatsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
watcher_stats_metric
WatcherStatsMetricControls what additional stat metrics should be include in the response
requestParameters
WatcherStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackWatcherStats<TResponse>(WatcherStatsRequestParameters)
GET on /_xpack/watcher/stats
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stats.html
TResponse XpackWatcherStats<TResponse>(WatcherStatsRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
WatcherStatsRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse
XpackWatcherStopAsync<TResponse>(StopWatcherRequestParameters, CancellationToken)
POST on /_xpack/watcher/_stop
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stop.html
Task<TResponse> XpackWatcherStopAsync<TResponse>(StopWatcherRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
StopWatcherRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
ctx
CancellationToken
Returns
- Task<TResponse>
Type Parameters
TResponse
XpackWatcherStop<TResponse>(StopWatcherRequestParameters)
POST on /_xpack/watcher/_stop
http://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stop.html
TResponse XpackWatcherStop<TResponse>(StopWatcherRequestParameters requestParameters = null) where TResponse : class, IElasticsearchResponse, new()
Parameters
requestParameters
StopWatcherRequestParametersA func that allows you to describe the querystring parameters & request specific connection settings.
Returns
- TResponse
Type Parameters
TResponse