diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ApiUrlLookup.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ApiUrlLookup.g.cs
index 64589ab7ff2..9456e65f629 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ApiUrlLookup.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ApiUrlLookup.g.cs
@@ -44,6 +44,7 @@ internal static class ApiUrlLookup
internal static ApiUrls EqlGet = new ApiUrls(new[] { "_eql/search/{id}" });
internal static ApiUrls EqlGetStatus = new ApiUrls(new[] { "_eql/search/status/{id}" });
internal static ApiUrls EqlSearch = new ApiUrls(new[] { "{index}/_eql/search" });
+ internal static ApiUrls EsqlQuery = new ApiUrls(new[] { "_query" });
internal static ApiUrls GraphExplore = new ApiUrls(new[] { "{index}/_graph/explore" });
internal static ApiUrls IndexManagementAnalyze = new ApiUrls(new[] { "_analyze", "{index}/_analyze" });
internal static ApiUrls IndexManagementClearCache = new ApiUrls(new[] { "_cache/clear", "{index}/_cache/clear" });
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/BulkRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/BulkRequest.g.cs
index 599288109c8..505857eaf9a 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/BulkRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/BulkRequest.g.cs
@@ -78,7 +78,7 @@ public sealed partial class BulkRequestParameters : RequestParameters
}
///
-/// Performs multiple indexing or delete operations in a single API call.
This reduces overhead and can greatly increase indexing speed.
+/// Bulk index or delete documents.
Performs multiple indexing or delete operations in a single API call.
This reduces overhead and can greatly increase indexing speed.
///
public sealed partial class BulkRequest : PlainRequest
{
@@ -154,7 +154,7 @@ public BulkRequest(Elastic.Clients.Elasticsearch.Serverless.IndexName? index) :
}
///
-/// Performs multiple indexing or delete operations in a single API call.
This reduces overhead and can greatly increase indexing speed.
+/// Bulk index or delete documents.
Performs multiple indexing or delete operations in a single API call.
This reduces overhead and can greatly increase indexing speed.
///
public sealed partial class BulkRequestDescriptor : RequestDescriptor, BulkRequestParameters>
{
@@ -200,7 +200,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Performs multiple indexing or delete operations in a single API call.
This reduces overhead and can greatly increase indexing speed.
+/// Bulk index or delete documents.
Performs multiple indexing or delete operations in a single API call.
This reduces overhead and can greatly increase indexing speed.
///
public sealed partial class BulkRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ClusterInfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ClusterInfoRequest.g.cs
index 9210d1819d7..5b0d61c446b 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ClusterInfoRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ClusterInfoRequest.g.cs
@@ -34,7 +34,7 @@ public sealed partial class ClusterInfoRequestParameters : RequestParameters
}
///
-/// Returns different information about the cluster.
+/// Get cluster info.
Returns basic information about the cluster.
///
public sealed partial class ClusterInfoRequest : PlainRequest
{
@@ -52,7 +52,7 @@ public ClusterInfoRequest(IReadOnlyCollection
-/// Returns different information about the cluster.
+/// Get cluster info.
Returns basic information about the cluster.
///
public sealed partial class ClusterInfoRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/DeleteComponentTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/DeleteComponentTemplateRequest.g.cs
index f8bf7e8bf8c..03baac488c0 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/DeleteComponentTemplateRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/DeleteComponentTemplateRequest.g.cs
@@ -43,7 +43,7 @@ public sealed partial class DeleteComponentTemplateRequestParameters : RequestPa
}
///
-/// Deletes component templates.
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
+/// Delete component templates.
Deletes component templates.
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
///
public sealed partial class DeleteComponentTemplateRequest : PlainRequest
{
@@ -73,7 +73,7 @@ public DeleteComponentTemplateRequest(Elastic.Clients.Elasticsearch.Serverless.N
}
///
-/// Deletes component templates.
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
+/// Delete component templates.
Deletes component templates.
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
///
public sealed partial class DeleteComponentTemplateRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ExistsComponentTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ExistsComponentTemplateRequest.g.cs
index 090b8874f29..f2b2db58bf3 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ExistsComponentTemplateRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ExistsComponentTemplateRequest.g.cs
@@ -43,7 +43,7 @@ public sealed partial class ExistsComponentTemplateRequestParameters : RequestPa
}
///
-/// Returns information about whether a particular component template exist
+/// Check component templates.
Returns information about whether a particular component template exists.
///
public sealed partial class ExistsComponentTemplateRequest : PlainRequest
{
@@ -73,7 +73,7 @@ public ExistsComponentTemplateRequest(Elastic.Clients.Elasticsearch.Serverless.N
}
///
-/// Returns information about whether a particular component template exist
+/// Check component templates.
Returns information about whether a particular component template exists.
///
public sealed partial class ExistsComponentTemplateRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/GetComponentTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/GetComponentTemplateRequest.g.cs
index b16be865e9a..1012b6d0fe0 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/GetComponentTemplateRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/GetComponentTemplateRequest.g.cs
@@ -53,7 +53,7 @@ public sealed partial class GetComponentTemplateRequestParameters : RequestParam
}
///
-/// Retrieves information about component templates.
+/// Get component templates.
Retrieves information about component templates.
///
public sealed partial class GetComponentTemplateRequest : PlainRequest
{
@@ -99,7 +99,7 @@ public GetComponentTemplateRequest(Elastic.Clients.Elasticsearch.Serverless.Name
}
///
-/// Retrieves information about component templates.
+/// Get component templates.
Retrieves information about component templates.
///
public sealed partial class GetComponentTemplateRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/PutComponentTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/PutComponentTemplateRequest.g.cs
index 9af2ef31586..ff4bc7a9f89 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/PutComponentTemplateRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/PutComponentTemplateRequest.g.cs
@@ -43,7 +43,7 @@ public sealed partial class PutComponentTemplateRequestParameters : RequestParam
}
///
-/// Creates or updates a component template.
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
+/// Create or update a component template.
Creates or updates a component template.
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
/// An index template can be composed of multiple component templates.
To use a component template, specify it in an index template’s `composed_of` list.
Component templates are only applied to new data streams and indices as part of a matching index template.
/// Settings and mappings specified directly in the index template or the create index request override any settings or mappings specified in a component template.
/// Component templates are only used during index creation.
For data streams, this includes data stream creation and the creation of a stream’s backing indices.
Changes to component templates do not affect existing indices, including a stream’s backing indices.
@@ -101,7 +101,7 @@ public PutComponentTemplateRequest(Elastic.Clients.Elasticsearch.Serverless.Name
}
///
-/// Creates or updates a component template.
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
+/// Create or update a component template.
Creates or updates a component template.
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
/// An index template can be composed of multiple component templates.
To use a component template, specify it in an index template’s `composed_of` list.
Component templates are only applied to new data streams and indices as part of a matching index template.
/// Settings and mappings specified directly in the index template or the create index request override any settings or mappings specified in a component template.
/// Component templates are only used during index creation.
For data streams, this includes data stream creation and the creation of a stream’s backing indices.
Changes to component templates do not affect existing indices, including a stream’s backing indices.
@@ -235,7 +235,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Creates or updates a component template.
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
+/// Create or update a component template.
Creates or updates a component template.
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
/// An index template can be composed of multiple component templates.
To use a component template, specify it in an index template’s `composed_of` list.
Component templates are only applied to new data streams and indices as part of a matching index template.
/// Settings and mappings specified directly in the index template or the create index request override any settings or mappings specified in a component template.
/// Component templates are only used during index creation.
For data streams, this includes data stream creation and the creation of a stream’s backing indices.
Changes to component templates do not affect existing indices, including a stream’s backing indices.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/CreateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/CreateRequest.g.cs
index ec2c0762f88..16c7d5db0f6 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/CreateRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/CreateRequest.g.cs
@@ -68,7 +68,7 @@ public sealed partial class CreateRequestParameters : RequestParameters
}
///
-/// Adds a JSON document to the specified data stream or index and makes it searchable.
If the target is an index and the document already exists, the request updates the document and increments its version.
+/// Index a document.
Adds a JSON document to the specified data stream or index and makes it searchable.
If the target is an index and the document already exists, the request updates the document and increments its version.
///
public sealed partial class CreateRequest : PlainRequest, ISelfSerializable
{
@@ -135,7 +135,7 @@ void ISelfSerializable.Serialize(Utf8JsonWriter writer, JsonSerializerOptions op
}
///
-/// Adds a JSON document to the specified data stream or index and makes it searchable.
If the target is an index and the document already exists, the request updates the document and increments its version.
+/// Index a document.
Adds a JSON document to the specified data stream or index and makes it searchable.
If the target is an index and the document already exists, the request updates the document and increments its version.
///
public sealed partial class CreateRequestDescriptor : RequestDescriptor, CreateRequestParameters>
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRequest.g.cs
index 05790bae6c2..4ac3e38419d 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRequest.g.cs
@@ -173,7 +173,7 @@ public sealed partial class DeleteByQueryRequestParameters : RequestParameters
}
///
-/// Deletes documents that match the specified query.
+/// Delete documents.
Deletes documents that match the specified query.
///
public sealed partial class DeleteByQueryRequest : PlainRequest
{
@@ -377,7 +377,7 @@ public DeleteByQueryRequest(Elastic.Clients.Elasticsearch.Serverless.Indices ind
}
///
-/// Deletes documents that match the specified query.
+/// Delete documents.
Deletes documents that match the specified query.
///
public sealed partial class DeleteByQueryRequestDescriptor : RequestDescriptor, DeleteByQueryRequestParameters>
{
@@ -551,7 +551,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Deletes documents that match the specified query.
+/// Delete documents.
Deletes documents that match the specified query.
///
public sealed partial class DeleteByQueryRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteRequest.g.cs
index 2e3c99dbf0a..43ed10a80c9 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteRequest.g.cs
@@ -73,7 +73,7 @@ public sealed partial class DeleteRequestParameters : RequestParameters
}
///
-/// Removes a JSON document from the specified index.
+/// Delete a document.
Removes a JSON document from the specified index.
///
public partial class DeleteRequest : PlainRequest
{
@@ -139,7 +139,7 @@ public DeleteRequest(Elastic.Clients.Elasticsearch.Serverless.IndexName index, E
}
///
-/// Removes a JSON document from the specified index.
+/// Delete a document.
Removes a JSON document from the specified index.
///
public sealed partial class DeleteRequestDescriptor : RequestDescriptor, DeleteRequestParameters>
{
@@ -200,7 +200,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Removes a JSON document from the specified index.
+/// Delete a document.
Removes a JSON document from the specified index.
///
public sealed partial class DeleteRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteScriptRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteScriptRequest.g.cs
index 394b0980a05..d10e1a4199e 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteScriptRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteScriptRequest.g.cs
@@ -43,7 +43,7 @@ public sealed partial class DeleteScriptRequestParameters : RequestParameters
}
///
-/// Deletes a stored script or search template.
+/// Delete a script or search template.
Deletes a stored script or search template.
///
public sealed partial class DeleteScriptRequest : PlainRequest
{
@@ -73,7 +73,7 @@ public DeleteScriptRequest(Elastic.Clients.Elasticsearch.Serverless.Id id) : bas
}
///
-/// Deletes a stored script or search template.
+/// Delete a script or search template.
Deletes a stored script or search template.
///
public sealed partial class DeleteScriptRequestDescriptor : RequestDescriptor, DeleteScriptRequestParameters>
{
@@ -106,7 +106,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Deletes a stored script or search template.
+/// Delete a script or search template.
Deletes a stored script or search template.
///
public sealed partial class DeleteScriptRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/DeletePolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/DeletePolicyRequest.g.cs
index 40174816981..568ba5e4db9 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/DeletePolicyRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/DeletePolicyRequest.g.cs
@@ -34,7 +34,7 @@ public sealed partial class DeletePolicyRequestParameters : RequestParameters
}
///
-/// Deletes an existing enrich policy and its enrich index.
+/// Delete an enrich policy.
Deletes an existing enrich policy and its enrich index.
///
public sealed partial class DeletePolicyRequest : PlainRequest
{
@@ -52,7 +52,7 @@ public DeletePolicyRequest(Elastic.Clients.Elasticsearch.Serverless.Name name) :
}
///
-/// Deletes an existing enrich policy and its enrich index.
+/// Delete an enrich policy.
Deletes an existing enrich policy and its enrich index.
///
public sealed partial class DeletePolicyRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/EnrichStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/EnrichStatsRequest.g.cs
index 49d55b84b61..cc7061ea803 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/EnrichStatsRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/EnrichStatsRequest.g.cs
@@ -34,7 +34,7 @@ public sealed partial class EnrichStatsRequestParameters : RequestParameters
}
///
-/// Returns enrich coordinator statistics and information about enrich policies that are currently executing.
+/// Get enrich stats.
Returns enrich coordinator statistics and information about enrich policies that are currently executing.
///
public sealed partial class EnrichStatsRequest : PlainRequest
{
@@ -48,7 +48,7 @@ public sealed partial class EnrichStatsRequest : PlainRequest
-/// Returns enrich coordinator statistics and information about enrich policies that are currently executing.
+/// Get enrich stats.
Returns enrich coordinator statistics and information about enrich policies that are currently executing.
///
public sealed partial class EnrichStatsRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/GetPolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/GetPolicyRequest.g.cs
index 078caefe4d6..288ca6e771d 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/GetPolicyRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/GetPolicyRequest.g.cs
@@ -34,7 +34,7 @@ public sealed partial class GetPolicyRequestParameters : RequestParameters
}
///
-/// Returns information about an enrich policy.
+/// Get an enrich policy.
Returns information about an enrich policy.
///
public sealed partial class GetPolicyRequest : PlainRequest
{
@@ -56,7 +56,7 @@ public GetPolicyRequest(Elastic.Clients.Elasticsearch.Serverless.Names? name) :
}
///
-/// Returns information about an enrich policy.
+/// Get an enrich policy.
Returns information about an enrich policy.
///
public sealed partial class GetPolicyRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/PutPolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/PutPolicyRequest.g.cs
index 8fb5b72a54c..ee573088708 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/PutPolicyRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/PutPolicyRequest.g.cs
@@ -34,7 +34,7 @@ public sealed partial class PutPolicyRequestParameters : RequestParameters
}
///
-/// Creates an enrich policy.
+/// Create an enrich policy.
Creates an enrich policy.
///
public sealed partial class PutPolicyRequest : PlainRequest
{
@@ -70,7 +70,7 @@ public PutPolicyRequest(Elastic.Clients.Elasticsearch.Serverless.Name name) : ba
}
///
-/// Creates an enrich policy.
+/// Create an enrich policy.
Creates an enrich policy.
///
public sealed partial class PutPolicyRequestDescriptor : RequestDescriptor, PutPolicyRequestParameters>
{
@@ -241,7 +241,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Creates an enrich policy.
+/// Create an enrich policy.
Creates an enrich policy.
///
public sealed partial class PutPolicyRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Esql/EsqlQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Esql/EsqlQueryRequest.g.cs
new file mode 100644
index 00000000000..96f064dcdcf
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Esql/EsqlQueryRequest.g.cs
@@ -0,0 +1,412 @@
+// Licensed to Elasticsearch B.V under one or more agreements.
+// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
+// See the LICENSE file in the project root for more information.
+//
+// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
+// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
+// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗
+// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝
+// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗
+// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝
+// ------------------------------------------------
+//
+// This file is automatically generated.
+// Please do not edit these files manually.
+//
+// ------------------------------------------------
+
+#nullable restore
+
+using Elastic.Clients.Elasticsearch.Serverless.Fluent;
+using Elastic.Clients.Elasticsearch.Serverless.Requests;
+using Elastic.Clients.Elasticsearch.Serverless.Serialization;
+using Elastic.Transport;
+using System;
+using System.Collections.Generic;
+using System.Linq.Expressions;
+using System.Text.Json;
+using System.Text.Json.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.Serverless.Esql;
+
+public sealed partial class EsqlQueryRequestParameters : RequestParameters
+{
+ ///
+ /// The character to use between values within a CSV row. Only valid for the CSV format.
+ ///
+ public string? Delimiter { get => Q("delimiter"); set => Q("delimiter", value); }
+
+ ///
+ /// Should columns that are entirely `null` be removed from the `columns` and `values` portion of the results?
Defaults to `false`. If `true` then the response will include an extra section under the name `all_columns` which has the name of all columns.
+ ///
+ public bool? DropNullColumns { get => Q("drop_null_columns"); set => Q("drop_null_columns", value); }
+
+ ///
+ /// A short version of the Accept header, e.g. json, yaml.
+ ///
+ public string? Format { get => Q("format"); set => Q("format", value); }
+}
+
+///
+/// Executes an ES|QL request
+///
+public sealed partial class EsqlQueryRequest : PlainRequest
+{
+ internal override ApiUrls ApiUrls => ApiUrlLookup.EsqlQuery;
+
+ protected override HttpMethod StaticHttpMethod => HttpMethod.POST;
+
+ internal override bool SupportsBody => true;
+
+ internal override string OperationName => "esql.query";
+
+ ///
+ /// The character to use between values within a CSV row. Only valid for the CSV format.
+ ///
+ [JsonIgnore]
+ public string? Delimiter { get => Q("delimiter"); set => Q("delimiter", value); }
+
+ ///
+ /// Should columns that are entirely `null` be removed from the `columns` and `values` portion of the results?
Defaults to `false`. If `true` then the response will include an extra section under the name `all_columns` which has the name of all columns.
+ ///
+ [JsonIgnore]
+ public bool? DropNullColumns { get => Q("drop_null_columns"); set => Q("drop_null_columns", value); }
+
+ ///
+ /// A short version of the Accept header, e.g. json, yaml.
+ ///
+ [JsonIgnore]
+ public string? Format { get => Q("format"); set => Q("format", value); }
+
+ ///
+ /// By default, ES|QL returns results as rows. For example, FROM returns each individual document as one row. For the JSON, YAML, CBOR and smile formats, ES|QL can return the results in a columnar fashion where one row represents all the values of a certain column in the results.
+ ///
+ [JsonInclude, JsonPropertyName("columnar")]
+ public bool? Columnar { get; set; }
+
+ ///
+ /// Specify a Query DSL query in the filter parameter to filter the set of documents that an ES|QL query runs on.
+ ///
+ [JsonInclude, JsonPropertyName("filter")]
+ public Elastic.Clients.Elasticsearch.Serverless.QueryDsl.Query? Filter { get; set; }
+ [JsonInclude, JsonPropertyName("locale")]
+ public string? Locale { get; set; }
+
+ ///
+ /// To avoid any attempts of hacking or code injection, extract the values in a separate list of parameters. Use question mark placeholders (?) in the query string for each of the parameters.
+ ///
+ [JsonInclude, JsonPropertyName("params")]
+ public ICollection? Params { get; set; }
+
+ ///
+ /// If provided and `true` the response will include an extra `profile` object
with information on how the query was executed. This information is for human debugging
and its format can change at any time but it can give some insight into the performance
of each part of the query.
+ ///
+ [JsonInclude, JsonPropertyName("profile")]
+ public bool? Profile { get; set; }
+
+ ///
+ /// The ES|QL query API accepts an ES|QL query string in the query parameter, runs it, and returns the results.
+ ///
+ [JsonInclude, JsonPropertyName("query")]
+ public string Query { get; set; }
+}
+
+///
+/// Executes an ES|QL request
+///
+public sealed partial class EsqlQueryRequestDescriptor : RequestDescriptor, EsqlQueryRequestParameters>
+{
+ internal EsqlQueryRequestDescriptor(Action> configure) => configure.Invoke(this);
+
+ public EsqlQueryRequestDescriptor()
+ {
+ }
+
+ internal override ApiUrls ApiUrls => ApiUrlLookup.EsqlQuery;
+
+ protected override HttpMethod StaticHttpMethod => HttpMethod.POST;
+
+ internal override bool SupportsBody => true;
+
+ internal override string OperationName => "esql.query";
+
+ public EsqlQueryRequestDescriptor Delimiter(string? delimiter) => Qs("delimiter", delimiter);
+ public EsqlQueryRequestDescriptor DropNullColumns(bool? dropNullColumns = true) => Qs("drop_null_columns", dropNullColumns);
+ public EsqlQueryRequestDescriptor Format(string? format) => Qs("format", format);
+
+ private bool? ColumnarValue { get; set; }
+ private Elastic.Clients.Elasticsearch.Serverless.QueryDsl.Query? FilterValue { get; set; }
+ private Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor FilterDescriptor { get; set; }
+ private Action> FilterDescriptorAction { get; set; }
+ private string? LocaleValue { get; set; }
+ private ICollection? ParamsValue { get; set; }
+ private bool? ProfileValue { get; set; }
+ private string QueryValue { get; set; }
+
+ ///
+ /// By default, ES|QL returns results as rows. For example, FROM returns each individual document as one row. For the JSON, YAML, CBOR and smile formats, ES|QL can return the results in a columnar fashion where one row represents all the values of a certain column in the results.
+ ///
+ public EsqlQueryRequestDescriptor Columnar(bool? columnar = true)
+ {
+ ColumnarValue = columnar;
+ return Self;
+ }
+
+ ///
+ /// Specify a Query DSL query in the filter parameter to filter the set of documents that an ES|QL query runs on.
+ ///
+ public EsqlQueryRequestDescriptor Filter(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.Query? filter)
+ {
+ FilterDescriptor = null;
+ FilterDescriptorAction = null;
+ FilterValue = filter;
+ return Self;
+ }
+
+ public EsqlQueryRequestDescriptor Filter(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor descriptor)
+ {
+ FilterValue = null;
+ FilterDescriptorAction = null;
+ FilterDescriptor = descriptor;
+ return Self;
+ }
+
+ public EsqlQueryRequestDescriptor Filter(Action> configure)
+ {
+ FilterValue = null;
+ FilterDescriptor = null;
+ FilterDescriptorAction = configure;
+ return Self;
+ }
+
+ public EsqlQueryRequestDescriptor Locale(string? locale)
+ {
+ LocaleValue = locale;
+ return Self;
+ }
+
+ ///
+ /// To avoid any attempts of hacking or code injection, extract the values in a separate list of parameters. Use question mark placeholders (?) in the query string for each of the parameters.
+ ///
+ public EsqlQueryRequestDescriptor Params(ICollection? value)
+ {
+ ParamsValue = value;
+ return Self;
+ }
+
+ ///
+ /// If provided and `true` the response will include an extra `profile` object
with information on how the query was executed. This information is for human debugging
and its format can change at any time but it can give some insight into the performance
of each part of the query.
+ ///
+ public EsqlQueryRequestDescriptor Profile(bool? profile = true)
+ {
+ ProfileValue = profile;
+ return Self;
+ }
+
+ ///
+ /// The ES|QL query API accepts an ES|QL query string in the query parameter, runs it, and returns the results.
+ ///
+ public EsqlQueryRequestDescriptor Query(string query)
+ {
+ QueryValue = query;
+ return Self;
+ }
+
+ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings)
+ {
+ writer.WriteStartObject();
+ if (ColumnarValue.HasValue)
+ {
+ writer.WritePropertyName("columnar");
+ writer.WriteBooleanValue(ColumnarValue.Value);
+ }
+
+ if (FilterDescriptor is not null)
+ {
+ writer.WritePropertyName("filter");
+ JsonSerializer.Serialize(writer, FilterDescriptor, options);
+ }
+ else if (FilterDescriptorAction is not null)
+ {
+ writer.WritePropertyName("filter");
+ JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor(FilterDescriptorAction), options);
+ }
+ else if (FilterValue is not null)
+ {
+ writer.WritePropertyName("filter");
+ JsonSerializer.Serialize(writer, FilterValue, options);
+ }
+
+ if (!string.IsNullOrEmpty(LocaleValue))
+ {
+ writer.WritePropertyName("locale");
+ writer.WriteStringValue(LocaleValue);
+ }
+
+ if (ParamsValue is not null)
+ {
+ writer.WritePropertyName("params");
+ JsonSerializer.Serialize(writer, ParamsValue, options);
+ }
+
+ if (ProfileValue.HasValue)
+ {
+ writer.WritePropertyName("profile");
+ writer.WriteBooleanValue(ProfileValue.Value);
+ }
+
+ writer.WritePropertyName("query");
+ writer.WriteStringValue(QueryValue);
+ writer.WriteEndObject();
+ }
+}
+
+///
+/// Executes an ES|QL request
+///
+public sealed partial class EsqlQueryRequestDescriptor : RequestDescriptor
+{
+ internal EsqlQueryRequestDescriptor(Action configure) => configure.Invoke(this);
+
+ public EsqlQueryRequestDescriptor()
+ {
+ }
+
+ internal override ApiUrls ApiUrls => ApiUrlLookup.EsqlQuery;
+
+ protected override HttpMethod StaticHttpMethod => HttpMethod.POST;
+
+ internal override bool SupportsBody => true;
+
+ internal override string OperationName => "esql.query";
+
+ public EsqlQueryRequestDescriptor Delimiter(string? delimiter) => Qs("delimiter", delimiter);
+ public EsqlQueryRequestDescriptor DropNullColumns(bool? dropNullColumns = true) => Qs("drop_null_columns", dropNullColumns);
+ public EsqlQueryRequestDescriptor Format(string? format) => Qs("format", format);
+
+ private bool? ColumnarValue { get; set; }
+ private Elastic.Clients.Elasticsearch.Serverless.QueryDsl.Query? FilterValue { get; set; }
+ private Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor FilterDescriptor { get; set; }
+ private Action FilterDescriptorAction { get; set; }
+ private string? LocaleValue { get; set; }
+ private ICollection? ParamsValue { get; set; }
+ private bool? ProfileValue { get; set; }
+ private string QueryValue { get; set; }
+
+ ///
+ /// By default, ES|QL returns results as rows. For example, FROM returns each individual document as one row. For the JSON, YAML, CBOR and smile formats, ES|QL can return the results in a columnar fashion where one row represents all the values of a certain column in the results.
+ ///
+ public EsqlQueryRequestDescriptor Columnar(bool? columnar = true)
+ {
+ ColumnarValue = columnar;
+ return Self;
+ }
+
+ ///
+ /// Specify a Query DSL query in the filter parameter to filter the set of documents that an ES|QL query runs on.
+ ///
+ public EsqlQueryRequestDescriptor Filter(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.Query? filter)
+ {
+ FilterDescriptor = null;
+ FilterDescriptorAction = null;
+ FilterValue = filter;
+ return Self;
+ }
+
+ public EsqlQueryRequestDescriptor Filter(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor descriptor)
+ {
+ FilterValue = null;
+ FilterDescriptorAction = null;
+ FilterDescriptor = descriptor;
+ return Self;
+ }
+
+ public EsqlQueryRequestDescriptor Filter(Action configure)
+ {
+ FilterValue = null;
+ FilterDescriptor = null;
+ FilterDescriptorAction = configure;
+ return Self;
+ }
+
+ public EsqlQueryRequestDescriptor Locale(string? locale)
+ {
+ LocaleValue = locale;
+ return Self;
+ }
+
+ ///
+ /// To avoid any attempts of hacking or code injection, extract the values in a separate list of parameters. Use question mark placeholders (?) in the query string for each of the parameters.
+ ///
+ public EsqlQueryRequestDescriptor Params(ICollection? value)
+ {
+ ParamsValue = value;
+ return Self;
+ }
+
+ ///
+ /// If provided and `true` the response will include an extra `profile` object
with information on how the query was executed. This information is for human debugging
and its format can change at any time but it can give some insight into the performance
of each part of the query.
+ ///
+ public EsqlQueryRequestDescriptor Profile(bool? profile = true)
+ {
+ ProfileValue = profile;
+ return Self;
+ }
+
+ ///
+ /// The ES|QL query API accepts an ES|QL query string in the query parameter, runs it, and returns the results.
+ ///
+ public EsqlQueryRequestDescriptor Query(string query)
+ {
+ QueryValue = query;
+ return Self;
+ }
+
+ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings)
+ {
+ writer.WriteStartObject();
+ if (ColumnarValue.HasValue)
+ {
+ writer.WritePropertyName("columnar");
+ writer.WriteBooleanValue(ColumnarValue.Value);
+ }
+
+ if (FilterDescriptor is not null)
+ {
+ writer.WritePropertyName("filter");
+ JsonSerializer.Serialize(writer, FilterDescriptor, options);
+ }
+ else if (FilterDescriptorAction is not null)
+ {
+ writer.WritePropertyName("filter");
+ JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor(FilterDescriptorAction), options);
+ }
+ else if (FilterValue is not null)
+ {
+ writer.WritePropertyName("filter");
+ JsonSerializer.Serialize(writer, FilterValue, options);
+ }
+
+ if (!string.IsNullOrEmpty(LocaleValue))
+ {
+ writer.WritePropertyName("locale");
+ writer.WriteStringValue(LocaleValue);
+ }
+
+ if (ParamsValue is not null)
+ {
+ writer.WritePropertyName("params");
+ JsonSerializer.Serialize(writer, ParamsValue, options);
+ }
+
+ if (ProfileValue.HasValue)
+ {
+ writer.WritePropertyName("profile");
+ writer.WriteBooleanValue(ProfileValue.Value);
+ }
+
+ writer.WritePropertyName("query");
+ writer.WriteStringValue(QueryValue);
+ writer.WriteEndObject();
+ }
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Esql/EsqlQueryResponse.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Esql/EsqlQueryResponse.g.cs
new file mode 100644
index 00000000000..c872ff199a7
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Esql/EsqlQueryResponse.g.cs
@@ -0,0 +1,31 @@
+// Licensed to Elasticsearch B.V under one or more agreements.
+// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
+// See the LICENSE file in the project root for more information.
+//
+// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
+// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
+// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗
+// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝
+// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗
+// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝
+// ------------------------------------------------
+//
+// This file is automatically generated.
+// Please do not edit these files manually.
+//
+// ------------------------------------------------
+
+#nullable restore
+
+using Elastic.Clients.Elasticsearch.Serverless.Fluent;
+using Elastic.Clients.Elasticsearch.Serverless.Serialization;
+using Elastic.Transport.Products.Elasticsearch;
+using System;
+using System.Collections.Generic;
+using System.Text.Json.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.Serverless.Esql;
+
+public sealed partial class EsqlQueryResponse : ElasticsearchResponse
+{
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExistsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExistsRequest.g.cs
index 2a9479251df..bf5938c0b8b 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExistsRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExistsRequest.g.cs
@@ -83,7 +83,7 @@ public sealed partial class ExistsRequestParameters : RequestParameters
}
///
-/// Checks if a document in an index exists.
+/// Check a document.
Checks if a specified document exists.
///
public sealed partial class ExistsRequest : PlainRequest
{
@@ -161,7 +161,7 @@ public ExistsRequest(Elastic.Clients.Elasticsearch.Serverless.IndexName index, E
}
///
-/// Checks if a document in an index exists.
+/// Check a document.
Checks if a specified document exists.
///
public sealed partial class ExistsRequestDescriptor : RequestDescriptor, ExistsRequestParameters>
{
@@ -224,7 +224,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Checks if a document in an index exists.
+/// Check a document.
Checks if a specified document exists.
///
public sealed partial class ExistsRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExistsSourceRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExistsSourceRequest.g.cs
index 513485ab900..1ab11b6d071 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExistsSourceRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExistsSourceRequest.g.cs
@@ -78,7 +78,7 @@ public sealed partial class ExistsSourceRequestParameters : RequestParameters
}
///
-/// Checks if a document's `_source` is stored.
+/// Check for a document source.
Checks if a document's `_source` is stored.
///
public sealed partial class ExistsSourceRequest : PlainRequest
{
@@ -150,7 +150,7 @@ public ExistsSourceRequest(Elastic.Clients.Elasticsearch.Serverless.IndexName in
}
///
-/// Checks if a document's `_source` is stored.
+/// Check for a document source.
Checks if a document's `_source` is stored.
///
public sealed partial class ExistsSourceRequestDescriptor : RequestDescriptor, ExistsSourceRequestParameters>
{
@@ -212,7 +212,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Checks if a document's `_source` is stored.
+/// Check for a document source.
Checks if a document's `_source` is stored.
///
public sealed partial class ExistsSourceRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExplainRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExplainRequest.g.cs
index 2b67dee6913..e9f5ca5b2c9 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExplainRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExplainRequest.g.cs
@@ -93,7 +93,7 @@ public sealed partial class ExplainRequestParameters : RequestParameters
}
///
-/// Returns information about why a specific document matches (or doesn’t match) a query.
+/// Explain a document match result.
Returns information about why a specific document matches, or doesn’t match, a query.
///
public sealed partial class ExplainRequest : PlainRequest
{
@@ -189,7 +189,7 @@ public ExplainRequest(Elastic.Clients.Elasticsearch.Serverless.IndexName index,
}
///
-/// Returns information about why a specific document matches (or doesn’t match) a query.
+/// Explain a document match result.
Returns information about why a specific document matches, or doesn’t match, a query.
///
public sealed partial class ExplainRequestDescriptor : RequestDescriptor, ExplainRequestParameters>
{
@@ -303,7 +303,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Returns information about why a specific document matches (or doesn’t match) a query.
+/// Explain a document match result.
Returns information about why a specific document matches, or doesn’t match, a query.
///
public sealed partial class ExplainRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetRequest.g.cs
index 230b7e3a22f..348c15507ef 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetRequest.g.cs
@@ -83,7 +83,7 @@ public sealed partial class GetRequestParameters : RequestParameters
}
///
-/// Returns a document.
+/// Get a document by its ID.
Retrieves the document with the specified ID from an index.
///
public sealed partial class GetRequest : PlainRequest
{
@@ -161,7 +161,7 @@ public GetRequest(Elastic.Clients.Elasticsearch.Serverless.IndexName index, Elas
}
///
-/// Returns a document.
+/// Get a document by its ID.
Retrieves the document with the specified ID from an index.
///
public sealed partial class GetRequestDescriptor : RequestDescriptor, GetRequestParameters>
{
@@ -224,7 +224,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Returns a document.
+/// Get a document by its ID.
Retrieves the document with the specified ID from an index.
///
public sealed partial class GetRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetScriptRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetScriptRequest.g.cs
index 96368540bb4..e55395d21b3 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetScriptRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetScriptRequest.g.cs
@@ -38,7 +38,7 @@ public sealed partial class GetScriptRequestParameters : RequestParameters
}
///
-/// Retrieves a stored script or search template.
+/// Get a script or search template.
Retrieves a stored script or search template.
///
public sealed partial class GetScriptRequest : PlainRequest
{
@@ -62,7 +62,7 @@ public GetScriptRequest(Elastic.Clients.Elasticsearch.Serverless.Id id) : base(r
}
///
-/// Retrieves a stored script or search template.
+/// Get a script or search template.
Retrieves a stored script or search template.
///
public sealed partial class GetScriptRequestDescriptor : RequestDescriptor, GetScriptRequestParameters>
{
@@ -94,7 +94,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Retrieves a stored script or search template.
+/// Get a script or search template.
Retrieves a stored script or search template.
///
public sealed partial class GetScriptRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetSourceRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetSourceRequest.g.cs
index 7b3d473879a..279d55dcf45 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetSourceRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetSourceRequest.g.cs
@@ -79,7 +79,7 @@ public sealed partial class GetSourceRequestParameters : RequestParameters
}
///
-/// Returns the source of a document.
+/// Get a document's source.
Returns the source of a document.
///
public sealed partial class GetSourceRequest : PlainRequest
{
@@ -153,7 +153,7 @@ public GetSourceRequest(Elastic.Clients.Elasticsearch.Serverless.IndexName index
}
///
-/// Returns the source of a document.
+/// Get a document's source.
Returns the source of a document.
///
public sealed partial class GetSourceRequestDescriptor : RequestDescriptor, GetSourceRequestParameters>
{
@@ -216,7 +216,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Returns the source of a document.
+/// Get a document's source.
Returns the source of a document.
///
public sealed partial class GetSourceRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CreateDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CreateDataStreamRequest.g.cs
index 62e64cc5f39..607ed216a2e 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CreateDataStreamRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CreateDataStreamRequest.g.cs
@@ -34,7 +34,7 @@ public sealed partial class CreateDataStreamRequestParameters : RequestParameter
}
///
-/// Creates a data stream.
You must have a matching index template with data stream enabled.
+/// Create a data stream.
Creates a data stream.
You must have a matching index template with data stream enabled.
///
public sealed partial class CreateDataStreamRequest : PlainRequest
{
@@ -52,7 +52,7 @@ public CreateDataStreamRequest(Elastic.Clients.Elasticsearch.Serverless.DataStre
}
///
-/// Creates a data stream.
You must have a matching index template with data stream enabled.
+/// Create a data stream.
Creates a data stream.
You must have a matching index template with data stream enabled.
///
public sealed partial class CreateDataStreamRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs
index c71e9c3cd8b..1de2243d839 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs
@@ -48,7 +48,7 @@ public sealed partial class CreateIndexRequestParameters : RequestParameters
}
///
-/// Creates a new index.
+/// Create an index.
Creates a new index.
///
public sealed partial class CreateIndexRequest : PlainRequest
{
@@ -102,7 +102,7 @@ public CreateIndexRequest(Elastic.Clients.Elasticsearch.Serverless.IndexName ind
}
///
-/// Creates a new index.
+/// Create an index.
Creates a new index.
///
public sealed partial class CreateIndexRequestDescriptor : RequestDescriptor, CreateIndexRequestParameters>
{
@@ -251,7 +251,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Creates a new index.
+/// Create an index.
Creates a new index.
///
public sealed partial class CreateIndexRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DataStreamsStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DataStreamsStatsRequest.g.cs
index 975641dd419..008c844030b 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DataStreamsStatsRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DataStreamsStatsRequest.g.cs
@@ -38,7 +38,7 @@ public sealed partial class DataStreamsStatsRequestParameters : RequestParameter
}
///
-/// Retrieves statistics for one or more data streams.
+/// Get data stream stats.
Retrieves statistics for one or more data streams.
///
public sealed partial class DataStreamsStatsRequest : PlainRequest
{
@@ -66,7 +66,7 @@ public DataStreamsStatsRequest(Elastic.Clients.Elasticsearch.Serverless.IndexNam
}
///
-/// Retrieves statistics for one or more data streams.
+/// Get data stream stats.
Retrieves statistics for one or more data streams.
///
public sealed partial class DataStreamsStatsRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs
index b74dba7c136..d6fb2d6ea7f 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs
@@ -43,7 +43,7 @@ public sealed partial class DeleteAliasRequestParameters : RequestParameters
}
///
-/// Removes a data stream or index from an alias.
+/// Delete an alias.
Removes a data stream or index from an alias.
///
public sealed partial class DeleteAliasRequest : PlainRequest
{
@@ -73,7 +73,7 @@ public DeleteAliasRequest(Elastic.Clients.Elasticsearch.Serverless.Indices indic
}
///
-/// Removes a data stream or index from an alias.
+/// Delete an alias.
Removes a data stream or index from an alias.
///
public sealed partial class DeleteAliasRequestDescriptor : RequestDescriptor, DeleteAliasRequestParameters>
{
@@ -116,7 +116,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Removes a data stream or index from an alias.
+/// Delete an alias.
Removes a data stream or index from an alias.
///
public sealed partial class DeleteAliasRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs
index 2e1f19a9a18..d5846d83d45 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs
@@ -48,7 +48,7 @@ public sealed partial class DeleteDataLifecycleRequestParameters : RequestParame
}
///
-/// Removes the data lifecycle from a data stream rendering it not managed by the data stream lifecycle
+/// Delete data stream lifecycles.
Removes the data stream lifecycle from a data stream, rendering it not managed by the data stream lifecycle.
///
public sealed partial class DeleteDataLifecycleRequest : PlainRequest
{
@@ -84,7 +84,7 @@ public DeleteDataLifecycleRequest(Elastic.Clients.Elasticsearch.Serverless.DataS
}
///
-/// Removes the data lifecycle from a data stream rendering it not managed by the data stream lifecycle
+/// Delete data stream lifecycles.
Removes the data stream lifecycle from a data stream, rendering it not managed by the data stream lifecycle.
///
public sealed partial class DeleteDataLifecycleRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs
index b78767323b1..51a15edd8f7 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs
@@ -38,7 +38,7 @@ public sealed partial class DeleteDataStreamRequestParameters : RequestParameter
}
///
-/// Deletes one or more data streams and their backing indices.
+/// Delete data streams.
Deletes one or more data streams and their backing indices.
///
public sealed partial class DeleteDataStreamRequest : PlainRequest
{
@@ -62,7 +62,7 @@ public DeleteDataStreamRequest(Elastic.Clients.Elasticsearch.Serverless.DataStre
}
///
-/// Deletes one or more data streams and their backing indices.
+/// Delete data streams.
Deletes one or more data streams and their backing indices.
///
public sealed partial class DeleteDataStreamRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs
index e9f664487e3..c5157858428 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs
@@ -58,7 +58,7 @@ public sealed partial class DeleteIndexRequestParameters : RequestParameters
}
///
-/// Deletes one or more indices.
+/// Delete indices.
Deletes one or more indices.
///
public sealed partial class DeleteIndexRequest : PlainRequest
{
@@ -106,7 +106,7 @@ public DeleteIndexRequest(Elastic.Clients.Elasticsearch.Serverless.Indices indic
}
///
-/// Deletes one or more indices.
+/// Delete indices.
Deletes one or more indices.
///
public sealed partial class DeleteIndexRequestDescriptor : RequestDescriptor, DeleteIndexRequestParameters>
{
@@ -146,7 +146,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Deletes one or more indices.
+/// Delete indices.
Deletes one or more indices.
///
public sealed partial class DeleteIndexRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs
index 180db2d707b..f787c028cc2 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs
@@ -53,7 +53,7 @@ public sealed partial class ExistsAliasRequestParameters : RequestParameters
}
///
-/// Checks if an alias exists.
+/// Check aliases.
Checks if one or more data stream or index aliases exist.
///
public sealed partial class ExistsAliasRequest : PlainRequest
{
@@ -99,7 +99,7 @@ public ExistsAliasRequest(Elastic.Clients.Elasticsearch.Serverless.Indices? indi
}
///
-/// Checks if an alias exists.
+/// Check aliases.
Checks if one or more data stream or index aliases exist.
///
public sealed partial class ExistsAliasRequestDescriptor : RequestDescriptor, ExistsAliasRequestParameters>
{
@@ -144,7 +144,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Checks if an alias exists.
+/// Check aliases.
Checks if one or more data stream or index aliases exist.
///
public sealed partial class ExistsAliasRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsRequest.g.cs
index 61b7b9839f7..23bcd2aa688 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsRequest.g.cs
@@ -63,7 +63,7 @@ public sealed partial class ExistsRequestParameters : RequestParameters
}
///
-/// Checks if a data stream, index, or alias exists.
+/// Check indices.
Checks if one or more indices, index aliases, or data streams exist.
///
public sealed partial class ExistsRequest : PlainRequest
{
@@ -117,7 +117,7 @@ public ExistsRequest(Elastic.Clients.Elasticsearch.Serverless.Indices indices) :
}
///
-/// Checks if a data stream, index, or alias exists.
+/// Check indices.
Checks if one or more indices, index aliases, or data streams exist.
///
public sealed partial class ExistsRequestDescriptor : RequestDescriptor, ExistsRequestParameters>
{
@@ -158,7 +158,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Checks if a data stream, index, or alias exists.
+/// Check indices.
Checks if one or more indices, index aliases, or data streams exist.
///
public sealed partial class ExistsRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs
index 08c0b19c681..ea3157d7aaa 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs
@@ -43,7 +43,7 @@ public sealed partial class ExplainDataLifecycleRequestParameters : RequestParam
}
///
-/// Retrieves information about the index's current data stream lifecycle, such as any potential encountered error, time since creation etc.
+/// Get the status for a data stream lifecycle.
Retrieves information about an index or data stream’s current data stream lifecycle status, such as time since index creation, time since rollover, the lifecycle configuration managing the index, or any errors encountered during lifecycle execution.
///
public sealed partial class ExplainDataLifecycleRequest : PlainRequest
{
@@ -73,7 +73,7 @@ public ExplainDataLifecycleRequest(Elastic.Clients.Elasticsearch.Serverless.Indi
}
///
-/// Retrieves information about the index's current data stream lifecycle, such as any potential encountered error, time since creation etc.
+/// Get the status for a data stream lifecycle.
Retrieves information about an index or data stream’s current data stream lifecycle status, such as time since index creation, time since rollover, the lifecycle configuration managing the index, or any errors encountered during lifecycle execution.
///
public sealed partial class ExplainDataLifecycleRequestDescriptor : RequestDescriptor, ExplainDataLifecycleRequestParameters>
{
@@ -110,7 +110,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Retrieves information about the index's current data stream lifecycle, such as any potential encountered error, time since creation etc.
+/// Get the status for a data stream lifecycle.
Retrieves information about an index or data stream’s current data stream lifecycle status, such as time since index creation, time since rollover, the lifecycle configuration managing the index, or any errors encountered during lifecycle execution.
///
public sealed partial class ExplainDataLifecycleRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetAliasRequest.g.cs
index 8dcc0896981..e23d3e2db03 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetAliasRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetAliasRequest.g.cs
@@ -53,7 +53,7 @@ public sealed partial class GetAliasRequestParameters : RequestParameters
}
///
-/// Retrieves information for one or more aliases.
+/// Get aliases.
Retrieves information for one or more data stream or index aliases.
///
public sealed partial class GetAliasRequest : PlainRequest
{
@@ -107,7 +107,7 @@ public GetAliasRequest(Elastic.Clients.Elasticsearch.Serverless.Indices? indices
}
///
-/// Retrieves information for one or more aliases.
+/// Get aliases.
Retrieves information for one or more data stream or index aliases.
///
public sealed partial class GetAliasRequestDescriptor : RequestDescriptor, GetAliasRequestParameters>
{
@@ -152,7 +152,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Retrieves information for one or more aliases.
+/// Get aliases.
Retrieves information for one or more data stream or index aliases.
///
public sealed partial class GetAliasRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataLifecycleRequest.g.cs
index 2678c2d8b81..f65a86c9bf9 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataLifecycleRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataLifecycleRequest.g.cs
@@ -43,7 +43,7 @@ public sealed partial class GetDataLifecycleRequestParameters : RequestParameter
}
///
-/// Retrieves the data stream lifecycle configuration of one or more data streams.
+/// Get data stream lifecycles.
Retrieves the data stream lifecycle configuration of one or more data streams.
///
public sealed partial class GetDataLifecycleRequest : PlainRequest
{
@@ -73,7 +73,7 @@ public GetDataLifecycleRequest(Elastic.Clients.Elasticsearch.Serverless.DataStre
}
///
-/// Retrieves the data stream lifecycle configuration of one or more data streams.
+/// Get data stream lifecycles.
Retrieves the data stream lifecycle configuration of one or more data streams.
///
public sealed partial class GetDataLifecycleRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs
index ab98fe627c6..a3a475b6fb0 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs
@@ -43,7 +43,7 @@ public sealed partial class GetDataStreamRequestParameters : RequestParameters
}
///
-/// Retrieves information about one or more data streams.
+/// Get data streams.
Retrieves information about one or more data streams.
///
public sealed partial class GetDataStreamRequest : PlainRequest
{
@@ -77,7 +77,7 @@ public GetDataStreamRequest(Elastic.Clients.Elasticsearch.Serverless.DataStreamN
}
///
-/// Retrieves information about one or more data streams.
+/// Get data streams.
Retrieves information about one or more data streams.
///
public sealed partial class GetDataStreamRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndexRequest.g.cs
index d7523fb5d02..c677a8a7692 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndexRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndexRequest.g.cs
@@ -73,7 +73,7 @@ public sealed partial class GetIndexRequestParameters : RequestParameters
}
///
-/// Returns information about one or more indices. For data streams, the API returns information about the
stream’s backing indices.
+/// Get index information.
Returns information about one or more indices. For data streams, the API returns information about the
stream’s backing indices.
///
public sealed partial class GetIndexRequest : PlainRequest
{
@@ -139,7 +139,7 @@ public GetIndexRequest(Elastic.Clients.Elasticsearch.Serverless.Indices indices)
}
///
-/// Returns information about one or more indices. For data streams, the API returns information about the
stream’s backing indices.
+/// Get index information.
Returns information about one or more indices. For data streams, the API returns information about the
stream’s backing indices.
///
public sealed partial class GetIndexRequestDescriptor : RequestDescriptor, GetIndexRequestParameters>
{
@@ -182,7 +182,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Returns information about one or more indices. For data streams, the API returns information about the
stream’s backing indices.
+/// Get index information.
Returns information about one or more indices. For data streams, the API returns information about the
stream’s backing indices.
///
public sealed partial class GetIndexRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndicesSettingsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndicesSettingsRequest.g.cs
index 3bcda543735..f28e0273e20 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndicesSettingsRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndicesSettingsRequest.g.cs
@@ -68,7 +68,7 @@ public sealed partial class GetIndicesSettingsRequestParameters : RequestParamet
}
///
-/// Returns setting information for one or more indices. For data streams,
returns setting information for the stream’s backing indices.
+/// Get index settings.
Returns setting information for one or more indices. For data streams,
returns setting information for the stream’s backing indices.
///
public sealed partial class GetIndicesSettingsRequest : PlainRequest
{
@@ -140,7 +140,7 @@ public GetIndicesSettingsRequest(Elastic.Clients.Elasticsearch.Serverless.Names?
}
///
-/// Returns setting information for one or more indices. For data streams,
returns setting information for the stream’s backing indices.
+/// Get index settings.
Returns setting information for one or more indices. For data streams,
returns setting information for the stream’s backing indices.
///
public sealed partial class GetIndicesSettingsRequestDescriptor : RequestDescriptor, GetIndicesSettingsRequestParameters>
{
@@ -188,7 +188,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Returns setting information for one or more indices. For data streams,
returns setting information for the stream’s backing indices.
+/// Get index settings.
Returns setting information for one or more indices. For data streams,
returns setting information for the stream’s backing indices.
///
public sealed partial class GetIndicesSettingsRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetMappingRequest.g.cs
index 5d2e51857e4..9fd5421f9c1 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetMappingRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetMappingRequest.g.cs
@@ -58,7 +58,7 @@ public sealed partial class GetMappingRequestParameters : RequestParameters
}
///
-/// Retrieves mapping definitions for one or more indices.
For data streams, the API retrieves mappings for the stream’s backing indices.
+/// Get mapping definitions.
Retrieves mapping definitions for one or more indices.
For data streams, the API retrieves mappings for the stream’s backing indices.
///
public sealed partial class GetMappingRequest : PlainRequest
{
@@ -110,7 +110,7 @@ public GetMappingRequest(Elastic.Clients.Elasticsearch.Serverless.Indices? indic
}
///
-/// Retrieves mapping definitions for one or more indices.
For data streams, the API retrieves mappings for the stream’s backing indices.
+/// Get mapping definitions.
Retrieves mapping definitions for one or more indices.
For data streams, the API retrieves mappings for the stream’s backing indices.
///
public sealed partial class GetMappingRequestDescriptor : RequestDescriptor, GetMappingRequestParameters>
{
@@ -150,7 +150,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Retrieves mapping definitions for one or more indices.
For data streams, the API retrieves mappings for the stream’s backing indices.
+/// Get mapping definitions.
Retrieves mapping definitions for one or more indices.
For data streams, the API retrieves mappings for the stream’s backing indices.
///
public sealed partial class GetMappingRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/MigrateToDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/MigrateToDataStreamRequest.g.cs
index 308fe935c7a..e526110034e 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/MigrateToDataStreamRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/MigrateToDataStreamRequest.g.cs
@@ -34,7 +34,7 @@ public sealed partial class MigrateToDataStreamRequestParameters : RequestParame
}
///
-/// Converts an index alias to a data stream.
You must have a matching index template that is data stream enabled.
The alias must meet the following criteria:
The alias must have a write index;
All indices for the alias must have a `@timestamp` field mapping of a `date` or `date_nanos` field type;
The alias must not have any filters;
The alias must not use custom routing.
If successful, the request removes the alias and creates a data stream with the same name.
The indices for the alias become hidden backing indices for the stream.
The write index for the alias becomes the write index for the stream.
+/// Convert an index alias to a data stream.
Converts an index alias to a data stream.
You must have a matching index template that is data stream enabled.
The alias must meet the following criteria:
The alias must have a write index;
All indices for the alias must have a `@timestamp` field mapping of a `date` or `date_nanos` field type;
The alias must not have any filters;
The alias must not use custom routing.
If successful, the request removes the alias and creates a data stream with the same name.
The indices for the alias become hidden backing indices for the stream.
The write index for the alias becomes the write index for the stream.
///
public sealed partial class MigrateToDataStreamRequest : PlainRequest
{
@@ -52,7 +52,7 @@ public MigrateToDataStreamRequest(Elastic.Clients.Elasticsearch.Serverless.Index
}
///
-/// Converts an index alias to a data stream.
You must have a matching index template that is data stream enabled.
The alias must meet the following criteria:
The alias must have a write index;
All indices for the alias must have a `@timestamp` field mapping of a `date` or `date_nanos` field type;
The alias must not have any filters;
The alias must not use custom routing.
If successful, the request removes the alias and creates a data stream with the same name.
The indices for the alias become hidden backing indices for the stream.
The write index for the alias becomes the write index for the stream.
+/// Convert an index alias to a data stream.
Converts an index alias to a data stream.
You must have a matching index template that is data stream enabled.
The alias must meet the following criteria:
The alias must have a write index;
All indices for the alias must have a `@timestamp` field mapping of a `date` or `date_nanos` field type;
The alias must not have any filters;
The alias must not use custom routing.
If successful, the request removes the alias and creates a data stream with the same name.
The indices for the alias become hidden backing indices for the stream.
The write index for the alias becomes the write index for the stream.
///
public sealed partial class MigrateToDataStreamRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ModifyDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ModifyDataStreamRequest.g.cs
index 9e8e7df6b07..b4ff90d55a1 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ModifyDataStreamRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ModifyDataStreamRequest.g.cs
@@ -34,7 +34,7 @@ public sealed partial class ModifyDataStreamRequestParameters : RequestParameter
}
///
-/// Performs one or more data stream modification actions in a single atomic operation.
+/// Update data streams.
Performs one or more data stream modification actions in a single atomic operation.
///
public sealed partial class ModifyDataStreamRequest : PlainRequest
{
@@ -54,7 +54,7 @@ public sealed partial class ModifyDataStreamRequest : PlainRequest
-/// Performs one or more data stream modification actions in a single atomic operation.
+/// Update data streams.
Performs one or more data stream modification actions in a single atomic operation.
///
public sealed partial class ModifyDataStreamRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutAliasRequest.g.cs
index 645cfd34e68..c44ec7b217b 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutAliasRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutAliasRequest.g.cs
@@ -43,7 +43,7 @@ public sealed partial class PutAliasRequestParameters : RequestParameters
}
///
-/// Adds a data stream or index to an alias.
+/// Create or update an alias.
Adds a data stream or index to an alias.
///
public sealed partial class PutAliasRequest : PlainRequest
{
@@ -103,7 +103,7 @@ public PutAliasRequest(Elastic.Clients.Elasticsearch.Serverless.Indices indices,
}
///
-/// Adds a data stream or index to an alias.
+/// Create or update an alias.
Adds a data stream or index to an alias.
///
public sealed partial class PutAliasRequestDescriptor : RequestDescriptor, PutAliasRequestParameters>
{
@@ -259,7 +259,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Adds a data stream or index to an alias.
+/// Create or update an alias.
Adds a data stream or index to an alias.
///
public sealed partial class PutAliasRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs
index 001b217a36e..fc9cb489b30 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs
@@ -48,7 +48,7 @@ public sealed partial class PutDataLifecycleRequestParameters : RequestParameter
}
///
-/// Update the data lifecycle of the specified data streams.
+/// Update data stream lifecycles.
Update the data stream lifecycle of the specified data streams.
///
public sealed partial class PutDataLifecycleRequest : PlainRequest
{
@@ -96,7 +96,7 @@ public PutDataLifecycleRequest(Elastic.Clients.Elasticsearch.Serverless.DataStre
}
///
-/// Update the data lifecycle of the specified data streams.
+/// Update data stream lifecycles.
Update the data stream lifecycle of the specified data streams.
///
public sealed partial class PutDataLifecycleRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutIndicesSettingsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutIndicesSettingsRequest.g.cs
index 346db16d225..3bd0d0eee7e 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutIndicesSettingsRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutIndicesSettingsRequest.g.cs
@@ -68,7 +68,7 @@ public sealed partial class PutIndicesSettingsRequestParameters : RequestParamet
}
///
-/// Changes a dynamic index setting in real time. For data streams, index setting
changes are applied to all backing indices by default.
+/// Update index settings.
Changes dynamic index settings in real time. For data streams, index setting
changes are applied to all backing indices by default.
///
public sealed partial class PutIndicesSettingsRequest : PlainRequest, ISelfSerializable
{
@@ -139,7 +139,7 @@ void ISelfSerializable.Serialize(Utf8JsonWriter writer, JsonSerializerOptions op
}
///
-/// Changes a dynamic index setting in real time. For data streams, index setting
changes are applied to all backing indices by default.
+/// Update index settings.
Changes dynamic index settings in real time. For data streams, index setting
changes are applied to all backing indices by default.
///
public sealed partial class PutIndicesSettingsRequestDescriptor : RequestDescriptor, PutIndicesSettingsRequestParameters>
{
@@ -204,7 +204,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Changes a dynamic index setting in real time. For data streams, index setting
changes are applied to all backing indices by default.
+/// Update index settings.
Changes dynamic index settings in real time. For data streams, index setting
changes are applied to all backing indices by default.
///
public sealed partial class PutIndicesSettingsRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutMappingRequest.g.cs
index a1a256c608c..700028cb5e8 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutMappingRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutMappingRequest.g.cs
@@ -63,7 +63,7 @@ public sealed partial class PutMappingRequestParameters : RequestParameters
}
///
-/// Adds new fields to an existing data stream or index.
You can also use this API to change the search settings of existing fields.
For data streams, these changes are applied to all backing indices by default.
+/// Update field mappings.
Adds new fields to an existing data stream or index.
You can also use this API to change the search settings of existing fields.
For data streams, these changes are applied to all backing indices by default.
///
public sealed partial class PutMappingRequest : PlainRequest
{
@@ -185,7 +185,7 @@ public PutMappingRequest(Elastic.Clients.Elasticsearch.Serverless.Indices indice
}
///
-/// Adds new fields to an existing data stream or index.
You can also use this API to change the search settings of existing fields.
For data streams, these changes are applied to all backing indices by default.
+/// Update field mappings.
Adds new fields to an existing data stream or index.
You can also use this API to change the search settings of existing fields.
For data streams, these changes are applied to all backing indices by default.
///
public sealed partial class PutMappingRequestDescriptor : RequestDescriptor, PutMappingRequestParameters>
{
@@ -510,7 +510,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Adds new fields to an existing data stream or index.
You can also use this API to change the search settings of existing fields.
For data streams, these changes are applied to all backing indices by default.
+/// Update field mappings.
Adds new fields to an existing data stream or index.
You can also use this API to change the search settings of existing fields.
For data streams, these changes are applied to all backing indices by default.
///
public sealed partial class PutMappingRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RefreshRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RefreshRequest.g.cs
index cc7834ac5a2..a5d2df75a4a 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RefreshRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RefreshRequest.g.cs
@@ -48,7 +48,7 @@ public sealed partial class RefreshRequestParameters : RequestParameters
}
///
-/// A refresh makes recent operations performed on one or more indices available for search.
For data streams, the API runs the refresh operation on the stream’s backing indices.
+/// Refresh an index.
A refresh makes recent operations performed on one or more indices available for search.
For data streams, the API runs the refresh operation on the stream’s backing indices.
///
public sealed partial class RefreshRequest : PlainRequest
{
@@ -88,7 +88,7 @@ public RefreshRequest(Elastic.Clients.Elasticsearch.Serverless.Indices? indices)
}
///
-/// A refresh makes recent operations performed on one or more indices available for search.
For data streams, the API runs the refresh operation on the stream’s backing indices.
+/// Refresh an index.
A refresh makes recent operations performed on one or more indices available for search.
For data streams, the API runs the refresh operation on the stream’s backing indices.
///
public sealed partial class RefreshRequestDescriptor : RequestDescriptor, RefreshRequestParameters>
{
@@ -126,7 +126,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// A refresh makes recent operations performed on one or more indices available for search.
For data streams, the API runs the refresh operation on the stream’s backing indices.
+/// Refresh an index.
A refresh makes recent operations performed on one or more indices available for search.
For data streams, the API runs the refresh operation on the stream’s backing indices.
///
public sealed partial class RefreshRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RolloverRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RolloverRequest.g.cs
index 2f585dcd6c7..d352fa58d37 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RolloverRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RolloverRequest.g.cs
@@ -53,7 +53,7 @@ public sealed partial class RolloverRequestParameters : RequestParameters
}
///
-/// Creates a new index for a data stream or index alias.
+/// Roll over to a new index.
Creates a new index for a data stream or index alias.
///
public sealed partial class RolloverRequest : PlainRequest
{
@@ -123,7 +123,7 @@ public RolloverRequest(Elastic.Clients.Elasticsearch.Serverless.IndexAlias alias
}
///
-/// Creates a new index for a data stream or index alias.
+/// Roll over to a new index.
Creates a new index for a data stream or index alias.
///
public sealed partial class RolloverRequestDescriptor : RequestDescriptor, RolloverRequestParameters>
{
@@ -295,7 +295,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Creates a new index for a data stream or index alias.
+/// Roll over to a new index.
Creates a new index for a data stream or index alias.
///
public sealed partial class RolloverRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/UpdateAliasesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/UpdateAliasesRequest.g.cs
index 49c68b1b331..4354468d5b7 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/UpdateAliasesRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/UpdateAliasesRequest.g.cs
@@ -43,7 +43,7 @@ public sealed partial class UpdateAliasesRequestParameters : RequestParameters
}
///
-/// Adds a data stream or index to an alias.
+/// Create or update an alias.
Adds a data stream or index to an alias.
///
public sealed partial class UpdateAliasesRequest : PlainRequest
{
@@ -75,7 +75,7 @@ public sealed partial class UpdateAliasesRequest : PlainRequest
-/// Adds a data stream or index to an alias.
+/// Create or update an alias.
Adds a data stream or index to an alias.
///
public sealed partial class UpdateAliasesRequestDescriptor : RequestDescriptor, UpdateAliasesRequestParameters>
{
@@ -179,7 +179,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Adds a data stream or index to an alias.
+/// Create or update an alias.
Adds a data stream or index to an alias.
///
public sealed partial class UpdateAliasesRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ValidateQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ValidateQueryRequest.g.cs
index 4fe608ca493..aacb946b0e4 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ValidateQueryRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ValidateQueryRequest.g.cs
@@ -93,7 +93,7 @@ public sealed partial class ValidateQueryRequestParameters : RequestParameters
}
///
-/// Validates a potentially expensive query without executing it.
+/// Validate a query.
Validates a query without running it.
///
public sealed partial class ValidateQueryRequest : PlainRequest
{
@@ -193,7 +193,7 @@ public ValidateQueryRequest(Elastic.Clients.Elasticsearch.Serverless.Indices? in
}
///
-/// Validates a potentially expensive query without executing it.
+/// Validate a query.
Validates a query without running it.
///
public sealed partial class ValidateQueryRequestDescriptor : RequestDescriptor, ValidateQueryRequestParameters>
{
@@ -289,7 +289,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Validates a potentially expensive query without executing it.
+/// Validate a query.
Validates a query without running it.
///
public sealed partial class ValidateQueryRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexRequest.g.cs
index 0631106aec9..92cde6906fd 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexRequest.g.cs
@@ -88,7 +88,7 @@ public sealed partial class IndexRequestParameters : RequestParameters
}
///
-/// Adds a JSON document to the specified data stream or index and makes it searchable.
If the target is an index and the document already exists, the request updates the document and increments its version.
+/// Index a document.
Adds a JSON document to the specified data stream or index and makes it searchable.
If the target is an index and the document already exists, the request updates the document and increments its version.
///
public sealed partial class IndexRequest : PlainRequest, ISelfSerializable
{
@@ -183,7 +183,7 @@ void ISelfSerializable.Serialize(Utf8JsonWriter writer, JsonSerializerOptions op
}
///
-/// Adds a JSON document to the specified data stream or index and makes it searchable.
If the target is an index and the document already exists, the request updates the document and increments its version.
+/// Index a document.
Adds a JSON document to the specified data stream or index and makes it searchable.
If the target is an index and the document already exists, the request updates the document and increments its version.
///
public sealed partial class IndexRequestDescriptor : RequestDescriptor, IndexRequestParameters>
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/InfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/InfoRequest.g.cs
index 1cdf3ce6c4e..ec0ac8abe93 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/InfoRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/InfoRequest.g.cs
@@ -34,7 +34,7 @@ public sealed partial class InfoRequestParameters : RequestParameters
}
///
-/// Returns basic information about the cluster.
+/// Get cluster info.
Returns basic information about the cluster.
///
public sealed partial class InfoRequest : PlainRequest
{
@@ -48,7 +48,7 @@ public sealed partial class InfoRequest : PlainRequest
}
///
-/// Returns basic information about the cluster.
+/// Get cluster info.
Returns basic information about the cluster.
///
public sealed partial class InfoRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/LicenseManagement/GetLicenseRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/LicenseManagement/GetLicenseRequest.g.cs
index d9a6c108f8a..2ab1d4db9eb 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/LicenseManagement/GetLicenseRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/LicenseManagement/GetLicenseRequest.g.cs
@@ -38,7 +38,7 @@ public sealed partial class GetLicenseRequestParameters : RequestParameters
}
///
-/// This API returns information about the type of license, when it was issued, and when it expires, for example.
For more information about the different types of licenses, see https://www.elastic.co/subscriptions.
+/// Get license information.
Returns information about your Elastic license, including its type, its status, when it was issued, and when it expires.
For more information about the different types of licenses, refer to [Elastic Stack subscriptions](https://www.elastic.co/subscriptions).
///
public sealed partial class GetLicenseRequest : PlainRequest
{
@@ -58,7 +58,7 @@ public sealed partial class GetLicenseRequest : PlainRequest
-/// This API returns information about the type of license, when it was issued, and when it expires, for example.
For more information about the different types of licenses, see https://www.elastic.co/subscriptions.
+/// Get license information.
Returns information about your Elastic license, including its type, its status, when it was issued, and when it expires.
For more information about the different types of licenses, refer to [Elastic Stack subscriptions](https://www.elastic.co/subscriptions).
///
public sealed partial class GetLicenseRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/CloseJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/CloseJobRequest.g.cs
index 9f81521a66f..ef5d3dae8ae 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/CloseJobRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/CloseJobRequest.g.cs
@@ -34,7 +34,7 @@ public sealed partial class CloseJobRequestParameters : RequestParameters
}
///
-/// Close anomaly detection jobs
A job can be opened and closed multiple times throughout its lifecycle. A closed job cannot receive data or perform analysis operations, but you can still explore and navigate results.
When you close a job, it runs housekeeping tasks such as pruning the model history, flushing buffers, calculating final results and persisting the model snapshots. Depending upon the size of the job, it could take several minutes to close and the equivalent time to re-open. After it is closed, the job has a minimal overhead on the cluster except for maintaining its meta data. Therefore it is a best practice to close jobs that are no longer required to process data.
If you close an anomaly detection job whose datafeed is running, the request first tries to stop the datafeed. This behavior is equivalent to calling stop datafeed API with the same timeout and force parameters as the close job request.
When a datafeed that has a specified end date stops, it automatically closes its associated job.
+/// Close anomaly detection jobs.
A job can be opened and closed multiple times throughout its lifecycle. A closed job cannot receive data or perform analysis operations, but you can still explore and navigate results.
When you close a job, it runs housekeeping tasks such as pruning the model history, flushing buffers, calculating final results and persisting the model snapshots. Depending upon the size of the job, it could take several minutes to close and the equivalent time to re-open. After it is closed, the job has a minimal overhead on the cluster except for maintaining its meta data. Therefore it is a best practice to close jobs that are no longer required to process data.
If you close an anomaly detection job whose datafeed is running, the request first tries to stop the datafeed. This behavior is equivalent to calling stop datafeed API with the same timeout and force parameters as the close job request.
When a datafeed that has a specified end date stops, it automatically closes its associated job.
///
public sealed partial class CloseJobRequest : PlainRequest
{
@@ -70,7 +70,7 @@ public CloseJobRequest(Elastic.Clients.Elasticsearch.Serverless.Id jobId) : base
}
///
-/// Close anomaly detection jobs
A job can be opened and closed multiple times throughout its lifecycle. A closed job cannot receive data or perform analysis operations, but you can still explore and navigate results.
When you close a job, it runs housekeeping tasks such as pruning the model history, flushing buffers, calculating final results and persisting the model snapshots. Depending upon the size of the job, it could take several minutes to close and the equivalent time to re-open. After it is closed, the job has a minimal overhead on the cluster except for maintaining its meta data. Therefore it is a best practice to close jobs that are no longer required to process data.
If you close an anomaly detection job whose datafeed is running, the request first tries to stop the datafeed. This behavior is equivalent to calling stop datafeed API with the same timeout and force parameters as the close job request.
When a datafeed that has a specified end date stops, it automatically closes its associated job.
+/// Close anomaly detection jobs.
A job can be opened and closed multiple times throughout its lifecycle. A closed job cannot receive data or perform analysis operations, but you can still explore and navigate results.
When you close a job, it runs housekeeping tasks such as pruning the model history, flushing buffers, calculating final results and persisting the model snapshots. Depending upon the size of the job, it could take several minutes to close and the equivalent time to re-open. After it is closed, the job has a minimal overhead on the cluster except for maintaining its meta data. Therefore it is a best practice to close jobs that are no longer required to process data.
If you close an anomaly detection job whose datafeed is running, the request first tries to stop the datafeed. This behavior is equivalent to calling stop datafeed API with the same timeout and force parameters as the close job request.
When a datafeed that has a specified end date stops, it automatically closes its associated job.
///
public sealed partial class CloseJobRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteJobRequest.g.cs
index c464fd50e74..adfc2070885 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteJobRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteJobRequest.g.cs
@@ -48,8 +48,7 @@ public sealed partial class DeleteJobRequestParameters : RequestParameters
}
///
-/// Deletes an anomaly detection job.
-/// All job configuration, model state and results are deleted.
It is not currently possible to delete multiple jobs using wildcards or a
comma separated list. If you delete a job that has a datafeed, the request
first tries to delete the datafeed. This behavior is equivalent to calling
the delete datafeed API with the same timeout and force parameters as the
delete job request.
+/// Delete an anomaly detection job.
All job configuration, model state and results are deleted.
It is not currently possible to delete multiple jobs using wildcards or a
comma separated list. If you delete a job that has a datafeed, the request
first tries to delete the datafeed. This behavior is equivalent to calling
the delete datafeed API with the same timeout and force parameters as the
delete job request.
///
public sealed partial class DeleteJobRequest : PlainRequest
{
@@ -85,8 +84,7 @@ public DeleteJobRequest(Elastic.Clients.Elasticsearch.Serverless.Id jobId) : bas
}
///
-/// Deletes an anomaly detection job.
-/// All job configuration, model state and results are deleted.
It is not currently possible to delete multiple jobs using wildcards or a
comma separated list. If you delete a job that has a datafeed, the request
first tries to delete the datafeed. This behavior is equivalent to calling
the delete datafeed API with the same timeout and force parameters as the
delete job request.
+/// Delete an anomaly detection job.
All job configuration, model state and results are deleted.
It is not currently possible to delete multiple jobs using wildcards or a
comma separated list. If you delete a job that has a datafeed, the request
first tries to delete the datafeed. This behavior is equivalent to calling
the delete datafeed API with the same timeout and force parameters as the
delete job request.
///
public sealed partial class DeleteJobRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/OpenJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/OpenJobRequest.g.cs
index 8d28fac6259..21583855f9a 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/OpenJobRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/OpenJobRequest.g.cs
@@ -34,7 +34,7 @@ public sealed partial class OpenJobRequestParameters : RequestParameters
}
///
-/// Opens one or more anomaly detection jobs.
An anomaly detection job must be opened in order for it to be ready to
receive and analyze data. It can be opened and closed multiple times
throughout its lifecycle.
When you open a new job, it starts with an empty model.
When you open an existing job, the most recent model state is automatically
loaded. The job is ready to resume its analysis from where it left off, once
new data is received.
+/// Open anomaly detection jobs.
An anomaly detection job must be opened in order for it to be ready to
receive and analyze data. It can be opened and closed multiple times
throughout its lifecycle.
When you open a new job, it starts with an empty model.
When you open an existing job, the most recent model state is automatically
loaded. The job is ready to resume its analysis from where it left off, once
new data is received.
///
public sealed partial class OpenJobRequest : PlainRequest
{
@@ -58,7 +58,7 @@ public OpenJobRequest(Elastic.Clients.Elasticsearch.Serverless.Id jobId) : base(
}
///
-/// Opens one or more anomaly detection jobs.
An anomaly detection job must be opened in order for it to be ready to
receive and analyze data. It can be opened and closed multiple times
throughout its lifecycle.
When you open a new job, it starts with an empty model.
When you open an existing job, the most recent model state is automatically
loaded. The job is ready to resume its analysis from where it left off, once
new data is received.
+/// Open anomaly detection jobs.
An anomaly detection job must be opened in order for it to be ready to
receive and analyze data. It can be opened and closed multiple times
throughout its lifecycle.
When you open a new job, it starts with an empty model.
When you open an existing job, the most recent model state is automatically
loaded. The job is ready to resume its analysis from where it left off, once
new data is received.
///
public sealed partial class OpenJobRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutJobRequest.g.cs
index a6ca89f4552..749ab93417c 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutJobRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutJobRequest.g.cs
@@ -34,7 +34,7 @@ public sealed partial class PutJobRequestParameters : RequestParameters
}
///
-/// Instantiates an anomaly detection job. If you include a `datafeed_config`, you must have read index privileges on the source index.
+/// Create an anomaly detection job.
If you include a `datafeed_config`, you must have read index privileges on the source index.
///
public sealed partial class PutJobRequest : PlainRequest
{
@@ -142,7 +142,7 @@ public PutJobRequest(Elastic.Clients.Elasticsearch.Serverless.Id jobId) : base(r
}
///
-/// Instantiates an anomaly detection job. If you include a `datafeed_config`, you must have read index privileges on the source index.
+/// Create an anomaly detection job.
If you include a `datafeed_config`, you must have read index privileges on the source index.
///
public sealed partial class PutJobRequestDescriptor : RequestDescriptor, PutJobRequestParameters>
{
@@ -565,7 +565,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Instantiates an anomaly detection job. If you include a `datafeed_config`, you must have read index privileges on the source index.
+/// Create an anomaly detection job.
If you include a `datafeed_config`, you must have read index privileges on the source index.
///
public sealed partial class PutJobRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/PingRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/PingRequest.g.cs
index eb3e852b8b0..5465897c65c 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/PingRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/PingRequest.g.cs
@@ -34,7 +34,7 @@ public sealed partial class PingRequestParameters : RequestParameters
}
///
-/// Returns whether the cluster is running.
+/// Ping the cluster.
Returns whether the cluster is running.
///
public sealed partial class PingRequest : PlainRequest
{
@@ -48,7 +48,7 @@ public sealed partial class PingRequest : PlainRequest
}
///
-/// Returns whether the cluster is running.
+/// Ping the cluster.
Returns whether the cluster is running.
///
public sealed partial class PingRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/PutScriptRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/PutScriptRequest.g.cs
index 29720f9ecd8..cf6aee4132d 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/PutScriptRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/PutScriptRequest.g.cs
@@ -43,7 +43,7 @@ public sealed partial class PutScriptRequestParameters : RequestParameters
}
///
-/// Creates or updates a stored script or search template.
+/// Create or update a script or search template.
Creates or updates a stored script or search template.
///
public sealed partial class PutScriptRequest : PlainRequest
{
@@ -83,7 +83,7 @@ public PutScriptRequest(Elastic.Clients.Elasticsearch.Serverless.Id id, Elastic.
}
///
-/// Creates or updates a stored script or search template.
+/// Create or update a script or search template.
Creates or updates a stored script or search template.
///
public sealed partial class PutScriptRequestDescriptor : RequestDescriptor, PutScriptRequestParameters>
{
@@ -175,7 +175,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Creates or updates a stored script or search template.
+/// Create or update a script or search template.
Creates or updates a stored script or search template.
///
public sealed partial class PutScriptRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/GetRuleResponse.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/GetRuleResponse.g.cs
index 63d2fc47f3f..c7a1d487330 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/GetRuleResponse.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/GetRuleResponse.g.cs
@@ -31,7 +31,10 @@ public sealed partial class GetRuleResponse : ElasticsearchResponse
[JsonInclude, JsonPropertyName("actions")]
public Elastic.Clients.Elasticsearch.Serverless.QueryRules.QueryRuleActions Actions { get; init; }
[JsonInclude, JsonPropertyName("criteria")]
+ [SingleOrManyCollectionConverter(typeof(Elastic.Clients.Elasticsearch.Serverless.QueryRules.QueryRuleCriteria))]
public IReadOnlyCollection Criteria { get; init; }
+ [JsonInclude, JsonPropertyName("priority")]
+ public int? Priority { get; init; }
[JsonInclude, JsonPropertyName("rule_id")]
public string RuleId { get; init; }
[JsonInclude, JsonPropertyName("type")]
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/PutRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/PutRuleRequest.g.cs
index 89f9792991b..17fc1de770c 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/PutRuleRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/PutRuleRequest.g.cs
@@ -53,7 +53,10 @@ public PutRuleRequest(Elastic.Clients.Elasticsearch.Serverless.Id rulesetId, Ela
[JsonInclude, JsonPropertyName("actions")]
public Elastic.Clients.Elasticsearch.Serverless.QueryRules.QueryRuleActions Actions { get; set; }
[JsonInclude, JsonPropertyName("criteria")]
+ [SingleOrManyCollectionConverter(typeof(Elastic.Clients.Elasticsearch.Serverless.QueryRules.QueryRuleCriteria))]
public ICollection Criteria { get; set; }
+ [JsonInclude, JsonPropertyName("priority")]
+ public int? Priority { get; set; }
[JsonInclude, JsonPropertyName("type")]
public Elastic.Clients.Elasticsearch.Serverless.QueryRules.QueryRuleType Type { get; set; }
}
@@ -96,6 +99,7 @@ public PutRuleRequestDescriptor RulesetId(Elastic.Clients.Elasticsearch.Serverle
private Elastic.Clients.Elasticsearch.Serverless.QueryRules.QueryRuleCriteriaDescriptor CriteriaDescriptor { get; set; }
private Action CriteriaDescriptorAction { get; set; }
private Action[] CriteriaDescriptorActions { get; set; }
+ private int? PriorityValue { get; set; }
private Elastic.Clients.Elasticsearch.Serverless.QueryRules.QueryRuleType TypeValue { get; set; }
public PutRuleRequestDescriptor Actions(Elastic.Clients.Elasticsearch.Serverless.QueryRules.QueryRuleActions actions)
@@ -158,6 +162,12 @@ public PutRuleRequestDescriptor Criteria(params Action(CriteriaValue, writer, options);
+ }
+
+ if (PriorityValue.HasValue)
+ {
+ writer.WritePropertyName("priority");
+ writer.WriteNumberValue(PriorityValue.Value);
}
writer.WritePropertyName("type");
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/PutRulesetRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/PutRulesetRequest.g.cs
index d82f1073db1..df39b62d120 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/PutRulesetRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/PutRulesetRequest.g.cs
@@ -51,6 +51,7 @@ public PutRulesetRequest(Elastic.Clients.Elasticsearch.Serverless.Id rulesetId)
internal override string OperationName => "query_rules.put_ruleset";
[JsonInclude, JsonPropertyName("rules")]
+ [SingleOrManyCollectionConverter(typeof(Elastic.Clients.Elasticsearch.Serverless.QueryRules.QueryRule))]
public ICollection Rules { get; set; }
}
@@ -126,32 +127,30 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
if (RulesDescriptor is not null)
{
writer.WritePropertyName("rules");
- writer.WriteStartArray();
JsonSerializer.Serialize(writer, RulesDescriptor, options);
- writer.WriteEndArray();
}
else if (RulesDescriptorAction is not null)
{
writer.WritePropertyName("rules");
- writer.WriteStartArray();
JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.QueryRules.QueryRuleDescriptor(RulesDescriptorAction), options);
- writer.WriteEndArray();
}
else if (RulesDescriptorActions is not null)
{
writer.WritePropertyName("rules");
- writer.WriteStartArray();
+ if (RulesDescriptorActions.Length != 1)
+ writer.WriteStartArray();
foreach (var action in RulesDescriptorActions)
{
JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.QueryRules.QueryRuleDescriptor(action), options);
}
- writer.WriteEndArray();
+ if (RulesDescriptorActions.Length != 1)
+ writer.WriteEndArray();
}
else
{
writer.WritePropertyName("rules");
- JsonSerializer.Serialize(writer, RulesValue, options);
+ SingleOrManySerializationHelper.Serialize(RulesValue, writer, options);
}
writer.WriteEndObject();
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRequest.g.cs
index 5701163cc95..5c118907a77 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRequest.g.cs
@@ -73,7 +73,7 @@ public sealed partial class ReindexRequestParameters : RequestParameters
}
///
-/// Allows to copy documents from one index to another, optionally filtering the source
documents by a query, changing the destination index settings, or fetching the
documents from a remote cluster.
+/// Reindex documents.
Copies documents from a source to a destination. The source can be any existing index, alias, or data stream. The destination must differ from the source. For example, you cannot reindex a data stream into itself.
///
public sealed partial class ReindexRequest : PlainRequest
{
@@ -167,7 +167,7 @@ public sealed partial class ReindexRequest : PlainRequest
-/// Allows to copy documents from one index to another, optionally filtering the source
documents by a query, changing the destination index settings, or fetching the
documents from a remote cluster.
+/// Reindex documents.
Copies documents from a source to a destination. The source can be any existing index, alias, or data stream. The destination must differ from the source. For example, you cannot reindex a data stream into itself.
///
public sealed partial class ReindexRequestDescriptor : RequestDescriptor, ReindexRequestParameters>
{
@@ -200,6 +200,8 @@ public ReindexRequestDescriptor()
private Action DestDescriptorAction { get; set; }
private long? MaxDocsValue { get; set; }
private Elastic.Clients.Elasticsearch.Serverless.Script? ScriptValue { get; set; }
+ private Elastic.Clients.Elasticsearch.Serverless.ScriptDescriptor ScriptDescriptor { get; set; }
+ private Action ScriptDescriptorAction { get; set; }
private long? SizeValue { get; set; }
private Elastic.Clients.Elasticsearch.Serverless.Core.Reindex.Source SourceValue { get; set; }
private Elastic.Clients.Elasticsearch.Serverless.Core.Reindex.SourceDescriptor SourceDescriptor { get; set; }
@@ -255,10 +257,28 @@ public ReindexRequestDescriptor MaxDocs(long? maxDocs)
///
public ReindexRequestDescriptor Script(Elastic.Clients.Elasticsearch.Serverless.Script? script)
{
+ ScriptDescriptor = null;
+ ScriptDescriptorAction = null;
ScriptValue = script;
return Self;
}
+ public ReindexRequestDescriptor Script(Elastic.Clients.Elasticsearch.Serverless.ScriptDescriptor descriptor)
+ {
+ ScriptValue = null;
+ ScriptDescriptorAction = null;
+ ScriptDescriptor = descriptor;
+ return Self;
+ }
+
+ public ReindexRequestDescriptor Script(Action configure)
+ {
+ ScriptValue = null;
+ ScriptDescriptor = null;
+ ScriptDescriptorAction = configure;
+ return Self;
+ }
+
public ReindexRequestDescriptor Size(long? size)
{
SizeValue = size;
@@ -323,7 +343,17 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
writer.WriteNumberValue(MaxDocsValue.Value);
}
- if (ScriptValue is not null)
+ if (ScriptDescriptor is not null)
+ {
+ writer.WritePropertyName("script");
+ JsonSerializer.Serialize(writer, ScriptDescriptor, options);
+ }
+ else if (ScriptDescriptorAction is not null)
+ {
+ writer.WritePropertyName("script");
+ JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.ScriptDescriptor(ScriptDescriptorAction), options);
+ }
+ else if (ScriptValue is not null)
{
writer.WritePropertyName("script");
JsonSerializer.Serialize(writer, ScriptValue, options);
@@ -356,7 +386,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Allows to copy documents from one index to another, optionally filtering the source
documents by a query, changing the destination index settings, or fetching the
documents from a remote cluster.
+/// Reindex documents.
Copies documents from a source to a destination. The source can be any existing index, alias, or data stream. The destination must differ from the source. For example, you cannot reindex a data stream into itself.
///
public sealed partial class ReindexRequestDescriptor : RequestDescriptor
{
@@ -389,6 +419,8 @@ public ReindexRequestDescriptor()
private Action DestDescriptorAction { get; set; }
private long? MaxDocsValue { get; set; }
private Elastic.Clients.Elasticsearch.Serverless.Script? ScriptValue { get; set; }
+ private Elastic.Clients.Elasticsearch.Serverless.ScriptDescriptor ScriptDescriptor { get; set; }
+ private Action ScriptDescriptorAction { get; set; }
private long? SizeValue { get; set; }
private Elastic.Clients.Elasticsearch.Serverless.Core.Reindex.Source SourceValue { get; set; }
private Elastic.Clients.Elasticsearch.Serverless.Core.Reindex.SourceDescriptor SourceDescriptor { get; set; }
@@ -444,10 +476,28 @@ public ReindexRequestDescriptor MaxDocs(long? maxDocs)
///
public ReindexRequestDescriptor Script(Elastic.Clients.Elasticsearch.Serverless.Script? script)
{
+ ScriptDescriptor = null;
+ ScriptDescriptorAction = null;
ScriptValue = script;
return Self;
}
+ public ReindexRequestDescriptor Script(Elastic.Clients.Elasticsearch.Serverless.ScriptDescriptor descriptor)
+ {
+ ScriptValue = null;
+ ScriptDescriptorAction = null;
+ ScriptDescriptor = descriptor;
+ return Self;
+ }
+
+ public ReindexRequestDescriptor Script(Action configure)
+ {
+ ScriptValue = null;
+ ScriptDescriptor = null;
+ ScriptDescriptorAction = configure;
+ return Self;
+ }
+
public ReindexRequestDescriptor Size(long? size)
{
SizeValue = size;
@@ -512,7 +562,17 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
writer.WriteNumberValue(MaxDocsValue.Value);
}
- if (ScriptValue is not null)
+ if (ScriptDescriptor is not null)
+ {
+ writer.WritePropertyName("script");
+ JsonSerializer.Serialize(writer, ScriptDescriptor, options);
+ }
+ else if (ScriptDescriptorAction is not null)
+ {
+ writer.WritePropertyName("script");
+ JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.ScriptDescriptor(ScriptDescriptorAction), options);
+ }
+ else if (ScriptValue is not null)
{
writer.WritePropertyName("script");
JsonSerializer.Serialize(writer, ScriptValue, options);
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchMvtRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchMvtRequest.g.cs
index 94cfcbea02c..8a5f2822dff 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchMvtRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchMvtRequest.g.cs
@@ -34,7 +34,7 @@ public sealed partial class SearchMvtRequestParameters : RequestParameters
}
///
-/// Searches a vector tile for geospatial values. Returns results as a binary Mapbox vector tile.
+/// Search a vector tile.
Searches a vector tile for geospatial values.
///
public sealed partial class SearchMvtRequest : PlainRequest
{
@@ -139,7 +139,7 @@ public SearchMvtRequest(Elastic.Clients.Elasticsearch.Serverless.Indices indices
}
///
-/// Searches a vector tile for geospatial values. Returns results as a binary Mapbox vector tile.
+/// Search a vector tile.
Searches a vector tile for geospatial values.
///
public sealed partial class SearchMvtRequestDescriptor : RequestDescriptor, SearchMvtRequestParameters>
{
@@ -511,7 +511,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Searches a vector tile for geospatial values. Returns results as a binary Mapbox vector tile.
+/// Search a vector tile.
Searches a vector tile for geospatial values.
///
public sealed partial class SearchMvtRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermVectorsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermVectorsRequest.g.cs
index 77f8ad1e034..c27095b46c3 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermVectorsRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermVectorsRequest.g.cs
@@ -88,7 +88,7 @@ public sealed partial class TermVectorsRequestParameters : RequestParameters
}
///
-/// Returns information and statistics about terms in the fields of a particular document.
+/// Get term vector information.
Returns information and statistics about terms in the fields of a particular document.
///
public sealed partial class TermVectorsRequest : PlainRequest
{
@@ -195,7 +195,7 @@ public TermVectorsRequest(Elastic.Clients.Elasticsearch.Serverless.IndexName ind
}
///
-/// Returns information and statistics about terms in the fields of a particular document.
+/// Get term vector information.
Returns information and statistics about terms in the fields of a particular document.
///
public sealed partial class TermVectorsRequestDescriptor : RequestDescriptor, TermVectorsRequestParameters>
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermVectorsResponse.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermVectorsResponse.g.cs
index 27e97ebc74c..f2c69d342cf 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermVectorsResponse.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermVectorsResponse.g.cs
@@ -31,7 +31,7 @@ public sealed partial class TermVectorsResponse : ElasticsearchResponse
[JsonInclude, JsonPropertyName("found")]
public bool Found { get; init; }
[JsonInclude, JsonPropertyName("_id")]
- public string Id { get; init; }
+ public string? Id { get; init; }
[JsonInclude, JsonPropertyName("_index")]
public string Index { get; init; }
[JsonInclude, JsonPropertyName("term_vectors")]
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/DeleteTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/DeleteTransformRequest.g.cs
index eb990db8b59..2f1b3437ff7 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/DeleteTransformRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/DeleteTransformRequest.g.cs
@@ -48,7 +48,7 @@ public sealed partial class DeleteTransformRequestParameters : RequestParameters
}
///
-/// Deletes a transform.
+/// Delete a transform.
Deletes a transform.
///
public sealed partial class DeleteTransformRequest : PlainRequest
{
@@ -84,7 +84,7 @@ public DeleteTransformRequest(Elastic.Clients.Elasticsearch.Serverless.Id transf
}
///
-/// Deletes a transform.
+/// Delete a transform.
Deletes a transform.
///
public sealed partial class DeleteTransformRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/GetTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/GetTransformRequest.g.cs
index 0279a803a73..1dc4dbe32a1 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/GetTransformRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/GetTransformRequest.g.cs
@@ -55,7 +55,7 @@ public sealed partial class GetTransformRequestParameters : RequestParameters
}
///
-/// Retrieves configuration information for transforms.
+/// Get transforms.
Retrieves configuration information for transforms.
///
public sealed partial class GetTransformRequest : PlainRequest
{
@@ -103,7 +103,7 @@ public GetTransformRequest(Elastic.Clients.Elasticsearch.Serverless.Names? trans
}
///
-/// Retrieves configuration information for transforms.
+/// Get transforms.
Retrieves configuration information for transforms.
///
public sealed partial class GetTransformRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/GetTransformStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/GetTransformStatsRequest.g.cs
index f8b44fb1f7b..28fa8d84769 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/GetTransformStatsRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/GetTransformStatsRequest.g.cs
@@ -55,7 +55,7 @@ public sealed partial class GetTransformStatsRequestParameters : RequestParamete
}
///
-/// Retrieves usage information for transforms.
+/// Get transform stats.
Retrieves usage information for transforms.
///
public sealed partial class GetTransformStatsRequest : PlainRequest
{
@@ -99,7 +99,7 @@ public GetTransformStatsRequest(Elastic.Clients.Elasticsearch.Serverless.Names t
}
///
-/// Retrieves usage information for transforms.
+/// Get transform stats.
Retrieves usage information for transforms.
///
public sealed partial class GetTransformStatsRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/PreviewTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/PreviewTransformRequest.g.cs
index 71907527f46..62bcf8b9347 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/PreviewTransformRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/PreviewTransformRequest.g.cs
@@ -38,7 +38,7 @@ public sealed partial class PreviewTransformRequestParameters : RequestParameter
}
///
-/// Previews a transform.
+/// Preview a transform.
Generates a preview of the results that you will get when you create a transform with the same configuration.
/// It returns a maximum of 100 results. The calculations are based on all the current data in the source index. It also
generates a list of mappings and settings for the destination index. These values are determined based on the field
types of the source index and the transform aggregations.
///
public sealed partial class PreviewTransformRequest : PlainRequest
@@ -121,7 +121,7 @@ public PreviewTransformRequest(Elastic.Clients.Elasticsearch.Serverless.Id? tran
}
///
-/// Previews a transform.
+/// Preview a transform.
Generates a preview of the results that you will get when you create a transform with the same configuration.
/// It returns a maximum of 100 results. The calculations are based on all the current data in the source index. It also
generates a list of mappings and settings for the destination index. These values are determined based on the field
types of the source index and the transform aggregations.
///
public sealed partial class PreviewTransformRequestDescriptor : RequestDescriptor, PreviewTransformRequestParameters>
@@ -515,7 +515,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Previews a transform.
+/// Preview a transform.
Generates a preview of the results that you will get when you create a transform with the same configuration.
/// It returns a maximum of 100 results. The calculations are based on all the current data in the source index. It also
generates a list of mappings and settings for the destination index. These values are determined based on the field
types of the source index and the transform aggregations.
///
public sealed partial class PreviewTransformRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/PutTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/PutTransformRequest.g.cs
index d4ee2175c10..e16673d7d1b 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/PutTransformRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/PutTransformRequest.g.cs
@@ -43,7 +43,7 @@ public sealed partial class PutTransformRequestParameters : RequestParameters
}
///
-/// Creates a transform.
+/// Create a transform.
Creates a transform.
/// A transform copies data from source indices, transforms it, and persists it into an entity-centric destination index. You can also think of the destination index as a two-dimensional tabular data structure (known as
a data frame). The ID for each document in the data frame is generated from a hash of the entity, so there is a
unique row per entity.
/// You must choose either the latest or pivot method for your transform; you cannot use both in a single transform. If
you choose to use the pivot method for your transform, the entities are defined by the set of `group_by` fields in
the pivot object. If you choose to use the latest method, the entities are defined by the `unique_key` field values
in the latest object.
/// You must have `create_index`, `index`, and `read` privileges on the destination index and `read` and
`view_index_metadata` privileges on the source indices. When Elasticsearch security features are enabled, the
transform remembers which roles the user that created it had at the time of creation and uses those same roles. If
those roles do not have the required privileges on the source and destination indices, the transform fails when it
attempts unauthorized operations.
@@ -137,7 +137,7 @@ public PutTransformRequest(Elastic.Clients.Elasticsearch.Serverless.Id transform
}
///
-/// Creates a transform.
+/// Create a transform.
Creates a transform.
/// A transform copies data from source indices, transforms it, and persists it into an entity-centric destination index. You can also think of the destination index as a two-dimensional tabular data structure (known as
a data frame). The ID for each document in the data frame is generated from a hash of the entity, so there is a
unique row per entity.
/// You must choose either the latest or pivot method for your transform; you cannot use both in a single transform. If
you choose to use the pivot method for your transform, the entities are defined by the set of `group_by` fields in
the pivot object. If you choose to use the latest method, the entities are defined by the `unique_key` field values
in the latest object.
/// You must have `create_index`, `index`, and `read` privileges on the destination index and `read` and
`view_index_metadata` privileges on the source indices. When Elasticsearch security features are enabled, the
transform remembers which roles the user that created it had at the time of creation and uses those same roles. If
those roles do not have the required privileges on the source and destination indices, the transform fails when it
attempts unauthorized operations.
@@ -547,7 +547,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Creates a transform.
+/// Create a transform.
Creates a transform.
/// A transform copies data from source indices, transforms it, and persists it into an entity-centric destination index. You can also think of the destination index as a two-dimensional tabular data structure (known as
a data frame). The ID for each document in the data frame is generated from a hash of the entity, so there is a
unique row per entity.
/// You must choose either the latest or pivot method for your transform; you cannot use both in a single transform. If
you choose to use the pivot method for your transform, the entities are defined by the set of `group_by` fields in
the pivot object. If you choose to use the latest method, the entities are defined by the `unique_key` field values
in the latest object.
/// You must have `create_index`, `index`, and `read` privileges on the destination index and `read` and
`view_index_metadata` privileges on the source indices. When Elasticsearch security features are enabled, the
transform remembers which roles the user that created it had at the time of creation and uses those same roles. If
those roles do not have the required privileges on the source and destination indices, the transform fails when it
attempts unauthorized operations.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/ResetTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/ResetTransformRequest.g.cs
index f626fe41ac8..9d61f79ccfb 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/ResetTransformRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/ResetTransformRequest.g.cs
@@ -38,7 +38,7 @@ public sealed partial class ResetTransformRequestParameters : RequestParameters
}
///
-/// Resets a transform.
Before you can reset it, you must stop it; alternatively, use the `force` query parameter.
If the destination index was created by the transform, it is deleted.
+/// Reset a transform.
Resets a transform.
Before you can reset it, you must stop it; alternatively, use the `force` query parameter.
If the destination index was created by the transform, it is deleted.
///
public sealed partial class ResetTransformRequest : PlainRequest
{
@@ -62,7 +62,7 @@ public ResetTransformRequest(Elastic.Clients.Elasticsearch.Serverless.Id transfo
}
///
-/// Resets a transform.
Before you can reset it, you must stop it; alternatively, use the `force` query parameter.
If the destination index was created by the transform, it is deleted.
+/// Reset a transform.
Resets a transform.
Before you can reset it, you must stop it; alternatively, use the `force` query parameter.
If the destination index was created by the transform, it is deleted.
///
public sealed partial class ResetTransformRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/ScheduleNowTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/ScheduleNowTransformRequest.g.cs
index a5df259de06..f42efbafa3e 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/ScheduleNowTransformRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/ScheduleNowTransformRequest.g.cs
@@ -38,7 +38,7 @@ public sealed partial class ScheduleNowTransformRequestParameters : RequestParam
}
///
-/// Schedules now a transform.
+/// Schedule a transform to start now.
Instantly runs a transform to process data.
/// If you _schedule_now a transform, it will process the new data instantly,
without waiting for the configured frequency interval. After _schedule_now API is called,
the transform will be processed again at now + frequency unless _schedule_now API
is called again in the meantime.
///
public sealed partial class ScheduleNowTransformRequest : PlainRequest
@@ -63,7 +63,7 @@ public ScheduleNowTransformRequest(Elastic.Clients.Elasticsearch.Serverless.Id t
}
///
-/// Schedules now a transform.
+/// Schedule a transform to start now.
Instantly runs a transform to process data.
/// If you _schedule_now a transform, it will process the new data instantly,
without waiting for the configured frequency interval. After _schedule_now API is called,
the transform will be processed again at now + frequency unless _schedule_now API
is called again in the meantime.
///
public sealed partial class ScheduleNowTransformRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/StartTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/StartTransformRequest.g.cs
index c25c624a377..32084a6bd6d 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/StartTransformRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/StartTransformRequest.g.cs
@@ -43,7 +43,7 @@ public sealed partial class StartTransformRequestParameters : RequestParameters
}
///
-/// Starts a transform.
+/// Start a transform.
Starts a transform.
/// When you start a transform, it creates the destination index if it does not already exist. The `number_of_shards` is
set to `1` and the `auto_expand_replicas` is set to `0-1`. If it is a pivot transform, it deduces the mapping
definitions for the destination index from the source indices and the transform aggregations. If fields in the
destination index are derived from scripts (as in the case of `scripted_metric` or `bucket_script` aggregations),
the transform uses dynamic mappings unless an index template exists. If it is a latest transform, it does not deduce
mapping definitions; it uses dynamic mappings. To use explicit mappings, create the destination index before you
start the transform. Alternatively, you can create an index template, though it does not affect the deduced mappings
in a pivot transform.
/// When the transform starts, a series of validations occur to ensure its success. If you deferred validation when you
created the transform, they occur when you start the transform—with the exception of privilege checks. When
Elasticsearch security features are enabled, the transform remembers which roles the user that created it had at the
time of creation and uses those same roles. If those roles do not have the required privileges on the source and
destination indices, the transform fails when it attempts unauthorized operations.
///
@@ -75,7 +75,7 @@ public StartTransformRequest(Elastic.Clients.Elasticsearch.Serverless.Id transfo
}
///
-/// Starts a transform.
+/// Start a transform.
Starts a transform.
/// When you start a transform, it creates the destination index if it does not already exist. The `number_of_shards` is
set to `1` and the `auto_expand_replicas` is set to `0-1`. If it is a pivot transform, it deduces the mapping
definitions for the destination index from the source indices and the transform aggregations. If fields in the
destination index are derived from scripts (as in the case of `scripted_metric` or `bucket_script` aggregations),
the transform uses dynamic mappings unless an index template exists. If it is a latest transform, it does not deduce
mapping definitions; it uses dynamic mappings. To use explicit mappings, create the destination index before you
start the transform. Alternatively, you can create an index template, though it does not affect the deduced mappings
in a pivot transform.
/// When the transform starts, a series of validations occur to ensure its success. If you deferred validation when you
created the transform, they occur when you start the transform—with the exception of privilege checks. When
Elasticsearch security features are enabled, the transform remembers which roles the user that created it had at the
time of creation and uses those same roles. If those roles do not have the required privileges on the source and
destination indices, the transform fails when it attempts unauthorized operations.
///
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/StopTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/StopTransformRequest.g.cs
index f88a9e48d0c..119630269bf 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/StopTransformRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/StopTransformRequest.g.cs
@@ -60,7 +60,7 @@ public sealed partial class StopTransformRequestParameters : RequestParameters
}
///
-/// Stops one or more transforms.
+/// Stop transforms.
Stops one or more transforms.
///
public sealed partial class StopTransformRequest : PlainRequest
{
@@ -110,7 +110,7 @@ public StopTransformRequest(Elastic.Clients.Elasticsearch.Serverless.Name transf
}
///
-/// Stops one or more transforms.
+/// Stop transforms.
Stops one or more transforms.
///
public sealed partial class StopTransformRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/UpdateTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/UpdateTransformRequest.g.cs
index 5235568ebaf..3aaf0e28bc1 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/UpdateTransformRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/UpdateTransformRequest.g.cs
@@ -43,7 +43,7 @@ public sealed partial class UpdateTransformRequestParameters : RequestParameters
}
///
-/// Updates certain properties of a transform.
+/// Update a transform.
Updates certain properties of a transform.
/// All updated properties except `description` do not take effect until after the transform starts the next checkpoint,
thus there is data consistency in each checkpoint. To use this API, you must have `read` and `view_index_metadata`
privileges for the source indices. You must also have `index` and `read` privileges for the destination index. When
Elasticsearch security features are enabled, the transform remembers which roles the user who updated it had at the
time of update and runs with those privileges.
///
public sealed partial class UpdateTransformRequest : PlainRequest
@@ -122,7 +122,7 @@ public UpdateTransformRequest(Elastic.Clients.Elasticsearch.Serverless.Id transf
}
///
-/// Updates certain properties of a transform.
+/// Update a transform.
Updates certain properties of a transform.
/// All updated properties except `description` do not take effect until after the transform starts the next checkpoint,
thus there is data consistency in each checkpoint. To use this API, you must have `read` and `view_index_metadata`
privileges for the source indices. You must also have `index` and `read` privileges for the destination index. When
Elasticsearch security features are enabled, the transform remembers which roles the user who updated it had at the
time of update and runs with those privileges.
///
public sealed partial class UpdateTransformRequestDescriptor : RequestDescriptor, UpdateTransformRequestParameters>
@@ -437,7 +437,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Updates certain properties of a transform.
+/// Update a transform.
Updates certain properties of a transform.
/// All updated properties except `description` do not take effect until after the transform starts the next checkpoint,
thus there is data consistency in each checkpoint. To use this API, you must have `read` and `view_index_metadata`
privileges for the source indices. You must also have `index` and `read` privileges for the destination index. When
Elasticsearch security features are enabled, the transform remembers which roles the user who updated it had at the
time of update and runs with those privileges.
///
public sealed partial class UpdateTransformRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRequest.g.cs
index 6fdc0197dcc..5f2ccb1796f 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRequest.g.cs
@@ -173,7 +173,7 @@ public sealed partial class UpdateByQueryRequestParameters : RequestParameters
}
///
-/// Updates documents that match the specified query.
If no query is specified, performs an update on every document in the data stream or index without modifying the source, which is useful for picking up mapping changes.
+/// Update documents.
Updates documents that match the specified query.
If no query is specified, performs an update on every document in the data stream or index without modifying the source, which is useful for picking up mapping changes.
///
public sealed partial class UpdateByQueryRequest : PlainRequest
{
@@ -389,7 +389,7 @@ public UpdateByQueryRequest(Elastic.Clients.Elasticsearch.Serverless.Indices ind
}
///
-/// Updates documents that match the specified query.
If no query is specified, performs an update on every document in the data stream or index without modifying the source, which is useful for picking up mapping changes.
+/// Update documents.
Updates documents that match the specified query.
If no query is specified, performs an update on every document in the data stream or index without modifying the source, which is useful for picking up mapping changes.
///
public sealed partial class UpdateByQueryRequestDescriptor : RequestDescriptor, UpdateByQueryRequestParameters>
{
@@ -452,6 +452,8 @@ public UpdateByQueryRequestDescriptor Indices(Elastic.Clients.Elastic
private Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor QueryDescriptor { get; set; }
private Action> QueryDescriptorAction { get; set; }
private Elastic.Clients.Elasticsearch.Serverless.Script? ScriptValue { get; set; }
+ private Elastic.Clients.Elasticsearch.Serverless.ScriptDescriptor ScriptDescriptor { get; set; }
+ private Action ScriptDescriptorAction { get; set; }
private Elastic.Clients.Elasticsearch.Serverless.SlicedScroll? SliceValue { get; set; }
private Elastic.Clients.Elasticsearch.Serverless.SlicedScrollDescriptor SliceDescriptor { get; set; }
private Action> SliceDescriptorAction { get; set; }
@@ -506,10 +508,28 @@ public UpdateByQueryRequestDescriptor Query(Action
public UpdateByQueryRequestDescriptor Script(Elastic.Clients.Elasticsearch.Serverless.Script? script)
{
+ ScriptDescriptor = null;
+ ScriptDescriptorAction = null;
ScriptValue = script;
return Self;
}
+ public UpdateByQueryRequestDescriptor Script(Elastic.Clients.Elasticsearch.Serverless.ScriptDescriptor descriptor)
+ {
+ ScriptValue = null;
+ ScriptDescriptorAction = null;
+ ScriptDescriptor = descriptor;
+ return Self;
+ }
+
+ public UpdateByQueryRequestDescriptor Script(Action configure)
+ {
+ ScriptValue = null;
+ ScriptDescriptor = null;
+ ScriptDescriptorAction = configure;
+ return Self;
+ }
+
///
/// Slice the request manually using the provided slice ID and total number of slices.
///
@@ -568,7 +588,17 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
JsonSerializer.Serialize(writer, QueryValue, options);
}
- if (ScriptValue is not null)
+ if (ScriptDescriptor is not null)
+ {
+ writer.WritePropertyName("script");
+ JsonSerializer.Serialize(writer, ScriptDescriptor, options);
+ }
+ else if (ScriptDescriptorAction is not null)
+ {
+ writer.WritePropertyName("script");
+ JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.ScriptDescriptor(ScriptDescriptorAction), options);
+ }
+ else if (ScriptValue is not null)
{
writer.WritePropertyName("script");
JsonSerializer.Serialize(writer, ScriptValue, options);
@@ -595,7 +625,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Updates documents that match the specified query.
If no query is specified, performs an update on every document in the data stream or index without modifying the source, which is useful for picking up mapping changes.
+/// Update documents.
Updates documents that match the specified query.
If no query is specified, performs an update on every document in the data stream or index without modifying the source, which is useful for picking up mapping changes.
///
public sealed partial class UpdateByQueryRequestDescriptor : RequestDescriptor
{
@@ -654,6 +684,8 @@ public UpdateByQueryRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Serv
private Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor QueryDescriptor { get; set; }
private Action QueryDescriptorAction { get; set; }
private Elastic.Clients.Elasticsearch.Serverless.Script? ScriptValue { get; set; }
+ private Elastic.Clients.Elasticsearch.Serverless.ScriptDescriptor ScriptDescriptor { get; set; }
+ private Action ScriptDescriptorAction { get; set; }
private Elastic.Clients.Elasticsearch.Serverless.SlicedScroll? SliceValue { get; set; }
private Elastic.Clients.Elasticsearch.Serverless.SlicedScrollDescriptor SliceDescriptor { get; set; }
private Action SliceDescriptorAction { get; set; }
@@ -708,10 +740,28 @@ public UpdateByQueryRequestDescriptor Query(Action
public UpdateByQueryRequestDescriptor Script(Elastic.Clients.Elasticsearch.Serverless.Script? script)
{
+ ScriptDescriptor = null;
+ ScriptDescriptorAction = null;
ScriptValue = script;
return Self;
}
+ public UpdateByQueryRequestDescriptor Script(Elastic.Clients.Elasticsearch.Serverless.ScriptDescriptor descriptor)
+ {
+ ScriptValue = null;
+ ScriptDescriptorAction = null;
+ ScriptDescriptor = descriptor;
+ return Self;
+ }
+
+ public UpdateByQueryRequestDescriptor Script(Action configure)
+ {
+ ScriptValue = null;
+ ScriptDescriptor = null;
+ ScriptDescriptorAction = configure;
+ return Self;
+ }
+
///
/// Slice the request manually using the provided slice ID and total number of slices.
///
@@ -770,7 +820,17 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
JsonSerializer.Serialize(writer, QueryValue, options);
}
- if (ScriptValue is not null)
+ if (ScriptDescriptor is not null)
+ {
+ writer.WritePropertyName("script");
+ JsonSerializer.Serialize(writer, ScriptDescriptor, options);
+ }
+ else if (ScriptDescriptorAction is not null)
+ {
+ writer.WritePropertyName("script");
+ JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.ScriptDescriptor(ScriptDescriptorAction), options);
+ }
+ else if (ScriptValue is not null)
{
writer.WritePropertyName("script");
JsonSerializer.Serialize(writer, ScriptValue, options);
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateRequest.g.cs
index 3c296d552c8..c6681c27e76 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateRequest.g.cs
@@ -88,7 +88,7 @@ public sealed partial class UpdateRequestParameters : RequestParameters
}
///
-/// Updates a document with a script or partial document.
+/// Update a document.
Updates a document by running a script or passing a partial document.
///
public sealed partial class UpdateRequest : PlainRequest
{
@@ -216,7 +216,7 @@ public UpdateRequest(Elastic.Clients.Elasticsearch.Serverless.IndexName index, E
}
///
-/// Updates a document with a script or partial document.
+/// Update a document.
Updates a document by running a script or passing a partial document.
///
public sealed partial class UpdateRequestDescriptor : RequestDescriptor, UpdateRequestParameters>
{
@@ -278,6 +278,8 @@ public UpdateRequestDescriptor Index(Elastic.Client
private TPartialDocument? DocValue { get; set; }
private bool? DocAsUpsertValue { get; set; }
private Elastic.Clients.Elasticsearch.Serverless.Script? ScriptValue { get; set; }
+ private Elastic.Clients.Elasticsearch.Serverless.ScriptDescriptor ScriptDescriptor { get; set; }
+ private Action ScriptDescriptorAction { get; set; }
private bool? ScriptedUpsertValue { get; set; }
private Elastic.Clients.Elasticsearch.Serverless.Core.Search.SourceConfig? SourceValue { get; set; }
private TDocument? UpsertValue { get; set; }
@@ -314,10 +316,28 @@ public UpdateRequestDescriptor DocAsUpsert(bool? do
///
public UpdateRequestDescriptor Script(Elastic.Clients.Elasticsearch.Serverless.Script? script)
{
+ ScriptDescriptor = null;
+ ScriptDescriptorAction = null;
ScriptValue = script;
return Self;
}
+ public UpdateRequestDescriptor Script(Elastic.Clients.Elasticsearch.Serverless.ScriptDescriptor descriptor)
+ {
+ ScriptValue = null;
+ ScriptDescriptorAction = null;
+ ScriptDescriptor = descriptor;
+ return Self;
+ }
+
+ public UpdateRequestDescriptor Script(Action configure)
+ {
+ ScriptValue = null;
+ ScriptDescriptor = null;
+ ScriptDescriptorAction = configure;
+ return Self;
+ }
+
///
/// Set to true to execute the script whether or not the document exists.
///
@@ -366,7 +386,17 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
writer.WriteBooleanValue(DocAsUpsertValue.Value);
}
- if (ScriptValue is not null)
+ if (ScriptDescriptor is not null)
+ {
+ writer.WritePropertyName("script");
+ JsonSerializer.Serialize(writer, ScriptDescriptor, options);
+ }
+ else if (ScriptDescriptorAction is not null)
+ {
+ writer.WritePropertyName("script");
+ JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.ScriptDescriptor(ScriptDescriptorAction), options);
+ }
+ else if (ScriptValue is not null)
{
writer.WritePropertyName("script");
JsonSerializer.Serialize(writer, ScriptValue, options);
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Cluster.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Cluster.g.cs
index 203ad78c582..5d61131d0d0 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Cluster.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Cluster.g.cs
@@ -81,7 +81,7 @@ public virtual Task AllocationExplainAsync(Action
- /// Deletes component templates.
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
+ /// Delete component templates.
Deletes component templates.
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteComponentTemplateAsync(DeleteComponentTemplateRequest request, CancellationToken cancellationToken = default)
@@ -91,7 +91,7 @@ public virtual Task DeleteComponentTemplateAsyn
}
///
- /// Deletes component templates.
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
+ /// Delete component templates.
Deletes component templates.
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteComponentTemplateAsync(DeleteComponentTemplateRequestDescriptor descriptor, CancellationToken cancellationToken = default)
@@ -101,7 +101,7 @@ public virtual Task DeleteComponentTemplateAsyn
}
///
- /// Deletes component templates.
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
+ /// Delete component templates.
Deletes component templates.
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Names name, CancellationToken cancellationToken = default)
@@ -112,7 +112,7 @@ public virtual Task DeleteComponentTemplateAsyn
}
///
- /// Deletes component templates.
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
+ /// Delete component templates.
Deletes component templates.
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Names name, Action configureRequest, CancellationToken cancellationToken = default)
@@ -124,7 +124,7 @@ public virtual Task DeleteComponentTemplateAsyn
}
///
- /// Returns information about whether a particular component template exist
+ /// Check component templates.
Returns information about whether a particular component template exists.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExistsComponentTemplateAsync(ExistsComponentTemplateRequest request, CancellationToken cancellationToken = default)
@@ -134,7 +134,7 @@ public virtual Task ExistsComponentTemplateAsyn
}
///
- /// Returns information about whether a particular component template exist
+ /// Check component templates.
Returns information about whether a particular component template exists.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExistsComponentTemplateAsync(ExistsComponentTemplateRequestDescriptor descriptor, CancellationToken cancellationToken = default)
@@ -144,7 +144,7 @@ public virtual Task ExistsComponentTemplateAsyn
}
///
- /// Returns information about whether a particular component template exist
+ /// Check component templates.
Returns information about whether a particular component template exists.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExistsComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Names name, CancellationToken cancellationToken = default)
@@ -155,7 +155,7 @@ public virtual Task ExistsComponentTemplateAsyn
}
///
- /// Returns information about whether a particular component template exist
+ /// Check component templates.
Returns information about whether a particular component template exists.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExistsComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Names name, Action configureRequest, CancellationToken cancellationToken = default)
@@ -167,7 +167,7 @@ public virtual Task ExistsComponentTemplateAsyn
}
///
- /// Retrieves information about component templates.
+ /// Get component templates.
Retrieves information about component templates.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task GetComponentTemplateAsync(GetComponentTemplateRequest request, CancellationToken cancellationToken = default)
@@ -177,7 +177,7 @@ public virtual Task GetComponentTemplateAsync(GetC
}
///
- /// Retrieves information about component templates.
+ /// Get component templates.
Retrieves information about component templates.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task GetComponentTemplateAsync(GetComponentTemplateRequestDescriptor descriptor, CancellationToken cancellationToken = default)
@@ -187,7 +187,7 @@ public virtual Task GetComponentTemplateAsync(GetC
}
///
- /// Retrieves information about component templates.
+ /// Get component templates.
Retrieves information about component templates.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task GetComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Name? name, CancellationToken cancellationToken = default)
@@ -198,7 +198,7 @@ public virtual Task GetComponentTemplateAsync(Elas
}
///
- /// Retrieves information about component templates.
+ /// Get component templates.
Retrieves information about component templates.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task GetComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Name? name, Action configureRequest, CancellationToken cancellationToken = default)
@@ -210,7 +210,7 @@ public virtual Task GetComponentTemplateAsync(Elas
}
///
- /// Retrieves information about component templates.
+ /// Get component templates.
Retrieves information about component templates.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task GetComponentTemplateAsync(CancellationToken cancellationToken = default)
@@ -221,7 +221,7 @@ public virtual Task GetComponentTemplateAsync(Canc
}
///
- /// Retrieves information about component templates.
+ /// Get component templates.
Retrieves information about component templates.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task GetComponentTemplateAsync(Action configureRequest, CancellationToken cancellationToken = default)
@@ -398,7 +398,7 @@ public virtual Task HealthAsync(Action
}
///
- /// Returns different information about the cluster.
+ /// Get cluster info.
Returns basic information about the cluster.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task InfoAsync(ClusterInfoRequest request, CancellationToken cancellationToken = default)
@@ -408,7 +408,7 @@ public virtual Task InfoAsync(ClusterInfoRequest request, C
}
///
- /// Returns different information about the cluster.
+ /// Get cluster info.
Returns basic information about the cluster.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task InfoAsync(ClusterInfoRequestDescriptor descriptor, CancellationToken cancellationToken = default)
@@ -418,7 +418,7 @@ public virtual Task InfoAsync(ClusterInfoRequestDescriptor
}
///
- /// Returns different information about the cluster.
+ /// Get cluster info.
Returns basic information about the cluster.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task InfoAsync(IReadOnlyCollection target, CancellationToken cancellationToken = default)
@@ -429,7 +429,7 @@ public virtual Task InfoAsync(IReadOnlyCollection
- /// Returns different information about the cluster.
+ /// Get cluster info.
Returns basic information about the cluster.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task InfoAsync(IReadOnlyCollection target, Action configureRequest, CancellationToken cancellationToken = default)
@@ -484,7 +484,7 @@ public virtual Task PendingTasksAsync(Action
- /// Creates or updates a component template.
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
+ /// Create or update a component template.
Creates or updates a component template.
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
/// An index template can be composed of multiple component templates.
To use a component template, specify it in an index template’s `composed_of` list.
Component templates are only applied to new data streams and indices as part of a matching index template.
/// Settings and mappings specified directly in the index template or the create index request override any settings or mappings specified in a component template.
/// Component templates are only used during index creation.
For data streams, this includes data stream creation and the creation of a stream’s backing indices.
Changes to component templates do not affect existing indices, including a stream’s backing indices.
@@ -498,7 +498,7 @@ public virtual Task PutComponentTemplateAsync(PutC
}
///
- /// Creates or updates a component template.
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
+ /// Create or update a component template.
Creates or updates a component template.
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
/// An index template can be composed of multiple component templates.
To use a component template, specify it in an index template’s `composed_of` list.
Component templates are only applied to new data streams and indices as part of a matching index template.
/// Settings and mappings specified directly in the index template or the create index request override any settings or mappings specified in a component template.
/// Component templates are only used during index creation.
For data streams, this includes data stream creation and the creation of a stream’s backing indices.
Changes to component templates do not affect existing indices, including a stream’s backing indices.
@@ -512,7 +512,7 @@ public virtual Task PutComponentTemplateAsync
- /// Creates or updates a component template.
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
+ /// Create or update a component template.
Creates or updates a component template.
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
/// An index template can be composed of multiple component templates.
To use a component template, specify it in an index template’s `composed_of` list.
Component templates are only applied to new data streams and indices as part of a matching index template.
/// Settings and mappings specified directly in the index template or the create index request override any settings or mappings specified in a component template.
/// Component templates are only used during index creation.
For data streams, this includes data stream creation and the creation of a stream’s backing indices.
Changes to component templates do not affect existing indices, including a stream’s backing indices.
@@ -527,7 +527,7 @@ public virtual Task PutComponentTemplateAsync
- /// Creates or updates a component template.
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
+ /// Create or update a component template.
Creates or updates a component template.
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
/// An index template can be composed of multiple component templates.
To use a component template, specify it in an index template’s `composed_of` list.
Component templates are only applied to new data streams and indices as part of a matching index template.
/// Settings and mappings specified directly in the index template or the create index request override any settings or mappings specified in a component template.
/// Component templates are only used during index creation.
For data streams, this includes data stream creation and the creation of a stream’s backing indices.
Changes to component templates do not affect existing indices, including a stream’s backing indices.
@@ -543,7 +543,7 @@ public virtual Task PutComponentTemplateAsync
- /// Creates or updates a component template.
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
+ /// Create or update a component template.
Creates or updates a component template.
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
/// An index template can be composed of multiple component templates.
To use a component template, specify it in an index template’s `composed_of` list.
Component templates are only applied to new data streams and indices as part of a matching index template.
/// Settings and mappings specified directly in the index template or the create index request override any settings or mappings specified in a component template.
/// Component templates are only used during index creation.
For data streams, this includes data stream creation and the creation of a stream’s backing indices.
Changes to component templates do not affect existing indices, including a stream’s backing indices.
@@ -557,7 +557,7 @@ public virtual Task PutComponentTemplateAsync(PutC
}
///
- /// Creates or updates a component template.
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
+ /// Create or update a component template.
Creates or updates a component template.
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
/// An index template can be composed of multiple component templates.
To use a component template, specify it in an index template’s `composed_of` list.
Component templates are only applied to new data streams and indices as part of a matching index template.
/// Settings and mappings specified directly in the index template or the create index request override any settings or mappings specified in a component template.
/// Component templates are only used during index creation.
For data streams, this includes data stream creation and the creation of a stream’s backing indices.
Changes to component templates do not affect existing indices, including a stream’s backing indices.
@@ -572,7 +572,7 @@ public virtual Task PutComponentTemplateAsync(Elas
}
///
- /// Creates or updates a component template.
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
+ /// Create or update a component template.
Creates or updates a component template.
Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
/// An index template can be composed of multiple component templates.
To use a component template, specify it in an index template’s `composed_of` list.
Component templates are only applied to new data streams and indices as part of a matching index template.
/// Settings and mappings specified directly in the index template or the create index request override any settings or mappings specified in a component template.
/// Component templates are only used during index creation.
For data streams, this includes data stream creation and the creation of a stream’s backing indices.
Changes to component templates do not affect existing indices, including a stream’s backing indices.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Enrich.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Enrich.g.cs
index d2fa4c1da87..d45592880b2 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Enrich.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Enrich.g.cs
@@ -38,7 +38,7 @@ internal EnrichNamespacedClient(ElasticsearchClient client) : base(client)
}
///
- /// Deletes an existing enrich policy and its enrich index.
+ /// Delete an enrich policy.
Deletes an existing enrich policy and its enrich index.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeletePolicyAsync(DeletePolicyRequest request, CancellationToken cancellationToken = default)
@@ -48,7 +48,7 @@ public virtual Task DeletePolicyAsync(DeletePolicyRequest
}
///
- /// Deletes an existing enrich policy and its enrich index.
+ /// Delete an enrich policy.
Deletes an existing enrich policy and its enrich index.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeletePolicyAsync(DeletePolicyRequestDescriptor descriptor, CancellationToken cancellationToken = default)
@@ -58,7 +58,7 @@ public virtual Task DeletePolicyAsync(DeletePolicyRequestD
}
///
- /// Deletes an existing enrich policy and its enrich index.
+ /// Delete an enrich policy.
Deletes an existing enrich policy and its enrich index.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeletePolicyAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, CancellationToken cancellationToken = default)
@@ -69,7 +69,7 @@ public virtual Task DeletePolicyAsync(Elastic.Clients.Elas
}
///
- /// Deletes an existing enrich policy and its enrich index.
+ /// Delete an enrich policy.
Deletes an existing enrich policy and its enrich index.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeletePolicyAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, Action configureRequest, CancellationToken cancellationToken = default)
@@ -124,7 +124,7 @@ public virtual Task ExecutePolicyAsync(Elastic.Clients.El
}
///
- /// Returns information about an enrich policy.
+ /// Get an enrich policy.
Returns information about an enrich policy.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task GetPolicyAsync(GetPolicyRequest request, CancellationToken cancellationToken = default)
@@ -134,7 +134,7 @@ public virtual Task GetPolicyAsync(GetPolicyRequest request,
}
///
- /// Returns information about an enrich policy.
+ /// Get an enrich policy.
Returns information about an enrich policy.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task GetPolicyAsync(GetPolicyRequestDescriptor descriptor, CancellationToken cancellationToken = default)
@@ -144,7 +144,7 @@ public virtual Task GetPolicyAsync(GetPolicyRequestDescriptor
}
///
- /// Returns information about an enrich policy.
+ /// Get an enrich policy.
Returns information about an enrich policy.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task GetPolicyAsync(Elastic.Clients.Elasticsearch.Serverless.Names? name, CancellationToken cancellationToken = default)
@@ -155,7 +155,7 @@ public virtual Task GetPolicyAsync(Elastic.Clients.Elasticsea
}
///
- /// Returns information about an enrich policy.
+ /// Get an enrich policy.
Returns information about an enrich policy.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task GetPolicyAsync(Elastic.Clients.Elasticsearch.Serverless.Names? name, Action configureRequest, CancellationToken cancellationToken = default)
@@ -167,7 +167,7 @@ public virtual Task GetPolicyAsync(Elastic.Clients.Elasticsea
}
///
- /// Returns information about an enrich policy.
+ /// Get an enrich policy.
Returns information about an enrich policy.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task GetPolicyAsync(CancellationToken cancellationToken = default)
@@ -178,7 +178,7 @@ public virtual Task GetPolicyAsync(CancellationToken cancella
}
///
- /// Returns information about an enrich policy.
+ /// Get an enrich policy.
Returns information about an enrich policy.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task GetPolicyAsync(Action configureRequest, CancellationToken cancellationToken = default)
@@ -190,7 +190,7 @@ public virtual Task GetPolicyAsync(Action
- /// Creates an enrich policy.
+ /// Create an enrich policy.
Creates an enrich policy.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task PutPolicyAsync(PutPolicyRequest request, CancellationToken cancellationToken = default)
@@ -200,7 +200,7 @@ public virtual Task PutPolicyAsync(PutPolicyRequest request,
}
///
- /// Creates an enrich policy.
+ /// Create an enrich policy.
Creates an enrich policy.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task PutPolicyAsync(PutPolicyRequestDescriptor descriptor, CancellationToken cancellationToken = default)
@@ -210,7 +210,7 @@ public virtual Task PutPolicyAsync(PutPolicyReques
}
///
- /// Creates an enrich policy.
+ /// Create an enrich policy.
Creates an enrich policy.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task PutPolicyAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, CancellationToken cancellationToken = default)
@@ -221,7 +221,7 @@ public virtual Task PutPolicyAsync(Elastic.Clients
}
///
- /// Creates an enrich policy.
+ /// Create an enrich policy.
Creates an enrich policy.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task PutPolicyAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, Action> configureRequest, CancellationToken cancellationToken = default)
@@ -233,7 +233,7 @@ public virtual Task PutPolicyAsync(Elastic.Clients
}
///
- /// Creates an enrich policy.
+ /// Create an enrich policy.
Creates an enrich policy.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task PutPolicyAsync(PutPolicyRequestDescriptor descriptor, CancellationToken cancellationToken = default)
@@ -243,7 +243,7 @@ public virtual Task PutPolicyAsync(PutPolicyRequestDescriptor
}
///
- /// Creates an enrich policy.
+ /// Create an enrich policy.
Creates an enrich policy.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task PutPolicyAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, CancellationToken cancellationToken = default)
@@ -254,7 +254,7 @@ public virtual Task PutPolicyAsync(Elastic.Clients.Elasticsea
}
///
- /// Creates an enrich policy.
+ /// Create an enrich policy.
Creates an enrich policy.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task PutPolicyAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, Action configureRequest, CancellationToken cancellationToken = default)
@@ -266,7 +266,7 @@ public virtual Task PutPolicyAsync(Elastic.Clients.Elasticsea
}
///
- /// Returns enrich coordinator statistics and information about enrich policies that are currently executing.
+ /// Get enrich stats.
Returns enrich coordinator statistics and information about enrich policies that are currently executing.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task StatsAsync(EnrichStatsRequest request, CancellationToken cancellationToken = default)
@@ -276,7 +276,7 @@ public virtual Task StatsAsync(EnrichStatsRequest request,
}
///
- /// Returns enrich coordinator statistics and information about enrich policies that are currently executing.
+ /// Get enrich stats.
Returns enrich coordinator statistics and information about enrich policies that are currently executing.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task StatsAsync(EnrichStatsRequestDescriptor descriptor, CancellationToken cancellationToken = default)
@@ -286,7 +286,7 @@ public virtual Task StatsAsync(EnrichStatsRequestDescriptor
}
///
- /// Returns enrich coordinator statistics and information about enrich policies that are currently executing.
+ /// Get enrich stats.
Returns enrich coordinator statistics and information about enrich policies that are currently executing.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task StatsAsync(CancellationToken cancellationToken = default)
@@ -297,7 +297,7 @@ public virtual Task StatsAsync(CancellationToken cancellati
}
///
- /// Returns enrich coordinator statistics and information about enrich policies that are currently executing.
+ /// Get enrich stats.
Returns enrich coordinator statistics and information about enrich policies that are currently executing.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task StatsAsync(Action configureRequest, CancellationToken cancellationToken = default)
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Esql.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Esql.g.cs
new file mode 100644
index 00000000000..98074501f2d
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Esql.g.cs
@@ -0,0 +1,115 @@
+// Licensed to Elasticsearch B.V under one or more agreements.
+// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
+// See the LICENSE file in the project root for more information.
+//
+// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
+// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
+// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗
+// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝
+// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗
+// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝
+// ------------------------------------------------
+//
+// This file is automatically generated.
+// Please do not edit these files manually.
+//
+// ------------------------------------------------
+
+#nullable restore
+
+using System;
+using System.Collections.Generic;
+using System.Threading;
+using System.Threading.Tasks;
+
+namespace Elastic.Clients.Elasticsearch.Serverless.Esql;
+
+public partial class EsqlNamespacedClient : NamespacedClientProxy
+{
+ ///
+ /// Initializes a new instance of the class for mocking.
+ ///
+ protected EsqlNamespacedClient() : base()
+ {
+ }
+
+ internal EsqlNamespacedClient(ElasticsearchClient client) : base(client)
+ {
+ }
+
+ ///
+ /// Executes an ES|QL request
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual Task QueryAsync(EsqlQueryRequest request, CancellationToken cancellationToken = default)
+ {
+ request.BeforeRequest();
+ return DoRequestAsync(request, cancellationToken);
+ }
+
+ ///
+ /// Executes an ES|QL request
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual Task QueryAsync(EsqlQueryRequestDescriptor descriptor, CancellationToken cancellationToken = default)
+ {
+ descriptor.BeforeRequest();
+ return DoRequestAsync, EsqlQueryResponse, EsqlQueryRequestParameters>(descriptor, cancellationToken);
+ }
+
+ ///
+ /// Executes an ES|QL request
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual Task QueryAsync(CancellationToken cancellationToken = default)
+ {
+ var descriptor = new EsqlQueryRequestDescriptor();
+ descriptor.BeforeRequest();
+ return DoRequestAsync, EsqlQueryResponse, EsqlQueryRequestParameters>(descriptor, cancellationToken);
+ }
+
+ ///
+ /// Executes an ES|QL request
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual Task QueryAsync(Action> configureRequest, CancellationToken cancellationToken = default)
+ {
+ var descriptor = new EsqlQueryRequestDescriptor();
+ configureRequest?.Invoke(descriptor);
+ descriptor.BeforeRequest();
+ return DoRequestAsync, EsqlQueryResponse, EsqlQueryRequestParameters>(descriptor, cancellationToken);
+ }
+
+ ///
+ /// Executes an ES|QL request
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual Task QueryAsync(EsqlQueryRequestDescriptor descriptor, CancellationToken cancellationToken = default)
+ {
+ descriptor.BeforeRequest();
+ return DoRequestAsync(descriptor, cancellationToken);
+ }
+
+ ///
+ /// Executes an ES|QL request
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual Task QueryAsync(CancellationToken cancellationToken = default)
+ {
+ var descriptor = new EsqlQueryRequestDescriptor();
+ descriptor.BeforeRequest();
+ return DoRequestAsync(descriptor, cancellationToken);
+ }
+
+ ///
+ /// Executes an ES|QL request
+ /// Learn more about this API in the Elasticsearch documentation.
+ ///
+ public virtual Task QueryAsync(Action configureRequest, CancellationToken cancellationToken = default)
+ {
+ var descriptor = new EsqlQueryRequestDescriptor();
+ configureRequest?.Invoke(descriptor);
+ descriptor.BeforeRequest();
+ return DoRequestAsync(descriptor, cancellationToken);
+ }
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Indices.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Indices.g.cs
index ee0ca420c9f..c05c1a97225 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Indices.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Indices.g.cs
@@ -381,7 +381,7 @@ public virtual Task CloseAsync(Elastic.Clients.Elasticsearch
}
///
- /// Creates a new index.
+ /// Create an index.
Creates a new index.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task CreateAsync(CreateIndexRequest request, CancellationToken cancellationToken = default)
@@ -391,7 +391,7 @@ public virtual Task CreateAsync(CreateIndexRequest request,
}
///
- /// Creates a new index.
+ /// Create an index.
Creates a new index.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task CreateAsync(CreateIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default)
@@ -401,7 +401,7 @@ public virtual Task CreateAsync(CreateIndexReque
}
///
- /// Creates a new index.
+ /// Create an index.
Creates a new index.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task CreateAsync(Elastic.Clients.Elasticsearch.Serverless.IndexName index, CancellationToken cancellationToken = default)
@@ -412,7 +412,7 @@ public virtual Task CreateAsync(Elastic.Clients.
}
///
- /// Creates a new index.
+ /// Create an index.
Creates a new index.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task CreateAsync(Elastic.Clients.Elasticsearch.Serverless.IndexName index, Action> configureRequest, CancellationToken cancellationToken = default)
@@ -424,7 +424,7 @@ public virtual Task CreateAsync(Elastic.Clients.
}
///
- /// Creates a new index.
+ /// Create an index.
Creates a new index.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task CreateAsync(CancellationToken cancellationToken = default)
@@ -435,7 +435,7 @@ public virtual Task CreateAsync(CancellationToke
}
///
- /// Creates a new index.
+ /// Create an index.
Creates a new index.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task CreateAsync(Action> configureRequest, CancellationToken cancellationToken = default)
@@ -447,7 +447,7 @@ public virtual Task CreateAsync(Action
- /// Creates a new index.
+ /// Create an index.
Creates a new index.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task CreateAsync(CreateIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default)
@@ -457,7 +457,7 @@ public virtual Task CreateAsync(CreateIndexRequestDescripto
}
///
- /// Creates a new index.
+ /// Create an index.
Creates a new index.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task CreateAsync(Elastic.Clients.Elasticsearch.Serverless.IndexName index, CancellationToken cancellationToken = default)
@@ -468,7 +468,7 @@ public virtual Task CreateAsync(Elastic.Clients.Elasticsear
}
///
- /// Creates a new index.
+ /// Create an index.
Creates a new index.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task CreateAsync(Elastic.Clients.Elasticsearch.Serverless.IndexName index, Action configureRequest, CancellationToken cancellationToken = default)
@@ -480,7 +480,7 @@ public virtual Task CreateAsync(Elastic.Clients.Elasticsear
}
///
- /// Creates a data stream.
You must have a matching index template with data stream enabled.
+ /// Create a data stream.
Creates a data stream.
You must have a matching index template with data stream enabled.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task CreateDataStreamAsync(CreateDataStreamRequest request, CancellationToken cancellationToken = default)
@@ -490,7 +490,7 @@ public virtual Task CreateDataStreamAsync(CreateDataSt
}
///
- /// Creates a data stream.
You must have a matching index template with data stream enabled.
+ /// Create a data stream.
Creates a data stream.
You must have a matching index template with data stream enabled.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task CreateDataStreamAsync(CreateDataStreamRequestDescriptor descriptor, CancellationToken cancellationToken = default)
@@ -500,7 +500,7 @@ public virtual Task CreateDataStreamAsync(CreateDataSt
}
///
- /// Creates a data stream.
You must have a matching index template with data stream enabled.
+ /// Create a data stream.
Creates a data stream.
You must have a matching index template with data stream enabled.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task CreateDataStreamAsync(Elastic.Clients.Elasticsearch.Serverless.DataStreamName name, CancellationToken cancellationToken = default)
@@ -511,7 +511,7 @@ public virtual Task CreateDataStreamAsync(Elastic.Clie
}
///
- /// Creates a data stream.
You must have a matching index template with data stream enabled.
+ /// Create a data stream.
Creates a data stream.
You must have a matching index template with data stream enabled.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task CreateDataStreamAsync(Elastic.Clients.Elasticsearch.Serverless.DataStreamName name, Action configureRequest, CancellationToken cancellationToken = default)
@@ -523,7 +523,7 @@ public virtual Task CreateDataStreamAsync(Elastic.Clie
}
///
- /// Retrieves statistics for one or more data streams.
+ /// Get data stream stats.
Retrieves statistics for one or more data streams.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DataStreamsStatsAsync(DataStreamsStatsRequest request, CancellationToken cancellationToken = default)
@@ -533,7 +533,7 @@ public virtual Task DataStreamsStatsAsync(DataStreamsS
}
///
- /// Retrieves statistics for one or more data streams.
+ /// Get data stream stats.
Retrieves statistics for one or more data streams.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DataStreamsStatsAsync(DataStreamsStatsRequestDescriptor descriptor, CancellationToken cancellationToken = default)
@@ -543,7 +543,7 @@ public virtual Task DataStreamsStatsAsync(DataStreamsS
}
///
- /// Retrieves statistics for one or more data streams.
+ /// Get data stream stats.
Retrieves statistics for one or more data streams.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DataStreamsStatsAsync(Elastic.Clients.Elasticsearch.Serverless.IndexName? name, CancellationToken cancellationToken = default)
@@ -554,7 +554,7 @@ public virtual Task DataStreamsStatsAsync(Elastic.Clie
}
///
- /// Retrieves statistics for one or more data streams.
+ /// Get data stream stats.
Retrieves statistics for one or more data streams.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DataStreamsStatsAsync(Elastic.Clients.Elasticsearch.Serverless.IndexName? name, Action configureRequest, CancellationToken cancellationToken = default)
@@ -566,7 +566,7 @@ public virtual Task DataStreamsStatsAsync(Elastic.Clie
}
///
- /// Retrieves statistics for one or more data streams.
+ /// Get data stream stats.
Retrieves statistics for one or more data streams.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DataStreamsStatsAsync(CancellationToken cancellationToken = default)
@@ -577,7 +577,7 @@ public virtual Task DataStreamsStatsAsync(Cancellation
}
///
- /// Retrieves statistics for one or more data streams.
+ /// Get data stream stats.
Retrieves statistics for one or more data streams.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DataStreamsStatsAsync(Action configureRequest, CancellationToken cancellationToken = default)
@@ -589,7 +589,7 @@ public virtual Task DataStreamsStatsAsync(Action
- /// Deletes one or more indices.
+ /// Delete indices.
Deletes one or more indices.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteAsync(DeleteIndexRequest request, CancellationToken cancellationToken = default)
@@ -599,7 +599,7 @@ public virtual Task DeleteAsync(DeleteIndexRequest request,
}
///
- /// Deletes one or more indices.
+ /// Delete indices.
Deletes one or more indices.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteAsync(DeleteIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default)
@@ -609,7 +609,7 @@ public virtual Task DeleteAsync(DeleteIndexReque
}
///
- /// Deletes one or more indices.
+ /// Delete indices.
Deletes one or more indices.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, CancellationToken cancellationToken = default)
@@ -620,7 +620,7 @@ public virtual Task DeleteAsync(Elastic.Clients.
}
///
- /// Deletes one or more indices.
+ /// Delete indices.
Deletes one or more indices.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, Action> configureRequest, CancellationToken cancellationToken = default)
@@ -632,7 +632,7 @@ public virtual Task DeleteAsync(Elastic.Clients.
}
///
- /// Deletes one or more indices.
+ /// Delete indices.
Deletes one or more indices.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteAsync(CancellationToken cancellationToken = default)
@@ -643,7 +643,7 @@ public virtual Task DeleteAsync(CancellationToke
}
///
- /// Deletes one or more indices.
+ /// Delete indices.
Deletes one or more indices.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteAsync(Action> configureRequest, CancellationToken cancellationToken = default)
@@ -655,7 +655,7 @@ public virtual Task DeleteAsync(Action
- /// Deletes one or more indices.
+ /// Delete indices.
Deletes one or more indices.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteAsync(DeleteIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default)
@@ -665,7 +665,7 @@ public virtual Task DeleteAsync(DeleteIndexRequestDescripto
}
///
- /// Deletes one or more indices.
+ /// Delete indices.
Deletes one or more indices.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, CancellationToken cancellationToken = default)
@@ -676,7 +676,7 @@ public virtual Task DeleteAsync(Elastic.Clients.Elasticsear
}
///
- /// Deletes one or more indices.
+ /// Delete indices.
Deletes one or more indices.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, Action configureRequest, CancellationToken cancellationToken = default)
@@ -688,7 +688,7 @@ public virtual Task DeleteAsync(Elastic.Clients.Elasticsear
}
///
- /// Removes a data stream or index from an alias.
+ /// Delete an alias.
Removes a data stream or index from an alias.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteAliasAsync(DeleteAliasRequest request, CancellationToken cancellationToken = default)
@@ -698,7 +698,7 @@ public virtual Task DeleteAliasAsync(DeleteAliasRequest req
}
///
- /// Removes a data stream or index from an alias.
+ /// Delete an alias.
Removes a data stream or index from an alias.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteAliasAsync(DeleteAliasRequestDescriptor descriptor, CancellationToken cancellationToken = default)
@@ -708,7 +708,7 @@ public virtual Task DeleteAliasAsync(DeleteAlias
}
///
- /// Removes a data stream or index from an alias.
+ /// Delete an alias.
Removes a data stream or index from an alias.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteAliasAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, Elastic.Clients.Elasticsearch.Serverless.Names name, CancellationToken cancellationToken = default)
@@ -719,7 +719,7 @@ public virtual Task DeleteAliasAsync(Elastic.Cli
}
///
- /// Removes a data stream or index from an alias.
+ /// Delete an alias.
Removes a data stream or index from an alias.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteAliasAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, Elastic.Clients.Elasticsearch.Serverless.Names name, Action> configureRequest, CancellationToken cancellationToken = default)
@@ -731,7 +731,7 @@ public virtual Task DeleteAliasAsync(Elastic.Cli
}
///
- /// Removes a data stream or index from an alias.
+ /// Delete an alias.
Removes a data stream or index from an alias.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteAliasAsync(Elastic.Clients.Elasticsearch.Serverless.Names name, CancellationToken cancellationToken = default)
@@ -742,7 +742,7 @@ public virtual Task DeleteAliasAsync(Elastic.Cli
}
///
- /// Removes a data stream or index from an alias.
+ /// Delete an alias.
Removes a data stream or index from an alias.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteAliasAsync(Elastic.Clients.Elasticsearch.Serverless.Names name, Action> configureRequest, CancellationToken cancellationToken = default)
@@ -754,7 +754,7 @@ public virtual Task DeleteAliasAsync(Elastic.Cli
}
///
- /// Removes a data stream or index from an alias.
+ /// Delete an alias.
Removes a data stream or index from an alias.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteAliasAsync(DeleteAliasRequestDescriptor descriptor, CancellationToken cancellationToken = default)
@@ -764,7 +764,7 @@ public virtual Task DeleteAliasAsync(DeleteAliasRequestDesc
}
///
- /// Removes a data stream or index from an alias.
+ /// Delete an alias.
Removes a data stream or index from an alias.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteAliasAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, Elastic.Clients.Elasticsearch.Serverless.Names name, CancellationToken cancellationToken = default)
@@ -775,7 +775,7 @@ public virtual Task DeleteAliasAsync(Elastic.Clients.Elasti
}
///
- /// Removes a data stream or index from an alias.
+ /// Delete an alias.
Removes a data stream or index from an alias.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteAliasAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, Elastic.Clients.Elasticsearch.Serverless.Names name, Action configureRequest, CancellationToken cancellationToken = default)
@@ -787,7 +787,7 @@ public virtual Task DeleteAliasAsync(Elastic.Clients.Elasti
}
///
- /// Removes the data lifecycle from a data stream rendering it not managed by the data stream lifecycle
+ /// Delete data stream lifecycles.
Removes the data stream lifecycle from a data stream, rendering it not managed by the data stream lifecycle.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteDataLifecycleAsync(DeleteDataLifecycleRequest request, CancellationToken cancellationToken = default)
@@ -797,7 +797,7 @@ public virtual Task DeleteDataLifecycleAsync(Delete
}
///
- /// Removes the data lifecycle from a data stream rendering it not managed by the data stream lifecycle
+ /// Delete data stream lifecycles.
Removes the data stream lifecycle from a data stream, rendering it not managed by the data stream lifecycle.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteDataLifecycleAsync(DeleteDataLifecycleRequestDescriptor descriptor, CancellationToken cancellationToken = default)
@@ -807,7 +807,7 @@ public virtual Task DeleteDataLifecycleAsync(Delete
}
///
- /// Removes the data lifecycle from a data stream rendering it not managed by the data stream lifecycle
+ /// Delete data stream lifecycles.
Removes the data stream lifecycle from a data stream, rendering it not managed by the data stream lifecycle.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteDataLifecycleAsync(Elastic.Clients.Elasticsearch.Serverless.DataStreamNames name, CancellationToken cancellationToken = default)
@@ -818,7 +818,7 @@ public virtual Task DeleteDataLifecycleAsync(Elasti
}
///
- /// Removes the data lifecycle from a data stream rendering it not managed by the data stream lifecycle
+ /// Delete data stream lifecycles.
Removes the data stream lifecycle from a data stream, rendering it not managed by the data stream lifecycle.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteDataLifecycleAsync(Elastic.Clients.Elasticsearch.Serverless.DataStreamNames name, Action configureRequest, CancellationToken cancellationToken = default)
@@ -830,7 +830,7 @@ public virtual Task DeleteDataLifecycleAsync(Elasti
}
///
- /// Deletes one or more data streams and their backing indices.
+ /// Delete data streams.
Deletes one or more data streams and their backing indices.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteDataStreamAsync(DeleteDataStreamRequest request, CancellationToken cancellationToken = default)
@@ -840,7 +840,7 @@ public virtual Task DeleteDataStreamAsync(DeleteDataSt
}
///
- /// Deletes one or more data streams and their backing indices.
+ /// Delete data streams.
Deletes one or more data streams and their backing indices.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteDataStreamAsync(DeleteDataStreamRequestDescriptor descriptor, CancellationToken cancellationToken = default)
@@ -850,7 +850,7 @@ public virtual Task DeleteDataStreamAsync(DeleteDataSt
}
///
- /// Deletes one or more data streams and their backing indices.
+ /// Delete data streams.
Deletes one or more data streams and their backing indices.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteDataStreamAsync(Elastic.Clients.Elasticsearch.Serverless.DataStreamNames name, CancellationToken cancellationToken = default)
@@ -861,7 +861,7 @@ public virtual Task DeleteDataStreamAsync(Elastic.Clie
}
///
- /// Deletes one or more data streams and their backing indices.
+ /// Delete data streams.
Deletes one or more data streams and their backing indices.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteDataStreamAsync(Elastic.Clients.Elasticsearch.Serverless.DataStreamNames name, Action configureRequest, CancellationToken cancellationToken = default)
@@ -916,7 +916,7 @@ public virtual Task DeleteIndexTemplateAsync(Elasti
}
///
- /// Checks if a data stream, index, or alias exists.
+ /// Check indices.
Checks if one or more indices, index aliases, or data streams exist.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExistsAsync(ExistsRequest request, CancellationToken cancellationToken = default)
@@ -926,7 +926,7 @@ public virtual Task ExistsAsync(ExistsRequest request, Cancellat
}
///
- /// Checks if a data stream, index, or alias exists.
+ /// Check indices.
Checks if one or more indices, index aliases, or data streams exist.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExistsAsync(ExistsRequestDescriptor descriptor, CancellationToken cancellationToken = default)
@@ -936,7 +936,7 @@ public virtual Task ExistsAsync(ExistsRequestDescript
}
///
- /// Checks if a data stream, index, or alias exists.
+ /// Check indices.
Checks if one or more indices, index aliases, or data streams exist.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExistsAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, CancellationToken cancellationToken = default)
@@ -947,7 +947,7 @@ public virtual Task ExistsAsync(Elastic.Clients.Elast
}
///
- /// Checks if a data stream, index, or alias exists.
+ /// Check indices.
Checks if one or more indices, index aliases, or data streams exist.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExistsAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, Action> configureRequest, CancellationToken cancellationToken = default)
@@ -959,7 +959,7 @@ public virtual Task ExistsAsync(Elastic.Clients.Elast
}
///
- /// Checks if a data stream, index, or alias exists.
+ /// Check indices.
Checks if one or more indices, index aliases, or data streams exist.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExistsAsync(CancellationToken cancellationToken = default)
@@ -970,7 +970,7 @@ public virtual Task ExistsAsync(CancellationToken can
}
///
- /// Checks if a data stream, index, or alias exists.
+ /// Check indices.
Checks if one or more indices, index aliases, or data streams exist.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExistsAsync(Action> configureRequest, CancellationToken cancellationToken = default)
@@ -982,7 +982,7 @@ public virtual Task ExistsAsync(Action
- /// Checks if a data stream, index, or alias exists.
+ /// Check indices.
Checks if one or more indices, index aliases, or data streams exist.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExistsAsync(ExistsRequestDescriptor descriptor, CancellationToken cancellationToken = default)
@@ -992,7 +992,7 @@ public virtual Task ExistsAsync(ExistsRequestDescriptor descript
}
///
- /// Checks if a data stream, index, or alias exists.
+ /// Check indices.
Checks if one or more indices, index aliases, or data streams exist.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExistsAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, CancellationToken cancellationToken = default)
@@ -1003,7 +1003,7 @@ public virtual Task ExistsAsync(Elastic.Clients.Elasticsearch.Se
}
///
- /// Checks if a data stream, index, or alias exists.
+ /// Check indices.
Checks if one or more indices, index aliases, or data streams exist.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExistsAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, Action configureRequest, CancellationToken cancellationToken = default)
@@ -1015,7 +1015,7 @@ public virtual Task ExistsAsync(Elastic.Clients.Elasticsearch.Se
}
///
- /// Checks if an alias exists.
+ /// Check aliases.
Checks if one or more data stream or index aliases exist.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExistsAliasAsync(ExistsAliasRequest request, CancellationToken cancellationToken = default)
@@ -1025,7 +1025,7 @@ public virtual Task ExistsAliasAsync(ExistsAliasRequest req
}
///
- /// Checks if an alias exists.
+ /// Check aliases.
Checks if one or more data stream or index aliases exist.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExistsAliasAsync(ExistsAliasRequestDescriptor descriptor, CancellationToken cancellationToken = default)
@@ -1035,7 +1035,7 @@ public virtual Task ExistsAliasAsync(ExistsAlias
}
///
- /// Checks if an alias exists.
+ /// Check aliases.
Checks if one or more data stream or index aliases exist.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExistsAliasAsync(Elastic.Clients.Elasticsearch.Serverless.Indices? indices, Elastic.Clients.Elasticsearch.Serverless.Names name, CancellationToken cancellationToken = default)
@@ -1046,7 +1046,7 @@ public virtual Task ExistsAliasAsync(Elastic.Cli
}
///
- /// Checks if an alias exists.
+ /// Check aliases.
Checks if one or more data stream or index aliases exist.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExistsAliasAsync(Elastic.Clients.Elasticsearch.Serverless.Indices? indices, Elastic.Clients.Elasticsearch.Serverless.Names name, Action> configureRequest, CancellationToken cancellationToken = default)
@@ -1058,7 +1058,7 @@ public virtual Task ExistsAliasAsync(Elastic.Cli
}
///
- /// Checks if an alias exists.
+ /// Check aliases.
Checks if one or more data stream or index aliases exist.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExistsAliasAsync(Elastic.Clients.Elasticsearch.Serverless.Names name, CancellationToken cancellationToken = default)
@@ -1069,7 +1069,7 @@ public virtual Task ExistsAliasAsync(Elastic.Cli
}
///
- /// Checks if an alias exists.
+ /// Check aliases.
Checks if one or more data stream or index aliases exist.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExistsAliasAsync(Elastic.Clients.Elasticsearch.Serverless.Names name, Action> configureRequest, CancellationToken cancellationToken = default)
@@ -1081,7 +1081,7 @@ public virtual Task ExistsAliasAsync(Elastic.Cli
}
///
- /// Checks if an alias exists.
+ /// Check aliases.
Checks if one or more data stream or index aliases exist.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExistsAliasAsync(ExistsAliasRequestDescriptor descriptor, CancellationToken cancellationToken = default)
@@ -1091,7 +1091,7 @@ public virtual Task ExistsAliasAsync(ExistsAliasRequestDesc
}
///
- /// Checks if an alias exists.
+ /// Check aliases.
Checks if one or more data stream or index aliases exist.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExistsAliasAsync(Elastic.Clients.Elasticsearch.Serverless.Indices? indices, Elastic.Clients.Elasticsearch.Serverless.Names name, CancellationToken cancellationToken = default)
@@ -1102,7 +1102,7 @@ public virtual Task ExistsAliasAsync(Elastic.Clients.Elasti
}
///
- /// Checks if an alias exists.
+ /// Check aliases.
Checks if one or more data stream or index aliases exist.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExistsAliasAsync(Elastic.Clients.Elasticsearch.Serverless.Indices? indices, Elastic.Clients.Elasticsearch.Serverless.Names name, Action configureRequest, CancellationToken cancellationToken = default)
@@ -1114,7 +1114,7 @@ public virtual Task ExistsAliasAsync(Elastic.Clients.Elasti
}
///
- /// Checks if an alias exists.
+ /// Check aliases.
Checks if one or more data stream or index aliases exist.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExistsAliasAsync(Elastic.Clients.Elasticsearch.Serverless.Names name, CancellationToken cancellationToken = default)
@@ -1125,7 +1125,7 @@ public virtual Task ExistsAliasAsync(Elastic.Clients.Elasti
}
///
- /// Checks if an alias exists.
+ /// Check aliases.
Checks if one or more data stream or index aliases exist.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExistsAliasAsync(Elastic.Clients.Elasticsearch.Serverless.Names name, Action configureRequest, CancellationToken cancellationToken = default)
@@ -1180,7 +1180,7 @@ public virtual Task ExistsIndexTemplateAsync(Elasti
}
///
- /// Retrieves information about the index's current data stream lifecycle, such as any potential encountered error, time since creation etc.
+ /// Get the status for a data stream lifecycle.
Retrieves information about an index or data stream’s current data stream lifecycle status, such as time since index creation, time since rollover, the lifecycle configuration managing the index, or any errors encountered during lifecycle execution.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExplainDataLifecycleAsync(ExplainDataLifecycleRequest request, CancellationToken cancellationToken = default)
@@ -1190,7 +1190,7 @@ public virtual Task ExplainDataLifecycleAsync(Expl
}
///
- /// Retrieves information about the index's current data stream lifecycle, such as any potential encountered error, time since creation etc.
+ /// Get the status for a data stream lifecycle.
Retrieves information about an index or data stream’s current data stream lifecycle status, such as time since index creation, time since rollover, the lifecycle configuration managing the index, or any errors encountered during lifecycle execution.
/// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExplainDataLifecycleAsync(ExplainDataLifecycleRequestDescriptor descriptor, CancellationToken cancellationToken = default)
@@ -1200,7 +1200,7 @@ public virtual Task ExplainDataLifecycleAsync