diff --git a/src/ApiGenerator/RestSpecification/Core/termsenum.json b/src/ApiGenerator/RestSpecification/Core/terms_enum.json
similarity index 98%
rename from src/ApiGenerator/RestSpecification/Core/termsenum.json
rename to src/ApiGenerator/RestSpecification/Core/terms_enum.json
index 8d66107dac3..d2ebd131809 100644
--- a/src/ApiGenerator/RestSpecification/Core/termsenum.json
+++ b/src/ApiGenerator/RestSpecification/Core/terms_enum.json
@@ -1,5 +1,5 @@
{
- "termsenum":{
+ "terms_enum":{
"documentation":{
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/search-terms-enum.html",
"description": "The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios."
diff --git a/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.NoNamespace.cs b/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.NoNamespace.cs
index d2e44620228..5d029f82cec 100644
--- a/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.NoNamespace.cs
+++ b/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.NoNamespace.cs
@@ -1972,8 +1972,8 @@ public bool? TypedKeys
}
}
- ///Request options for Termsenum https://www.elastic.co/guide/en/elasticsearch/reference/current/search-terms-enum.html
- public class TermsenumRequestParameters : RequestParameters
+ ///Request options for TermsEnum https://www.elastic.co/guide/en/elasticsearch/reference/current/search-terms-enum.html
+ public class TermsEnumRequestParameters : RequestParameters
{
}
diff --git a/src/Elasticsearch.Net/ElasticLowLevelClient.NoNamespace.cs b/src/Elasticsearch.Net/ElasticLowLevelClient.NoNamespace.cs
index b545ad4f188..219da706c7a 100644
--- a/src/Elasticsearch.Net/ElasticLowLevelClient.NoNamespace.cs
+++ b/src/Elasticsearch.Net/ElasticLowLevelClient.NoNamespace.cs
@@ -1006,15 +1006,15 @@ public Task SearchTemplateAsync(string index, PostData bod
///field name, string which is the prefix expected in matching terms, timeout and size for max number of results
///Request specific configuration such as querystring parameters & request specific connection settings.
///Note: Beta within the Elasticsearch server, this functionality is in Beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded.
- public TResponse Termsenum(string index, PostData body, TermsenumRequestParameters requestParameters = null)
+ public TResponse TermsEnum(string index, PostData body, TermsEnumRequestParameters requestParameters = null)
where TResponse : class, ITransportResponse, new() => DoRequest(POST, Url($"{index:index}/_terms_enum"), body, RequestParams(requestParameters));
///POST on /{index}/_terms_enum https://www.elastic.co/guide/en/elasticsearch/reference/current/search-terms-enum.html
///A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices
///field name, string which is the prefix expected in matching terms, timeout and size for max number of results
///Request specific configuration such as querystring parameters & request specific connection settings.
///Note: Beta within the Elasticsearch server, this functionality is in Beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded.
- [MapsApi("termsenum", "index, body")]
- public Task TermsenumAsync(string index, PostData body, TermsenumRequestParameters requestParameters = null, CancellationToken ctx = default)
+ [MapsApi("terms_enum", "index, body")]
+ public Task TermsEnumAsync(string index, PostData body, TermsEnumRequestParameters requestParameters = null, CancellationToken ctx = default)
where TResponse : class, ITransportResponse, new() => DoRequestAsync(POST, Url($"{index:index}/_terms_enum"), ctx, body, RequestParams(requestParameters));
///POST on /{index}/_termvectors/{id} https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html
///The index in which the document resides.
diff --git a/src/Elasticsearch.Net/IElasticLowLevelClient.Generated.cs b/src/Elasticsearch.Net/IElasticLowLevelClient.Generated.cs
index e1b3d21cecc..6325a151b07 100644
--- a/src/Elasticsearch.Net/IElasticLowLevelClient.Generated.cs
+++ b/src/Elasticsearch.Net/IElasticLowLevelClient.Generated.cs
@@ -839,14 +839,14 @@ Task SearchTemplateAsync(string index, PostData body, Sear
///field name, string which is the prefix expected in matching terms, timeout and size for max number of results
///Request specific configuration such as querystring parameters & request specific connection settings.
///Note: Beta within the Elasticsearch server, this functionality is in Beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded.
- TResponse Termsenum(string index, PostData body, TermsenumRequestParameters requestParameters = null)
+ TResponse TermsEnum(string index, PostData body, TermsEnumRequestParameters requestParameters = null)
where TResponse : class, ITransportResponse, new();
///POST on /{index}/_terms_enum https://www.elastic.co/guide/en/elasticsearch/reference/current/search-terms-enum.html
///A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices
///field name, string which is the prefix expected in matching terms, timeout and size for max number of results
///Request specific configuration such as querystring parameters & request specific connection settings.
///Note: Beta within the Elasticsearch server, this functionality is in Beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded.
- Task TermsenumAsync(string index, PostData body, TermsenumRequestParameters requestParameters = null, CancellationToken ctx = default)
+ Task TermsEnumAsync(string index, PostData body, TermsEnumRequestParameters requestParameters = null, CancellationToken ctx = default)
where TResponse : class, ITransportResponse, new();
///POST on /{index}/_termvectors/{id} https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html
///The index in which the document resides.