Skip to content

[codegen] master synchronization #5693

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -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."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1972,8 +1972,8 @@ public bool? TypedKeys
}
}

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

Expand Down
6 changes: 3 additions & 3 deletions src/Elasticsearch.Net/ElasticLowLevelClient.NoNamespace.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1006,15 +1006,15 @@ public Task<TResponse> SearchTemplateAsync<TResponse>(string index, PostData bod
///<param name = "body">field name, string which is the prefix expected in matching terms, timeout and size for max number of results</param>
///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
///<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>
public TResponse Termsenum<TResponse>(string index, PostData body, TermsenumRequestParameters requestParameters = null)
public TResponse TermsEnum<TResponse>(string index, PostData body, TermsEnumRequestParameters requestParameters = null)
where TResponse : class, ITransportResponse, new() => DoRequest<TResponse>(POST, Url($"{index:index}/_terms_enum"), body, RequestParams(requestParameters));
///<summary>POST on /{index}/_terms_enum <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/search-terms-enum.html</para></summary>
///<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>
///<param name = "body">field name, string which is the prefix expected in matching terms, timeout and size for max number of results</param>
///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
///<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>
[MapsApi("termsenum", "index, body")]
public Task<TResponse> TermsenumAsync<TResponse>(string index, PostData body, TermsenumRequestParameters requestParameters = null, CancellationToken ctx = default)
[MapsApi("terms_enum", "index, body")]
public Task<TResponse> TermsEnumAsync<TResponse>(string index, PostData body, TermsEnumRequestParameters requestParameters = null, CancellationToken ctx = default)
where TResponse : class, ITransportResponse, new() => DoRequestAsync<TResponse>(POST, Url($"{index:index}/_terms_enum"), ctx, body, RequestParams(requestParameters));
///<summary>POST on /{index}/_termvectors/{id} <para>https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html</para></summary>
///<param name = "index">The index in which the document resides.</param>
Expand Down
4 changes: 2 additions & 2 deletions src/Elasticsearch.Net/IElasticLowLevelClient.Generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -839,14 +839,14 @@ Task<TResponse> SearchTemplateAsync<TResponse>(string index, PostData body, Sear
///<param name = "body">field name, string which is the prefix expected in matching terms, timeout and size for max number of results</param>
///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
///<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>
TResponse Termsenum<TResponse>(string index, PostData body, TermsenumRequestParameters requestParameters = null)
TResponse TermsEnum<TResponse>(string index, PostData body, TermsEnumRequestParameters requestParameters = null)
where TResponse : class, ITransportResponse, new();
///<summary>POST on /{index}/_terms_enum <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/search-terms-enum.html</para></summary>
///<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>
///<param name = "body">field name, string which is the prefix expected in matching terms, timeout and size for max number of results</param>
///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
///<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>
Task<TResponse> TermsenumAsync<TResponse>(string index, PostData body, TermsenumRequestParameters requestParameters = null, CancellationToken ctx = default)
Task<TResponse> TermsEnumAsync<TResponse>(string index, PostData body, TermsEnumRequestParameters requestParameters = null, CancellationToken ctx = default)
where TResponse : class, ITransportResponse, new();
///<summary>POST on /{index}/_termvectors/{id} <para>https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html</para></summary>
///<param name = "index">The index in which the document resides.</param>
Expand Down