diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusResponse.g.cs
index a23a386c0e4..220a0037511 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusResponse.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusResponse.g.cs
@@ -28,11 +28,21 @@ namespace Elastic.Clients.Elasticsearch.AsyncSearch;
public sealed partial class AsyncSearchStatusResponse : ElasticsearchResponse
{
+ ///
+ /// Metadata about clusters involved in the cross-cluster search.
Not shown for local-only searches.
+ ///
+ [JsonInclude, JsonPropertyName("_clusters")]
+ public Elastic.Clients.Elasticsearch.ClusterStatistics? Clusters { get; init; }
+
///
/// If the async search completed, this field shows the status code of the search.
For example, 200 indicates that the async search was successfully completed.
503 indicates that the async search was completed with an error.
///
[JsonInclude, JsonPropertyName("completion_status")]
public int? CompletionStatus { get; init; }
+ [JsonInclude, JsonPropertyName("completion_time")]
+ public DateTimeOffset? CompletionTime { get; init; }
+ [JsonInclude, JsonPropertyName("completion_time_in_millis")]
+ public long? CompletionTimeInMillis { get; init; }
[JsonInclude, JsonPropertyName("expiration_time")]
public DateTimeOffset? ExpirationTime { get; init; }
[JsonInclude, JsonPropertyName("expiration_time_in_millis")]
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchResponse.g.cs
index 92e32556c43..77218e32631 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchResponse.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchResponse.g.cs
@@ -28,6 +28,10 @@ namespace Elastic.Clients.Elasticsearch.AsyncSearch;
public sealed partial class GetAsyncSearchResponse : ElasticsearchResponse
{
+ [JsonInclude, JsonPropertyName("completion_time")]
+ public DateTimeOffset? CompletionTime { get; init; }
+ [JsonInclude, JsonPropertyName("completion_time_in_millis")]
+ public long? CompletionTimeInMillis { get; init; }
[JsonInclude, JsonPropertyName("expiration_time")]
public DateTimeOffset? ExpirationTime { get; init; }
[JsonInclude, JsonPropertyName("expiration_time_in_millis")]
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchResponse.g.cs
index a923dc3cfc3..8fff6812e51 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchResponse.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchResponse.g.cs
@@ -28,6 +28,10 @@ namespace Elastic.Clients.Elasticsearch.AsyncSearch;
public sealed partial class SubmitAsyncSearchResponse : ElasticsearchResponse
{
+ [JsonInclude, JsonPropertyName("completion_time")]
+ public DateTimeOffset? CompletionTime { get; init; }
+ [JsonInclude, JsonPropertyName("completion_time_in_millis")]
+ public long? CompletionTimeInMillis { get; init; }
[JsonInclude, JsonPropertyName("expiration_time")]
public DateTimeOffset? ExpirationTime { get; init; }
[JsonInclude, JsonPropertyName("expiration_time_in_millis")]
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterStatsRequest.g.cs
index 18ebd7dd97d..0a15479182b 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterStatsRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterStatsRequest.g.cs
@@ -32,18 +32,18 @@ namespace Elastic.Clients.Elasticsearch.Cluster;
public sealed class ClusterStatsRequestParameters : RequestParameters
{
///
- /// Return settings in flat format (default: false)
+ /// If `true`, returns settings in flat format.
///
public bool? FlatSettings { get => Q("flat_settings"); set => Q("flat_settings", value); }
///
- /// Period to wait for each node to respond. If a node does not respond before its timeout expires, the response does not include its stats. However, timed out nodes are included in the response’s _nodes.failed property. Defaults to no timeout.
+ /// Period to wait for each node to respond.
If a node does not respond before its timeout expires, the response does not include its stats.
However, timed out nodes are included in the response’s `_nodes.failed` property. Defaults to no timeout.
///
public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); }
}
///
-/// Returns high-level overview of cluster statistics.
+/// Returns cluster statistics.
It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins).
///
public sealed partial class ClusterStatsRequest : PlainRequest
{
@@ -62,20 +62,20 @@ public ClusterStatsRequest(Elastic.Clients.Elasticsearch.NodeIds? node_id) : bas
internal override bool SupportsBody => false;
///
- /// Return settings in flat format (default: false)
+ /// If `true`, returns settings in flat format.
///
[JsonIgnore]
public bool? FlatSettings { get => Q("flat_settings"); set => Q("flat_settings", value); }
///
- /// Period to wait for each node to respond. If a node does not respond before its timeout expires, the response does not include its stats. However, timed out nodes are included in the response’s _nodes.failed property. Defaults to no timeout.
+ /// Period to wait for each node to respond.
If a node does not respond before its timeout expires, the response does not include its stats.
However, timed out nodes are included in the response’s `_nodes.failed` property. Defaults to no timeout.
///
[JsonIgnore]
public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); }
}
///
-/// Returns high-level overview of cluster statistics.
+/// Returns cluster statistics.
It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins).
///
public sealed partial class ClusterStatsRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterStatsResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterStatsResponse.g.cs
index 84789344bcc..fa24ebba2aa 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterStatsResponse.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterStatsResponse.g.cs
@@ -28,7 +28,7 @@ namespace Elastic.Clients.Elasticsearch.Cluster;
public sealed partial class ClusterStatsResponse : ElasticsearchResponse
{
///
- /// Name of the cluster, based on the Cluster name setting setting.
+ /// Name of the cluster, based on the cluster name setting.
///
[JsonInclude, JsonPropertyName("cluster_name")]
public string ClusterName { get; init; }
@@ -60,7 +60,7 @@ public sealed partial class ClusterStatsResponse : ElasticsearchResponse
public Elastic.Clients.Elasticsearch.HealthStatus Status { get; init; }
///
- /// Unix timestamp, in milliseconds, of the last time the cluster statistics were refreshed.
+ /// Unix timestamp, in milliseconds, for the last time the cluster statistics were refreshed.
///
[JsonInclude, JsonPropertyName("timestamp")]
public long Timestamp { get; init; }
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/GetClusterSettingsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/GetClusterSettingsRequest.g.cs
index a6fc30853a1..df6a9e56694 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/GetClusterSettingsRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/GetClusterSettingsRequest.g.cs
@@ -32,28 +32,28 @@ namespace Elastic.Clients.Elasticsearch.Cluster;
public sealed class GetClusterSettingsRequestParameters : RequestParameters
{
///
- /// Return settings in flat format (default: false)
+ /// If `true`, returns settings in flat format.
///
public bool? FlatSettings { get => Q("flat_settings"); set => Q("flat_settings", value); }
///
- /// Whether to return all default clusters setting.
+ /// If `true`, returns default cluster settings from the local node.
///
public bool? IncludeDefaults { get => Q("include_defaults"); set => Q("include_defaults", value); }
///
- /// Explicit operation timeout for connection to master node
+ /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
///
public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); }
///
- /// Explicit operation timeout
+ /// Period to wait for a response.
If no response is received before the timeout expires, the request fails and returns an error.
///
public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); }
}
///
-/// Returns cluster settings.
+/// Returns cluster-wide settings.
By default, it returns only settings that have been explicitly defined.
///
public sealed partial class GetClusterSettingsRequest : PlainRequest
{
@@ -64,32 +64,32 @@ public sealed partial class GetClusterSettingsRequest : PlainRequest false;
///
- /// Return settings in flat format (default: false)
+ /// If `true`, returns settings in flat format.
///
[JsonIgnore]
public bool? FlatSettings { get => Q("flat_settings"); set => Q("flat_settings", value); }
///
- /// Whether to return all default clusters setting.
+ /// If `true`, returns default cluster settings from the local node.
///
[JsonIgnore]
public bool? IncludeDefaults { get => Q("include_defaults"); set => Q("include_defaults", value); }
///
- /// Explicit operation timeout for connection to master node
+ /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
///
[JsonIgnore]
public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); }
///
- /// Explicit operation timeout
+ /// Period to wait for a response.
If no response is received before the timeout expires, the request fails and returns an error.
///
[JsonIgnore]
public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); }
}
///
-/// Returns cluster settings.
+/// Returns cluster-wide settings.
By default, it returns only settings that have been explicitly defined.
///
public sealed partial class GetClusterSettingsRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PendingTasksRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PendingTasksRequest.g.cs
index 38d8634049c..66545b25b16 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PendingTasksRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PendingTasksRequest.g.cs
@@ -32,18 +32,18 @@ namespace Elastic.Clients.Elasticsearch.Cluster;
public sealed class PendingTasksRequestParameters : RequestParameters
{
///
- /// Return local information, do not retrieve the state from master node (default: false)
+ /// If `true`, the request retrieves information from the local node only.
If `false`, information is retrieved from the master node.
///
public bool? Local { get => Q("local"); set => Q("local", value); }
///
- /// Specify timeout for connection to master
+ /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
///
public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); }
}
///
-/// Returns a list of any cluster-level changes (e.g. create index, update mapping,
allocate or fail shard) which have not yet been executed.
+/// Returns cluster-level changes (such as create index, update mapping, allocate or fail shard) that have not yet been executed.
NOTE: This API returns a list of any pending updates to the cluster state.
These are distinct from the tasks reported by the Task Management API which include periodic tasks and tasks initiated by the user, such as node stats, search queries, or create index requests.
However, if a user-initiated task such as a create index command causes a cluster state update, the activity of this task might be reported by both task api and pending cluster tasks API.
///
public sealed partial class PendingTasksRequest : PlainRequest
{
@@ -54,20 +54,20 @@ public sealed partial class PendingTasksRequest : PlainRequest false;
///
- /// Return local information, do not retrieve the state from master node (default: false)
+ /// If `true`, the request retrieves information from the local node only.
If `false`, information is retrieved from the master node.
///
[JsonIgnore]
public bool? Local { get => Q("local"); set => Q("local", value); }
///
- /// Specify timeout for connection to master
+ /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
///
[JsonIgnore]
public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); }
}
///
-/// Returns a list of any cluster-level changes (e.g. create index, update mapping,
allocate or fail shard) which have not yet been executed.
+/// Returns cluster-level changes (such as create index, update mapping, allocate or fail shard) that have not yet been executed.
NOTE: This API returns a list of any pending updates to the cluster state.
These are distinct from the tasks reported by the Task Management API which include periodic tasks and tasks initiated by the user, such as node stats, search queries, or create index requests.
However, if a user-initiated task such as a create index command causes a cluster state update, the activity of this task might be reported by both task api and pending cluster tasks API.
///
public sealed partial class PendingTasksRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/EnrichStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/EnrichStatsRequest.g.cs
index 08ca244e71a..96565a86893 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/EnrichStatsRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/EnrichStatsRequest.g.cs
@@ -34,7 +34,7 @@ public sealed class EnrichStatsRequestParameters : RequestParameters
}
///
-/// Gets enrich coordinator statistics and information about enrich policies that are currently executing.
+/// Returns enrich coordinator statistics and information about enrich policies that are currently executing.
///
public sealed partial class EnrichStatsRequest : PlainRequest
{
@@ -46,7 +46,7 @@ public sealed partial class EnrichStatsRequest : PlainRequest
-/// Gets enrich coordinator statistics and information about enrich policies that are currently executing.
+/// 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/_Generated/Api/Enrich/EnrichStatsResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/EnrichStatsResponse.g.cs
index 77a52178f81..ea55ef287fd 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/EnrichStatsResponse.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/EnrichStatsResponse.g.cs
@@ -27,10 +27,21 @@ namespace Elastic.Clients.Elasticsearch.Enrich;
public sealed partial class EnrichStatsResponse : ElasticsearchResponse
{
+ ///
+ /// Objects containing information about the enrich cache stats on each ingest node.
+ ///
[JsonInclude, JsonPropertyName("cache_stats")]
public IReadOnlyCollection? CacheStats { get; init; }
+
+ ///
+ /// Objects containing information about each coordinating ingest node for configured enrich processors.
+ ///
[JsonInclude, JsonPropertyName("coordinator_stats")]
public IReadOnlyCollection CoordinatorStats { get; init; }
+
+ ///
+ /// Objects containing information about each enrich policy that is currently executing.
+ ///
[JsonInclude, JsonPropertyName("executing_policies")]
public IReadOnlyCollection ExecutingPolicies { get; init; }
}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs
index 582cbc2ef9f..2f4c97c7537 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs
@@ -32,7 +32,7 @@ namespace Elastic.Clients.Elasticsearch.Enrich;
public sealed class ExecutePolicyRequestParameters : RequestParameters
{
///
- /// Should the request should block until the execution is complete.
+ /// If `true`, the request blocks other enrich policy execution requests until complete.
///
public bool? WaitForCompletion { get => Q("wait_for_completion"); set => Q("wait_for_completion", value); }
}
@@ -53,7 +53,7 @@ public ExecutePolicyRequest(Elastic.Clients.Elasticsearch.Name name) : base(r =>
internal override bool SupportsBody => false;
///
- /// Should the request should block until the execution is complete.
+ /// If `true`, the request blocks other enrich policy execution requests until complete.
///
[JsonIgnore]
public bool? WaitForCompletion { get => Q("wait_for_completion"); set => Q("wait_for_completion", value); }
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/GetPolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/GetPolicyRequest.g.cs
index d196b9e4761..6c8c9588f8b 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/GetPolicyRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/GetPolicyRequest.g.cs
@@ -34,7 +34,7 @@ public sealed class GetPolicyRequestParameters : RequestParameters
}
///
-/// Gets information about an enrich policy.
+/// Returns information about an enrich policy.
///
public sealed partial class GetPolicyRequest : PlainRequest
{
@@ -54,7 +54,7 @@ public GetPolicyRequest(Elastic.Clients.Elasticsearch.Names? name) : base(r => r
}
///
-/// Gets information about an enrich policy.
+/// Returns information about an enrich policy.
///
public sealed partial class GetPolicyRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/PutPolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/PutPolicyRequest.g.cs
index ac7fee98ac6..b4188aa0a34 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/PutPolicyRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/PutPolicyRequest.g.cs
@@ -34,7 +34,7 @@ public sealed class PutPolicyRequestParameters : RequestParameters
}
///
-/// Creates a new enrich policy.
+/// Creates an enrich policy.
///
public sealed partial class PutPolicyRequest : PlainRequest
{
@@ -48,16 +48,27 @@ public PutPolicyRequest(Elastic.Clients.Elasticsearch.Name name) : base(r => r.R
internal override bool SupportsBody => true;
+ ///
+ /// Matches enrich data to incoming documents based on a `geo_shape` query.
+ ///
[JsonInclude, JsonPropertyName("geo_match")]
public Elastic.Clients.Elasticsearch.Enrich.EnrichPolicy? GeoMatch { get; set; }
+
+ ///
+ /// Matches enrich data to incoming documents based on a `term` query.
+ ///
[JsonInclude, JsonPropertyName("match")]
public Elastic.Clients.Elasticsearch.Enrich.EnrichPolicy? Match { get; set; }
+
+ ///
+ /// Matches a number, date, or IP address in incoming documents to a range in the enrich index based on a `term` query.
+ ///
[JsonInclude, JsonPropertyName("range")]
public Elastic.Clients.Elasticsearch.Enrich.EnrichPolicy? Range { get; set; }
}
///
-/// Creates a new enrich policy.
+/// Creates an enrich policy.
///
public sealed partial class PutPolicyRequestDescriptor : RequestDescriptor, PutPolicyRequestParameters>
{
@@ -93,6 +104,9 @@ public PutPolicyRequestDescriptor Name(Elastic.Clients.Elasticsearch.
private EnrichPolicyDescriptor RangeDescriptor { get; set; }
private Action> RangeDescriptorAction { get; set; }
+ ///
+ /// Matches enrich data to incoming documents based on a `geo_shape` query.
+ ///
public PutPolicyRequestDescriptor GeoMatch(Elastic.Clients.Elasticsearch.Enrich.EnrichPolicy? geoMatch)
{
GeoMatchDescriptor = null;
@@ -117,6 +131,9 @@ public PutPolicyRequestDescriptor GeoMatch(Action
+ /// Matches enrich data to incoming documents based on a `term` query.
+ ///
public PutPolicyRequestDescriptor Match(Elastic.Clients.Elasticsearch.Enrich.EnrichPolicy? match)
{
MatchDescriptor = null;
@@ -141,6 +158,9 @@ public PutPolicyRequestDescriptor Match(Action
+ /// Matches a number, date, or IP address in incoming documents to a range in the enrich index based on a `term` query.
+ ///
public PutPolicyRequestDescriptor Range(Elastic.Clients.Elasticsearch.Enrich.EnrichPolicy? range)
{
RangeDescriptor = null;
@@ -221,7 +241,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Creates a new enrich policy.
+/// Creates an enrich policy.
///
public sealed partial class PutPolicyRequestDescriptor : RequestDescriptor
{
@@ -257,6 +277,9 @@ public PutPolicyRequestDescriptor Name(Elastic.Clients.Elasticsearch.Name name)
private EnrichPolicyDescriptor RangeDescriptor { get; set; }
private Action RangeDescriptorAction { get; set; }
+ ///
+ /// Matches enrich data to incoming documents based on a `geo_shape` query.
+ ///
public PutPolicyRequestDescriptor GeoMatch(Elastic.Clients.Elasticsearch.Enrich.EnrichPolicy? geoMatch)
{
GeoMatchDescriptor = null;
@@ -281,6 +304,9 @@ public PutPolicyRequestDescriptor GeoMatch(Action config
return Self;
}
+ ///
+ /// Matches enrich data to incoming documents based on a `term` query.
+ ///
public PutPolicyRequestDescriptor Match(Elastic.Clients.Elasticsearch.Enrich.EnrichPolicy? match)
{
MatchDescriptor = null;
@@ -305,6 +331,9 @@ public PutPolicyRequestDescriptor Match(Action configure
return Self;
}
+ ///
+ /// Matches a number, date, or IP address in incoming documents to a range in the enrich index based on a `term` query.
+ ///
public PutPolicyRequestDescriptor Range(Elastic.Clients.Elasticsearch.Enrich.EnrichPolicy? range)
{
RangeDescriptor = null;
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlDeleteRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlDeleteRequest.g.cs
index f49c8990354..de9398b42f1 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlDeleteRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlDeleteRequest.g.cs
@@ -34,7 +34,7 @@ public sealed class EqlDeleteRequestParameters : RequestParameters
}
///
-/// Deletes an async EQL search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.
+/// Deletes an async EQL search or a stored synchronous EQL search.
The API also deletes results for the search.
///
public sealed partial class EqlDeleteRequest : PlainRequest
{
@@ -50,7 +50,7 @@ public EqlDeleteRequest(Elastic.Clients.Elasticsearch.Id id) : base(r => r.Requi
}
///
-/// Deletes an async EQL search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.
+/// Deletes an async EQL search or a stored synchronous EQL search.
The API also deletes results for the search.
///
public sealed partial class EqlDeleteRequestDescriptor : RequestDescriptor, EqlDeleteRequestParameters>
{
@@ -82,7 +82,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Deletes an async EQL search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.
+/// Deletes an async EQL search or a stored synchronous EQL search.
The API also deletes results for the search.
///
public sealed partial class EqlDeleteRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlGetRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlGetRequest.g.cs
index e255a6d5be6..a050cc13e10 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlGetRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlGetRequest.g.cs
@@ -32,18 +32,18 @@ namespace Elastic.Clients.Elasticsearch.Eql;
public sealed class EqlGetRequestParameters : RequestParameters
{
///
- /// Period for which the search and its results are stored on the cluster. Defaults to the keep_alive value set by the search’s EQL search API request.
+ /// Period for which the search and its results are stored on the cluster.
Defaults to the keep_alive value set by the search’s EQL search API request.
///
public Elastic.Clients.Elasticsearch.Duration? KeepAlive { get => Q("keep_alive"); set => Q("keep_alive", value); }
///
- /// Timeout duration to wait for the request to finish. Defaults to no timeout, meaning the request waits for complete search results.
+ /// Timeout duration to wait for the request to finish.
Defaults to no timeout, meaning the request waits for complete search results.
///
public Elastic.Clients.Elasticsearch.Duration? WaitForCompletionTimeout { get => Q("wait_for_completion_timeout"); set => Q("wait_for_completion_timeout", value); }
}
///
-/// Returns async results from previously executed Event Query Language (EQL) search
+/// Returns the current status and available results for an async EQL search or a stored synchronous EQL search.
///
public sealed partial class EqlGetRequest : PlainRequest
{
@@ -58,20 +58,20 @@ public EqlGetRequest(Elastic.Clients.Elasticsearch.Id id) : base(r => r.Required
internal override bool SupportsBody => false;
///
- /// Period for which the search and its results are stored on the cluster. Defaults to the keep_alive value set by the search’s EQL search API request.
+ /// Period for which the search and its results are stored on the cluster.
Defaults to the keep_alive value set by the search’s EQL search API request.
///
[JsonIgnore]
public Elastic.Clients.Elasticsearch.Duration? KeepAlive { get => Q("keep_alive"); set => Q("keep_alive", value); }
///
- /// Timeout duration to wait for the request to finish. Defaults to no timeout, meaning the request waits for complete search results.
+ /// Timeout duration to wait for the request to finish.
Defaults to no timeout, meaning the request waits for complete search results.
///
[JsonIgnore]
public Elastic.Clients.Elasticsearch.Duration? WaitForCompletionTimeout { get => Q("wait_for_completion_timeout"); set => Q("wait_for_completion_timeout", value); }
}
///
-/// Returns async results from previously executed Event Query Language (EQL) search
+/// Returns the current status and available results for an async EQL search or a stored synchronous EQL search.
///
public sealed partial class EqlGetRequestDescriptor : RequestDescriptor, EqlGetRequestParameters>
{
@@ -106,7 +106,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Returns async results from previously executed Event Query Language (EQL) search
+/// Returns the current status and available results for an async EQL search or a stored synchronous EQL search.
///
public sealed partial class EqlGetRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/GetEqlStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/GetEqlStatusRequest.g.cs
index b88a3a8b593..dc05f95827f 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/GetEqlStatusRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/GetEqlStatusRequest.g.cs
@@ -34,7 +34,7 @@ public sealed class GetEqlStatusRequestParameters : RequestParameters
}
///
-/// Returns the status of a previously submitted async or stored Event Query Language (EQL) search
+/// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results.
///
public sealed partial class GetEqlStatusRequest : PlainRequest
{
@@ -50,7 +50,7 @@ public GetEqlStatusRequest(Elastic.Clients.Elasticsearch.Id id) : base(r => r.Re
}
///
-/// Returns the status of a previously submitted async or stored Event Query Language (EQL) search
+/// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results.
///
public sealed partial class GetEqlStatusRequestDescriptor : RequestDescriptor, GetEqlStatusRequestParameters>
{
@@ -82,7 +82,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Returns the status of a previously submitted async or stored Event Query Language (EQL) search
+/// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results.
///
public sealed partial class GetEqlStatusRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Graph/ExploreRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Graph/ExploreRequest.g.cs
index bd2c1160542..56064ecbb9c 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Graph/ExploreRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Graph/ExploreRequest.g.cs
@@ -32,18 +32,18 @@ namespace Elastic.Clients.Elasticsearch.Graph;
public sealed class ExploreRequestParameters : RequestParameters
{
///
- /// Specific routing value
+ /// Custom value used to route operations to a specific shard.
///
public Elastic.Clients.Elasticsearch.Routing? Routing { get => Q("routing"); set => Q("routing", value); }
///
- /// Explicit operation timeout
+ /// Specifies the period of time to wait for a response from each shard.
If no response is received before the timeout expires, the request fails and returns an error.
Defaults to no timeout.
///
public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); }
}
///
-/// Explore extracted and summarized information about the documents and terms in an index.
+/// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index.
///
public sealed partial class ExploreRequest : PlainRequest
{
@@ -58,28 +58,44 @@ public ExploreRequest(Elastic.Clients.Elasticsearch.Indices indices) : base(r =>
internal override bool SupportsBody => true;
///
- /// Specific routing value
+ /// Custom value used to route operations to a specific shard.
///
[JsonIgnore]
public Elastic.Clients.Elasticsearch.Routing? Routing { get => Q("routing"); set => Q("routing", value); }
///
- /// Explicit operation timeout
+ /// Specifies the period of time to wait for a response from each shard.
If no response is received before the timeout expires, the request fails and returns an error.
Defaults to no timeout.
///
[JsonIgnore]
public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); }
+
+ ///
+ /// Specifies or more fields from which you want to extract terms that are associated with the specified vertices.
+ ///
[JsonInclude, JsonPropertyName("connections")]
public Elastic.Clients.Elasticsearch.Graph.Hop? Connections { get; set; }
+
+ ///
+ /// Direct the Graph API how to build the graph.
+ ///
[JsonInclude, JsonPropertyName("controls")]
public Elastic.Clients.Elasticsearch.Graph.ExploreControls? Controls { get; set; }
+
+ ///
+ /// A seed query that identifies the documents of interest. Can be any valid Elasticsearch query.
+ ///
[JsonInclude, JsonPropertyName("query")]
public Elastic.Clients.Elasticsearch.QueryDsl.Query? Query { get; set; }
+
+ ///
+ /// Specifies one or more fields that contain the terms you want to include in the graph as vertices.
+ ///
[JsonInclude, JsonPropertyName("vertices")]
public ICollection? Vertices { get; set; }
}
///
-/// Explore extracted and summarized information about the documents and terms in an index.
+/// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index.
///
public sealed partial class ExploreRequestDescriptor : RequestDescriptor, ExploreRequestParameters>
{
@@ -122,6 +138,9 @@ public ExploreRequestDescriptor Indices(Elastic.Clients.Elasticsearch
private Action> VerticesDescriptorAction { get; set; }
private Action>[] VerticesDescriptorActions { get; set; }
+ ///
+ /// Specifies or more fields from which you want to extract terms that are associated with the specified vertices.
+ ///
public ExploreRequestDescriptor Connections(Elastic.Clients.Elasticsearch.Graph.Hop? connections)
{
ConnectionsDescriptor = null;
@@ -146,6 +165,9 @@ public ExploreRequestDescriptor Connections(Action
+ /// Direct the Graph API how to build the graph.
+ ///
public ExploreRequestDescriptor Controls(Elastic.Clients.Elasticsearch.Graph.ExploreControls? controls)
{
ControlsDescriptor = null;
@@ -170,6 +192,9 @@ public ExploreRequestDescriptor Controls(Action
+ /// A seed query that identifies the documents of interest. Can be any valid Elasticsearch query.
+ ///
public ExploreRequestDescriptor Query(Elastic.Clients.Elasticsearch.QueryDsl.Query? query)
{
QueryDescriptor = null;
@@ -194,6 +219,9 @@ public ExploreRequestDescriptor Query(Action
+ /// Specifies one or more fields that contain the terms you want to include in the graph as vertices.
+ ///
public ExploreRequestDescriptor Vertices(ICollection? vertices)
{
VerticesDescriptor = null;
@@ -317,7 +345,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Explore extracted and summarized information about the documents and terms in an index.
+/// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index.
///
public sealed partial class ExploreRequestDescriptor : RequestDescriptor
{
@@ -360,6 +388,9 @@ public ExploreRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Indices in
private Action VerticesDescriptorAction { get; set; }
private Action[] VerticesDescriptorActions { get; set; }
+ ///
+ /// Specifies or more fields from which you want to extract terms that are associated with the specified vertices.
+ ///
public ExploreRequestDescriptor Connections(Elastic.Clients.Elasticsearch.Graph.Hop? connections)
{
ConnectionsDescriptor = null;
@@ -384,6 +415,9 @@ public ExploreRequestDescriptor Connections(Action configure)
return Self;
}
+ ///
+ /// Direct the Graph API how to build the graph.
+ ///
public ExploreRequestDescriptor Controls(Elastic.Clients.Elasticsearch.Graph.ExploreControls? controls)
{
ControlsDescriptor = null;
@@ -408,6 +442,9 @@ public ExploreRequestDescriptor Controls(Action confi
return Self;
}
+ ///
+ /// A seed query that identifies the documents of interest. Can be any valid Elasticsearch query.
+ ///
public ExploreRequestDescriptor Query(Elastic.Clients.Elasticsearch.QueryDsl.Query? query)
{
QueryDescriptor = null;
@@ -432,6 +469,9 @@ public ExploreRequestDescriptor Query(Action configure
return Self;
}
+ ///
+ /// Specifies one or more fields that contain the terms you want to include in the graph as vertices.
+ ///
public ExploreRequestDescriptor Vertices(ICollection? vertices)
{
VerticesDescriptor = null;
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloneIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloneIndexRequest.g.cs
index b5c83cc9559..01bcaec3387 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloneIndexRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloneIndexRequest.g.cs
@@ -32,23 +32,23 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement;
public sealed class CloneIndexRequestParameters : RequestParameters
{
///
- /// Specify timeout for connection to master
+ /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
///
public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); }
///
- /// Explicit operation timeout
+ /// Period to wait for a response.
If no response is received before the timeout expires, the request fails and returns an error.
///
public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); }
///
- /// Set the number of active shards to wait for on the cloned index before the operation returns.
+ /// The number of shard copies that must be active before proceeding with the operation.
Set to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).
///
public Elastic.Clients.Elasticsearch.WaitForActiveShards? WaitForActiveShards { get => Q("wait_for_active_shards"); set => Q("wait_for_active_shards", value); }
}
///
-/// Clones an index
+/// Clones an existing index.
///
public sealed partial class CloneIndexRequest : PlainRequest
{
@@ -63,30 +63,38 @@ public CloneIndexRequest(Elastic.Clients.Elasticsearch.IndexName index, Elastic.
internal override bool SupportsBody => true;
///
- /// Specify timeout for connection to master
+ /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
///
[JsonIgnore]
public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); }
///
- /// Explicit operation timeout
+ /// Period to wait for a response.
If no response is received before the timeout expires, the request fails and returns an error.
///
[JsonIgnore]
public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); }
///
- /// Set the number of active shards to wait for on the cloned index before the operation returns.
+ /// The number of shard copies that must be active before proceeding with the operation.
Set to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).
///
[JsonIgnore]
public Elastic.Clients.Elasticsearch.WaitForActiveShards? WaitForActiveShards { get => Q("wait_for_active_shards"); set => Q("wait_for_active_shards", value); }
+
+ ///
+ /// Aliases for the resulting index.
+ ///
[JsonInclude, JsonPropertyName("aliases")]
public IDictionary? Aliases { get; set; }
+
+ ///
+ /// Configuration options for the target index.
+ ///
[JsonInclude, JsonPropertyName("settings")]
public IDictionary? Settings { get; set; }
}
///
-/// Clones an index
+/// Clones an existing index.
///
public sealed partial class CloneIndexRequestDescriptor : RequestDescriptor, CloneIndexRequestParameters>
{
@@ -125,12 +133,18 @@ public CloneIndexRequestDescriptor Target(Elastic.Clients.Elasticsear
private IDictionary? AliasesValue { get; set; }
private IDictionary? SettingsValue { get; set; }
+ ///
+ /// Aliases for the resulting index.
+ ///
public CloneIndexRequestDescriptor Aliases(Func, FluentDictionary> selector)
{
AliasesValue = selector?.Invoke(new FluentDictionary());
return Self;
}
+ ///
+ /// Configuration options for the target index.
+ ///
public CloneIndexRequestDescriptor Settings(Func, FluentDictionary> selector)
{
SettingsValue = selector?.Invoke(new FluentDictionary());
@@ -157,7 +171,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Clones an index
+/// Clones an existing index.
///
public sealed partial class CloneIndexRequestDescriptor : RequestDescriptor
{
@@ -196,12 +210,18 @@ public CloneIndexRequestDescriptor Target(Elastic.Clients.Elasticsearch.Name tar
private IDictionary? AliasesValue { get; set; }
private IDictionary? SettingsValue { get; set; }
+ ///
+ /// Aliases for the resulting index.
+ ///
public CloneIndexRequestDescriptor Aliases(Func, FluentDictionary> selector)
{
AliasesValue = selector?.Invoke(new FluentDictionary());
return Self;
}
+ ///
+ /// Configuration options for the target index.
+ ///
public CloneIndexRequestDescriptor Settings(Func, FluentDictionary> selector)
{
SettingsValue = selector?.Invoke(new FluentDictionary());
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloseIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloseIndexRequest.g.cs
index 767c87c0a2d..46f43861244 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloseIndexRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloseIndexRequest.g.cs
@@ -32,32 +32,32 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement;
public sealed class CloseIndexRequestParameters : RequestParameters
{
///
- /// Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)
+ /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
///
public bool? AllowNoIndices { get => Q("allow_no_indices"); set => Q("allow_no_indices", value); }
///
- /// Whether to expand wildcard expression to concrete indices that are open, closed or both.
+ /// Type of index that wildcard patterns can match.
If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.
Supports comma-separated values, such as `open,hidden`.
Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
///
public ICollection? ExpandWildcards { get => Q?>("expand_wildcards"); set => Q("expand_wildcards", value); }
///
- /// Whether specified concrete indices should be ignored when unavailable (missing or closed)
+ /// If `false`, the request returns an error if it targets a missing or closed index.
///
public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); }
///
- /// Specify timeout for connection to master
+ /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
///
public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); }
///
- /// Explicit operation timeout
+ /// Period to wait for a response.
If no response is received before the timeout expires, the request fails and returns an error.
///
public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); }
///
- /// Sets the number of active shards to wait for before the operation returns.
+ /// The number of shard copies that must be active before proceeding with the operation.
Set to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).
///
public Elastic.Clients.Elasticsearch.WaitForActiveShards? WaitForActiveShards { get => Q("wait_for_active_shards"); set => Q("wait_for_active_shards", value); }
}
@@ -78,37 +78,37 @@ public CloseIndexRequest(Elastic.Clients.Elasticsearch.Indices indices) : base(r
internal override bool SupportsBody => false;
///
- /// Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)
+ /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
///
[JsonIgnore]
public bool? AllowNoIndices { get => Q("allow_no_indices"); set => Q("allow_no_indices", value); }
///
- /// Whether to expand wildcard expression to concrete indices that are open, closed or both.
+ /// Type of index that wildcard patterns can match.
If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.
Supports comma-separated values, such as `open,hidden`.
Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
///
[JsonIgnore]
public ICollection? ExpandWildcards { get => Q?>("expand_wildcards"); set => Q("expand_wildcards", value); }
///
- /// Whether specified concrete indices should be ignored when unavailable (missing or closed)
+ /// If `false`, the request returns an error if it targets a missing or closed index.
///
[JsonIgnore]
public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); }
///
- /// Specify timeout for connection to master
+ /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
///
[JsonIgnore]
public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); }
///
- /// Explicit operation timeout
+ /// Period to wait for a response.
If no response is received before the timeout expires, the request fails and returns an error.
///
[JsonIgnore]
public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); }
///
- /// Sets the number of active shards to wait for before the operation returns.
+ /// The number of shard copies that must be active before proceeding with the operation.
Set to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).
///
[JsonIgnore]
public Elastic.Clients.Elasticsearch.WaitForActiveShards? WaitForActiveShards { get => Q("wait_for_active_shards"); set => Q("wait_for_active_shards", value); }
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateDataStreamRequest.g.cs
index db42ce2c76c..63571d47686 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateDataStreamRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateDataStreamRequest.g.cs
@@ -34,7 +34,7 @@ public sealed class CreateDataStreamRequestParameters : RequestParameters
}
///
-/// Creates a data stream
+/// Creates a data stream.
You must have a matching index template with data stream enabled.
///
public sealed partial class CreateDataStreamRequest : PlainRequest
{
@@ -50,7 +50,7 @@ public CreateDataStreamRequest(Elastic.Clients.Elasticsearch.DataStreamName name
}
///
-/// Creates 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/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs
index d869d5198c9..38ea70951eb 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs
@@ -32,23 +32,23 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement;
public sealed class CreateIndexRequestParameters : RequestParameters
{
///
- /// Specify timeout for connection to master
+ /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
///
public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); }
///
- /// Explicit operation timeout
+ /// Period to wait for a response.
If no response is received before the timeout expires, the request fails and returns an error.
///
public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); }
///
- /// Set the number of active shards to wait for before the operation returns.
+ /// The number of shard copies that must be active before proceeding with the operation.
Set to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).
///
public Elastic.Clients.Elasticsearch.WaitForActiveShards? WaitForActiveShards { get => Q("wait_for_active_shards"); set => Q("wait_for_active_shards", value); }
}
///
-/// Creates an index with optional settings and mappings.
+/// Creates a new index.
///
public sealed partial class CreateIndexRequest : PlainRequest
{
@@ -63,22 +63,26 @@ public CreateIndexRequest(Elastic.Clients.Elasticsearch.IndexName index) : base(
internal override bool SupportsBody => true;
///
- /// Specify timeout for connection to master
+ /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
///
[JsonIgnore]
public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); }
///
- /// Explicit operation timeout
+ /// Period to wait for a response.
If no response is received before the timeout expires, the request fails and returns an error.
///
[JsonIgnore]
public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); }
///
- /// Set the number of active shards to wait for before the operation returns.
+ /// The number of shard copies that must be active before proceeding with the operation.
Set to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).
///
[JsonIgnore]
public Elastic.Clients.Elasticsearch.WaitForActiveShards? WaitForActiveShards { get => Q("wait_for_active_shards"); set => Q("wait_for_active_shards", value); }
+
+ ///
+ /// Aliases for the index.
+ ///
[JsonInclude, JsonPropertyName("aliases")]
public IDictionary? Aliases { get; set; }
@@ -87,12 +91,16 @@ public CreateIndexRequest(Elastic.Clients.Elasticsearch.IndexName index) : base(
///
[JsonInclude, JsonPropertyName("mappings")]
public Elastic.Clients.Elasticsearch.Mapping.TypeMapping? Mappings { get; set; }
+
+ ///
+ /// Configuration options for the index.
+ ///
[JsonInclude, JsonPropertyName("settings")]
public Elastic.Clients.Elasticsearch.IndexManagement.IndexSettings? Settings { get; set; }
}
///
-/// Creates an index with optional settings and mappings.
+/// Creates a new index.
///
public sealed partial class CreateIndexRequestDescriptor : RequestDescriptor, CreateIndexRequestParameters>
{
@@ -161,6 +169,9 @@ public CreateIndexRequestDescriptor Mappings(Action
+ /// Configuration options for the index.
+ ///
public CreateIndexRequestDescriptor Settings(Elastic.Clients.Elasticsearch.IndexManagement.IndexSettings? settings)
{
SettingsDescriptor = null;
@@ -185,6 +196,9 @@ public CreateIndexRequestDescriptor Settings(Action
+ /// Aliases for the index.
+ ///
public CreateIndexRequestDescriptor Aliases(Func, FluentDictionary> selector)
{
AliasesValue = selector?.Invoke(new FluentDictionary());
@@ -237,7 +251,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Creates an index with optional settings and mappings.
+/// Creates a new index.
///
public sealed partial class CreateIndexRequestDescriptor : RequestDescriptor
{
@@ -302,6 +316,9 @@ public CreateIndexRequestDescriptor Mappings(Action
+ /// Configuration options for the index.
+ ///
public CreateIndexRequestDescriptor Settings(Elastic.Clients.Elasticsearch.IndexManagement.IndexSettings? settings)
{
SettingsDescriptor = null;
@@ -326,6 +343,9 @@ public CreateIndexRequestDescriptor Settings(Action con
return Self;
}
+ ///
+ /// Aliases for the index.
+ ///
public CreateIndexRequestDescriptor Aliases(Func, FluentDictionary> selector)
{
AliasesValue = selector?.Invoke(new FluentDictionary());
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs
index ebef10fce5a..cb523e46285 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs
@@ -32,18 +32,18 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement;
public sealed class DeleteAliasRequestParameters : RequestParameters
{
///
- /// Specify timeout for connection to master
+ /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
///
public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); }
///
- /// Explicit timestamp for the document
+ /// Period to wait for a response.
If no response is received before the timeout expires, the request fails and returns an error.
///
public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); }
}
///
-/// Deletes an alias.
+/// Removes a data stream or index from an alias.
///
public sealed partial class DeleteAliasRequest : PlainRequest
{
@@ -58,20 +58,20 @@ public DeleteAliasRequest(Elastic.Clients.Elasticsearch.Indices indices, Elastic
internal override bool SupportsBody => false;
///
- /// Specify timeout for connection to master
+ /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
///
[JsonIgnore]
public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); }
///
- /// Explicit timestamp for the document
+ /// Period to wait for a response.
If no response is received before the timeout expires, the request fails and returns an error.
///
[JsonIgnore]
public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); }
}
///
-/// Deletes an alias.
+/// Removes a data stream or index from an alias.
///
public sealed partial class DeleteAliasRequestDescriptor : RequestDescriptor, DeleteAliasRequestParameters>
{
@@ -112,7 +112,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Deletes an alias.
+/// Removes a data stream or index from an alias.
///
public sealed partial class DeleteAliasRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs
index 373cf07edc4..4b4a787c7cb 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs
@@ -32,13 +32,13 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement;
public sealed class DeleteDataStreamRequestParameters : RequestParameters
{
///
- /// Whether wildcard expressions should get expanded to open or closed indices (default: open)
+ /// Type of data stream that wildcard patterns can match. Supports comma-separated values,such as `open,hidden`.
///
public ICollection? ExpandWildcards { get => Q?>("expand_wildcards"); set => Q("expand_wildcards", value); }
}
///
-/// Deletes a data stream.
+/// Deletes one or more data streams and their backing indices.
///
public sealed partial class DeleteDataStreamRequest : PlainRequest
{
@@ -53,14 +53,14 @@ public DeleteDataStreamRequest(Elastic.Clients.Elasticsearch.DataStreamNames nam
internal override bool SupportsBody => false;
///
- /// Whether wildcard expressions should get expanded to open or closed indices (default: open)
+ /// Type of data stream that wildcard patterns can match. Supports comma-separated values,such as `open,hidden`.
///
[JsonIgnore]
public ICollection? ExpandWildcards { get => Q?>("expand_wildcards"); set => Q("expand_wildcards", value); }
}
///
-/// Deletes a data stream.
+/// Deletes one or more data streams and their backing indices.
///
public sealed partial class DeleteDataStreamRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs
index 6b7765cb9a3..c86249cf2f5 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs
@@ -32,33 +32,33 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement;
public sealed class DeleteIndexRequestParameters : RequestParameters
{
///
- /// Ignore if a wildcard expression resolves to no concrete indices (default: false)
+ /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
///
public bool? AllowNoIndices { get => Q("allow_no_indices"); set => Q("allow_no_indices", value); }
///
- /// Whether wildcard expressions should get expanded to open, closed, or hidden indices
+ /// Type of index that wildcard patterns can match.
If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.
Supports comma-separated values, such as `open,hidden`.
Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
///
public ICollection? ExpandWildcards { get => Q?>("expand_wildcards"); set => Q("expand_wildcards", value); }
///
- /// Ignore unavailable indexes (default: false)
+ /// If `false`, the request returns an error if it targets a missing or closed index.
///
public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); }
///
- /// Specify timeout for connection to master
+ /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
///
public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); }
///
- /// Explicit operation timeout
+ /// Period to wait for a response.
If no response is received before the timeout expires, the request fails and returns an error.
///
public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); }
}
///
-/// Deletes an index.
+/// Deletes one or more indices.
///
public sealed partial class DeleteIndexRequest : PlainRequest
{
@@ -73,38 +73,38 @@ public DeleteIndexRequest(Elastic.Clients.Elasticsearch.Indices indices) : base(
internal override bool SupportsBody => false;
///
- /// Ignore if a wildcard expression resolves to no concrete indices (default: false)
+ /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
///
[JsonIgnore]
public bool? AllowNoIndices { get => Q("allow_no_indices"); set => Q("allow_no_indices", value); }
///
- /// Whether wildcard expressions should get expanded to open, closed, or hidden indices
+ /// Type of index that wildcard patterns can match.
If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.
Supports comma-separated values, such as `open,hidden`.
Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
///
[JsonIgnore]
public ICollection? ExpandWildcards { get => Q?>("expand_wildcards"); set => Q("expand_wildcards", value); }
///
- /// Ignore unavailable indexes (default: false)
+ /// If `false`, the request returns an error if it targets a missing or closed index.
///
[JsonIgnore]
public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); }
///
- /// Specify timeout for connection to master
+ /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
///
[JsonIgnore]
public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); }
///
- /// Explicit operation timeout
+ /// Period to wait for a response.
If no response is received before the timeout expires, the request fails and returns an error.
///
[JsonIgnore]
public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); }
}
///
-/// Deletes an index.
+/// Deletes one or more indices.
///
public sealed partial class DeleteIndexRequestDescriptor : RequestDescriptor, DeleteIndexRequestParameters>
{
@@ -142,7 +142,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Deletes an index.
+/// Deletes one or more indices.
///
public sealed partial class DeleteIndexRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteTemplateRequest.g.cs
index 15a7c90c101..832b803f50d 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteTemplateRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteTemplateRequest.g.cs
@@ -32,18 +32,18 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement;
public sealed class DeleteTemplateRequestParameters : RequestParameters
{
///
- /// Specify timeout for connection to master
+ /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
///
public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); }
///
- /// Explicit operation timeout
+ /// Period to wait for a response.
If no response is received before the timeout expires, the request fails and returns an error.
///
public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); }
}
///
-/// Deletes an index template.
+/// Deletes a legacy index template.
///
public sealed partial class DeleteTemplateRequest : PlainRequest
{
@@ -58,20 +58,20 @@ public DeleteTemplateRequest(Elastic.Clients.Elasticsearch.Name name) : base(r =
internal override bool SupportsBody => false;
///
- /// Specify timeout for connection to master
+ /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
///
[JsonIgnore]
public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); }
///
- /// Explicit operation timeout
+ /// Period to wait for a response.
If no response is received before the timeout expires, the request fails and returns an error.
///
[JsonIgnore]
public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); }
}
///
-/// Deletes an index template.
+/// Deletes a legacy index template.
///
public sealed partial class DeleteTemplateRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs
index 31071e8449f..957d571a869 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs
@@ -32,28 +32,28 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement;
public sealed class ExistsAliasRequestParameters : RequestParameters
{
///
- /// Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)
+ /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
///
public bool? AllowNoIndices { get => Q("allow_no_indices"); set => Q("allow_no_indices", value); }
///
- /// Whether to expand wildcard expression to concrete indices that are open, closed or both.
+ /// Type of index that wildcard patterns can match.
If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.
Supports comma-separated values, such as `open,hidden`.
Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
///
public ICollection? ExpandWildcards { get => Q?>("expand_wildcards"); set => Q("expand_wildcards", value); }
///
- /// Whether specified concrete indices should be ignored when unavailable (missing or closed)
+ /// If `false`, requests that include a missing data stream or index in the target indices or data streams return an error.
///
public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); }
///
- /// Return local information, do not retrieve the state from master node (default: false)
+ /// If `true`, the request retrieves information from the local node only.
///
public bool? Local { get => Q("local"); set => Q("local", value); }
}
///
-/// Returns information about whether a particular alias exists.
+/// Checks if an alias exists.
///
public sealed partial class ExistsAliasRequest : PlainRequest
{
@@ -72,32 +72,32 @@ public ExistsAliasRequest(Elastic.Clients.Elasticsearch.Indices? indices, Elasti
internal override bool SupportsBody => false;
///
- /// Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)
+ /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
///
[JsonIgnore]
public bool? AllowNoIndices { get => Q("allow_no_indices"); set => Q("allow_no_indices", value); }
///
- /// Whether to expand wildcard expression to concrete indices that are open, closed or both.
+ /// Type of index that wildcard patterns can match.
If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.
Supports comma-separated values, such as `open,hidden`.
Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
///
[JsonIgnore]
public ICollection? ExpandWildcards { get => Q?>("expand_wildcards"); set => Q("expand_wildcards", value); }
///
- /// Whether specified concrete indices should be ignored when unavailable (missing or closed)
+ /// If `false`, requests that include a missing data stream or index in the target indices or data streams return an error.
///
[JsonIgnore]
public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); }
///
- /// Return local information, do not retrieve the state from master node (default: false)
+ /// If `true`, the request retrieves information from the local node only.
///
[JsonIgnore]
public bool? Local { get => Q("local"); set => Q("local", value); }
}
///
-/// Returns information about whether a particular alias exists.
+/// Checks if an alias exists.
///
public sealed partial class ExistsAliasRequestDescriptor : RequestDescriptor, ExistsAliasRequestParameters>
{
@@ -144,7 +144,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Returns information about whether a particular alias exists.
+/// Checks if an alias exists.
///
public sealed partial class ExistsAliasRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsRequest.g.cs
index 839e4a7f3d9..ef23386747e 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsRequest.g.cs
@@ -32,38 +32,38 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement;
public sealed class ExistsRequestParameters : RequestParameters
{
///
- /// Ignore if a wildcard expression resolves to no concrete indices (default: false)
+ /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
///
public bool? AllowNoIndices { get => Q("allow_no_indices"); set => Q("allow_no_indices", value); }
///
- /// Whether wildcard expressions should get expanded to open or closed indices (default: open)
+ /// Type of index that wildcard patterns can match.
If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.
Supports comma-separated values, such as `open,hidden`.
Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
///
public ICollection? ExpandWildcards { get => Q?>("expand_wildcards"); set => Q("expand_wildcards", value); }
///
- /// Return settings in flat format (default: false)
+ /// If `true`, returns settings in flat format.
///
public bool? FlatSettings { get => Q("flat_settings"); set => Q("flat_settings", value); }
///
- /// Ignore unavailable indexes (default: false)
+ /// If `false`, the request returns an error if it targets a missing or closed index.
///
public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); }
///
- /// Whether to return all default setting for each of the indices.
+ /// If `true`, return all default settings in the response.
///
public bool? IncludeDefaults { get => Q("include_defaults"); set => Q("include_defaults", value); }
///
- /// Return local information, do not retrieve the state from master node (default: false)
+ /// If `true`, the request retrieves information from the local node only.
///
public bool? Local { get => Q("local"); set => Q("local", value); }
}
///
-/// Returns information about whether a particular index exists.
+/// Checks if a data stream, index, or alias exists.
///
public sealed partial class ExistsRequest : PlainRequest
{
@@ -78,44 +78,44 @@ public ExistsRequest(Elastic.Clients.Elasticsearch.Indices indices) : base(r =>
internal override bool SupportsBody => false;
///
- /// Ignore if a wildcard expression resolves to no concrete indices (default: false)
+ /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
///
[JsonIgnore]
public bool? AllowNoIndices { get => Q("allow_no_indices"); set => Q("allow_no_indices", value); }
///
- /// Whether wildcard expressions should get expanded to open or closed indices (default: open)
+ /// Type of index that wildcard patterns can match.
If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.
Supports comma-separated values, such as `open,hidden`.
Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
///
[JsonIgnore]
public ICollection? ExpandWildcards { get => Q?>("expand_wildcards"); set => Q("expand_wildcards", value); }
///
- /// Return settings in flat format (default: false)
+ /// If `true`, returns settings in flat format.
///
[JsonIgnore]
public bool? FlatSettings { get => Q("flat_settings"); set => Q("flat_settings", value); }
///
- /// Ignore unavailable indexes (default: false)
+ /// If `false`, the request returns an error if it targets a missing or closed index.
///
[JsonIgnore]
public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); }
///
- /// Whether to return all default setting for each of the indices.
+ /// If `true`, return all default settings in the response.
///
[JsonIgnore]
public bool? IncludeDefaults { get => Q("include_defaults"); set => Q("include_defaults", value); }
///
- /// Return local information, do not retrieve the state from master node (default: false)
+ /// If `true`, the request retrieves information from the local node only.
///
[JsonIgnore]
public bool? Local { get => Q("local"); set => Q("local", value); }
}
///
-/// Returns information about whether a particular index exists.
+/// Checks if a data stream, index, or alias exists.
///
public sealed partial class ExistsRequestDescriptor : RequestDescriptor, ExistsRequestParameters>
{
@@ -154,7 +154,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-/// Returns information about whether a particular index exists.
+/// Checks if a data stream, index, or alias exists.
///
public sealed partial class ExistsRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/FlushRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/FlushRequest.g.cs
index 3ac058236ec..d85e1199c85 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/FlushRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/FlushRequest.g.cs
@@ -32,33 +32,33 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement;
public sealed class FlushRequestParameters : RequestParameters
{
///
- /// Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)
+ /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
///
public bool? AllowNoIndices { get => Q("allow_no_indices"); set => Q("allow_no_indices", value); }
///
- /// Whether to expand wildcard expression to concrete indices that are open, closed or both.
+ /// Type of index that wildcard patterns can match.
If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.
Supports comma-separated values, such as `open,hidden`.
Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
///
public ICollection? ExpandWildcards { get => Q?>("expand_wildcards"); set => Q("expand_wildcards", value); }
///
- /// Whether a flush should be forced even if it is not necessarily needed ie. if no changes will be committed to the index. This is useful if transaction log IDs should be incremented even if no uncommitted changes are present. (This setting can be considered as internal)
+ /// If `true`, the request forces a flush even if there are no changes to commit to the index.
///
public bool? Force { get => Q("force"); set => Q("force", value); }
///
- /// Whether specified concrete indices should be ignored when unavailable (missing or closed)
+ /// If `false`, the request returns an error if it targets a missing or closed index.
///
public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); }
///
- /// If set to true the flush operation will block until the flush can be executed if another flush operation is already executing. The default is true. If set to false the flush will be skipped iff if another flush operation is already running.
+ /// If `true`, the flush operation blocks until execution when another flush operation is running.
If `false`, Elasticsearch returns an error if you request a flush when another flush operation is running.
///
public bool? WaitIfOngoing { get => Q("wait_if_ongoing"); set => Q("wait_if_ongoing", value); }
}
///
-/// Performs the flush operation on one or more indices.
+/// Flushes one or more data streams or indices.
///
public sealed partial class FlushRequest : PlainRequest
{
@@ -77,38 +77,38 @@ public FlushRequest(Elastic.Clients.Elasticsearch.Indices? indices) : base(r =>
internal override bool SupportsBody => false;
///
- /// Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)
+ /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
///
[JsonIgnore]
public bool? AllowNoIndices { get => Q("allow_no_indices"); set => Q("allow_no_indices", value); }
///
- /// Whether to expand wildcard expression to concrete indices that are open, closed or both.
+ /// Type of index that wildcard patterns can match.
If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.
Supports comma-separated values, such as `open,hidden`.
Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
///
[JsonIgnore]
public ICollection? ExpandWildcards { get => Q?>("expand_wildcards"); set => Q("expand_wildcards", value); }
///
- /// Whether a flush should be forced even if it is not necessarily needed ie. if no changes will be committed to the index. This is useful if transaction log IDs should be incremented even if no uncommitted changes are present. (This setting can be considered as internal)
+ /// If `true`, the request forces a flush even if there are no changes to commit to the index.
///
[JsonIgnore]
public bool? Force { get => Q("force"); set => Q("force", value); }
///
- /// Whether specified concrete indices should be ignored when unavailable (missing or closed)
+ /// If `false`, the request returns an error if it targets a missing or closed index.
///
[JsonIgnore]
public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); }
///
- /// If set to true the flush operation will block until the flush can be executed if another flush operation is already executing. The default is true. If set to false the flush will be skipped iff if another flush operation is already running.
+ /// If `true`, the flush operation blocks until execution when another flush operation is running.
If `false`, Elasticsearch returns an error if you request a flush when another flush operation is running.
///
[JsonIgnore]
public bool? WaitIfOngoing { get => Q("wait_if_ongoing"); set => Q("wait_if_ongoing", value); }
}
///
-/// Performs the flush operation on one or more indices.
+/// Flushes one or more data streams or indices.
///
public sealed partial class FlushRequestDescriptor : RequestDescriptor, FlushRequestParameters>
{
@@ -142,7 +142,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
}
///
-///