Skip to content

Commit 91d06ea

Browse files
[codegen] master synchronization (#5693)
Co-authored-by: Mpdreamz <Mpdreamz@users.noreply.github.com>
1 parent 3d0c0e2 commit 91d06ea

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/ApiGenerator/RestSpecification/Core/termsenum.json renamed to src/ApiGenerator/RestSpecification/Core/terms_enum.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"termsenum":{
2+
"terms_enum":{
33
"documentation":{
44
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/search-terms-enum.html",
55
"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."

src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.NoNamespace.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1972,8 +1972,8 @@ public bool? TypedKeys
19721972
}
19731973
}
19741974

1975-
///<summary>Request options for Termsenum <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/search-terms-enum.html</para></summary>
1976-
public class TermsenumRequestParameters : RequestParameters<TermsenumRequestParameters>
1975+
///<summary>Request options for TermsEnum <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/search-terms-enum.html</para></summary>
1976+
public class TermsEnumRequestParameters : RequestParameters<TermsEnumRequestParameters>
19771977
{
19781978
}
19791979

src/Elasticsearch.Net/ElasticLowLevelClient.NoNamespace.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,15 +1006,15 @@ public Task<TResponse> SearchTemplateAsync<TResponse>(string index, PostData bod
10061006
///<param name = "body">field name, string which is the prefix expected in matching terms, timeout and size for max number of results</param>
10071007
///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
10081008
///<remarks>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.</remarks>
1009-
public TResponse Termsenum<TResponse>(string index, PostData body, TermsenumRequestParameters requestParameters = null)
1009+
public TResponse TermsEnum<TResponse>(string index, PostData body, TermsEnumRequestParameters requestParameters = null)
10101010
where TResponse : class, ITransportResponse, new() => DoRequest<TResponse>(POST, Url($"{index:index}/_terms_enum"), body, RequestParams(requestParameters));
10111011
///<summary>POST on /{index}/_terms_enum <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/search-terms-enum.html</para></summary>
10121012
///<param name = "index">A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices</param>
10131013
///<param name = "body">field name, string which is the prefix expected in matching terms, timeout and size for max number of results</param>
10141014
///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
10151015
///<remarks>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.</remarks>
1016-
[MapsApi("termsenum", "index, body")]
1017-
public Task<TResponse> TermsenumAsync<TResponse>(string index, PostData body, TermsenumRequestParameters requestParameters = null, CancellationToken ctx = default)
1016+
[MapsApi("terms_enum", "index, body")]
1017+
public Task<TResponse> TermsEnumAsync<TResponse>(string index, PostData body, TermsEnumRequestParameters requestParameters = null, CancellationToken ctx = default)
10181018
where TResponse : class, ITransportResponse, new() => DoRequestAsync<TResponse>(POST, Url($"{index:index}/_terms_enum"), ctx, body, RequestParams(requestParameters));
10191019
///<summary>POST on /{index}/_termvectors/{id} <para>https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html</para></summary>
10201020
///<param name = "index">The index in which the document resides.</param>

src/Elasticsearch.Net/IElasticLowLevelClient.Generated.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -839,14 +839,14 @@ Task<TResponse> SearchTemplateAsync<TResponse>(string index, PostData body, Sear
839839
///<param name = "body">field name, string which is the prefix expected in matching terms, timeout and size for max number of results</param>
840840
///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
841841
///<remarks>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.</remarks>
842-
TResponse Termsenum<TResponse>(string index, PostData body, TermsenumRequestParameters requestParameters = null)
842+
TResponse TermsEnum<TResponse>(string index, PostData body, TermsEnumRequestParameters requestParameters = null)
843843
where TResponse : class, ITransportResponse, new();
844844
///<summary>POST on /{index}/_terms_enum <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/search-terms-enum.html</para></summary>
845845
///<param name = "index">A comma-separated list of index names to search; use the special string `_all` or Indices.All to perform the operation on all indices</param>
846846
///<param name = "body">field name, string which is the prefix expected in matching terms, timeout and size for max number of results</param>
847847
///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
848848
///<remarks>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.</remarks>
849-
Task<TResponse> TermsenumAsync<TResponse>(string index, PostData body, TermsenumRequestParameters requestParameters = null, CancellationToken ctx = default)
849+
Task<TResponse> TermsEnumAsync<TResponse>(string index, PostData body, TermsEnumRequestParameters requestParameters = null, CancellationToken ctx = default)
850850
where TResponse : class, ITransportResponse, new();
851851
///<summary>POST on /{index}/_termvectors/{id} <para>https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html</para></summary>
852852
///<param name = "index">The index in which the document resides.</param>

0 commit comments

Comments
 (0)