diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CountRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CountRequest.g.cs
index 9bf9e3aef7f..99181f041b5 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CountRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CountRequest.g.cs
@@ -52,7 +52,7 @@ public sealed partial class CountRequestParameters : Elastic.Transport.RequestPa
///
///
- /// The default operator for query string query: AND or OR.
+ /// The default operator for query string query: and or or.
/// This parameter can be used only when the q query string parameter is specified.
///
///
@@ -227,7 +227,7 @@ internal CountRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstructo
///
///
- /// The default operator for query string query: AND or OR.
+ /// The default operator for query string query: and or or.
/// This parameter can be used only when the q query string parameter is specified.
///
///
@@ -419,7 +419,7 @@ public Elastic.Clients.Elasticsearch.CountRequestDescriptor AnalyzeWildcard(bool
///
///
- /// The default operator for query string query: AND or OR.
+ /// The default operator for query string query: and or or.
/// This parameter can be used only when the q query string parameter is specified.
///
///
@@ -751,7 +751,7 @@ public Elastic.Clients.Elasticsearch.CountRequestDescriptor AnalyzeWi
///
///
- /// The default operator for query string query: AND or OR.
+ /// The default operator for query string query: and or or.
/// This parameter can be used only when the q query string parameter is specified.
///
///
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRequest.g.cs
index 5a951967d07..21f2b25432a 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRequest.g.cs
@@ -59,7 +59,7 @@ public sealed partial class DeleteByQueryRequestParameters : Elastic.Transport.R
///
///
- /// The default operator for query string query: AND or OR.
+ /// The default operator for query string query: and or or.
/// This parameter can be used only when the q query string parameter is specified.
///
///
@@ -466,7 +466,7 @@ internal DeleteByQueryRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCo
///
///
- /// The default operator for query string query: AND or OR.
+ /// The default operator for query string query: and or or.
/// This parameter can be used only when the q query string parameter is specified.
///
///
@@ -915,7 +915,7 @@ public Elastic.Clients.Elasticsearch.DeleteByQueryRequestDescriptor Conflicts(El
///
///
- /// The default operator for query string query: AND or OR.
+ /// The default operator for query string query: and or or.
/// This parameter can be used only when the q query string parameter is specified.
///
///
@@ -1645,7 +1645,7 @@ public Elastic.Clients.Elasticsearch.DeleteByQueryRequestDescriptor C
///
///
- /// The default operator for query string query: AND or OR.
+ /// The default operator for query string query: and or or.
/// This parameter can be used only when the q query string parameter is specified.
///
///
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExplainRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExplainRequest.g.cs
index f57d8ed8657..811c45e11fe 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExplainRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExplainRequest.g.cs
@@ -43,7 +43,7 @@ public sealed partial class ExplainRequestParameters : Elastic.Transport.Request
///
///
- /// The default operator for query string query: AND or OR.
+ /// The default operator for query string query: and or or.
/// This parameter can be used only when the q query string parameter is specified.
///
///
@@ -195,7 +195,7 @@ internal ExplainRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstruc
///
///
- /// The default operator for query string query: AND or OR.
+ /// The default operator for query string query: and or or.
/// This parameter can be used only when the q query string parameter is specified.
///
///
@@ -360,7 +360,7 @@ public Elastic.Clients.Elasticsearch.ExplainRequestDescriptor AnalyzeWildcard(bo
///
///
- /// The default operator for query string query: AND or OR.
+ /// The default operator for query string query: and or or.
/// This parameter can be used only when the q query string parameter is specified.
///
///
@@ -721,7 +721,7 @@ public Elastic.Clients.Elasticsearch.ExplainRequestDescriptor Analyze
///
///
- /// The default operator for query string query: AND or OR.
+ /// The default operator for query string query: and or or.
/// This parameter can be used only when the q query string parameter is specified.
///
///
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/IndicesStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/IndicesStatsRequest.g.cs
index 49ab77f4a81..9667b47d0db 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/IndicesStatsRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/IndicesStatsRequest.g.cs
@@ -85,7 +85,7 @@ public sealed partial class IndicesStatsRequestParameters : Elastic.Transport.Re
///
///
- /// Indicates whether statistics are aggregated at the cluster, index, or shard level.
+ /// Indicates whether statistics are aggregated at the cluster, indices, or shards level.
///
///
public Elastic.Clients.Elasticsearch.Level? Level { get => Q("level"); set => Q("level", value); }
@@ -221,7 +221,7 @@ internal IndicesStatsRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCon
///
///
- /// Indicates whether statistics are aggregated at the cluster, index, or shard level.
+ /// Indicates whether statistics are aggregated at the cluster, indices, or shards level.
///
///
public Elastic.Clients.Elasticsearch.Level? Level { get => Q("level"); set => Q("level", value); }
@@ -449,7 +449,7 @@ public Elastic.Clients.Elasticsearch.IndexManagement.IndicesStatsRequestDescript
///
///
- /// Indicates whether statistics are aggregated at the cluster, index, or shard level.
+ /// Indicates whether statistics are aggregated at the cluster, indices, or shards level.
///
///
public Elastic.Clients.Elasticsearch.IndexManagement.IndicesStatsRequestDescriptor Level(Elastic.Clients.Elasticsearch.Level? value)
@@ -736,7 +736,7 @@ public Elastic.Clients.Elasticsearch.IndexManagement.IndicesStatsRequestDescript
///
///
- /// Indicates whether statistics are aggregated at the cluster, index, or shard level.
+ /// Indicates whether statistics are aggregated at the cluster, indices, or shards level.
///
///
public Elastic.Clients.Elasticsearch.IndexManagement.IndicesStatsRequestDescriptor Level(Elastic.Clients.Elasticsearch.Level? value)
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ValidateQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ValidateQueryRequest.g.cs
index b80d1f74e53..3a7a9af5709 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ValidateQueryRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ValidateQueryRequest.g.cs
@@ -57,7 +57,7 @@ public sealed partial class ValidateQueryRequestParameters : Elastic.Transport.R
///
///
- /// The default operator for query string query: AND or OR.
+ /// The default operator for query string query: and or or.
///
///
public Elastic.Clients.Elasticsearch.QueryDsl.Operator? DefaultOperator { get => Q("default_operator"); set => Q("default_operator", value); }
@@ -192,7 +192,7 @@ internal ValidateQueryRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCo
///
///
- /// The default operator for query string query: AND or OR.
+ /// The default operator for query string query: and or or.
///
///
public Elastic.Clients.Elasticsearch.QueryDsl.Operator? DefaultOperator { get => Q("default_operator"); set => Q("default_operator", value); }
@@ -347,7 +347,7 @@ public Elastic.Clients.Elasticsearch.IndexManagement.ValidateQueryRequestDescrip
///
///
- /// The default operator for query string query: AND or OR.
+ /// The default operator for query string query: and or or.
///
///
public Elastic.Clients.Elasticsearch.IndexManagement.ValidateQueryRequestDescriptor DefaultOperator(Elastic.Clients.Elasticsearch.QueryDsl.Operator? value)
@@ -628,7 +628,7 @@ public Elastic.Clients.Elasticsearch.IndexManagement.ValidateQueryRequestDescrip
///
///
- /// The default operator for query string query: AND or OR.
+ /// The default operator for query string query: and or or.
///
///
public Elastic.Clients.Elasticsearch.IndexManagement.ValidateQueryRequestDescriptor DefaultOperator(Elastic.Clients.Elasticsearch.QueryDsl.Operator? value)
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesStatsRequest.g.cs
index aed238b6e10..425cda6efe4 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesStatsRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesStatsRequest.g.cs
@@ -69,7 +69,7 @@ public sealed partial class NodesStatsRequestParameters : Elastic.Transport.Requ
///
///
- /// Indicates whether statistics are aggregated at the cluster, index, or shard level.
+ /// Indicates whether statistics are aggregated at the node, indices, or shards level.
///
///
public Elastic.Clients.Elasticsearch.Level? Level { get => Q("level"); set => Q("level", value); }
@@ -207,7 +207,7 @@ internal NodesStatsRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConst
///
///
- /// Indicates whether statistics are aggregated at the cluster, index, or shard level.
+ /// Indicates whether statistics are aggregated at the node, indices, or shards level.
///
///
public Elastic.Clients.Elasticsearch.Level? Level { get => Q("level"); set => Q("level", value); }
@@ -411,7 +411,7 @@ public Elastic.Clients.Elasticsearch.Nodes.NodesStatsRequestDescriptor IncludeUn
///
///
- /// Indicates whether statistics are aggregated at the cluster, index, or shard level.
+ /// Indicates whether statistics are aggregated at the node, indices, or shards level.
///
///
public Elastic.Clients.Elasticsearch.Nodes.NodesStatsRequestDescriptor Level(Elastic.Clients.Elasticsearch.Level? value)
@@ -693,7 +693,7 @@ public Elastic.Clients.Elasticsearch.Nodes.NodesStatsRequestDescriptor
///
- /// Indicates whether statistics are aggregated at the cluster, index, or shard level.
+ /// Indicates whether statistics are aggregated at the node, indices, or shards level.
///
///
public Elastic.Clients.Elasticsearch.Nodes.NodesStatsRequestDescriptor Level(Elastic.Clients.Elasticsearch.Level? value)
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRequest.Converters.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRequest.Converters.g.cs
index af8a58f4051..d51bbea7176 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRequest.Converters.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRequest.Converters.g.cs
@@ -29,7 +29,6 @@ public sealed partial class ReindexRequestConverter : System.Text.Json.Serializa
private static readonly System.Text.Json.JsonEncodedText PropDest = System.Text.Json.JsonEncodedText.Encode("dest");
private static readonly System.Text.Json.JsonEncodedText PropMaxDocs = System.Text.Json.JsonEncodedText.Encode("max_docs");
private static readonly System.Text.Json.JsonEncodedText PropScript = System.Text.Json.JsonEncodedText.Encode("script");
- private static readonly System.Text.Json.JsonEncodedText PropSize = System.Text.Json.JsonEncodedText.Encode("size");
private static readonly System.Text.Json.JsonEncodedText PropSource = System.Text.Json.JsonEncodedText.Encode("source");
public override Elastic.Clients.Elasticsearch.ReindexRequest Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options)
@@ -39,7 +38,6 @@ public override Elastic.Clients.Elasticsearch.ReindexRequest Read(ref System.Tex
LocalJsonValue propDest = default;
LocalJsonValue propMaxDocs = default;
LocalJsonValue propScript = default;
- LocalJsonValue propSize = default;
LocalJsonValue propSource = default;
while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName)
{
@@ -63,11 +61,6 @@ public override Elastic.Clients.Elasticsearch.ReindexRequest Read(ref System.Tex
continue;
}
- if (propSize.TryReadProperty(ref reader, options, PropSize, static long? (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadNullableValue(o)))
- {
- continue;
- }
-
if (propSource.TryReadProperty(ref reader, options, PropSource, null))
{
continue;
@@ -89,7 +82,6 @@ public override Elastic.Clients.Elasticsearch.ReindexRequest Read(ref System.Tex
Dest = propDest.Value,
MaxDocs = propMaxDocs.Value,
Script = propScript.Value,
- Size = propSize.Value,
Source = propSource.Value
};
}
@@ -101,7 +93,6 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien
writer.WriteProperty(options, PropDest, value.Dest, null, null);
writer.WriteProperty(options, PropMaxDocs, value.MaxDocs, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, long? v) => w.WriteNullableValue(o, v));
writer.WriteProperty(options, PropScript, value.Script, null, null);
- writer.WriteProperty(options, PropSize, value.Size, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, long? v) => w.WriteNullableValue(o, v));
writer.WriteProperty(options, PropSource, value.Source, null, null);
writer.WriteEndObject();
}
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRequest.g.cs
index 0fdab2184cf..47f04dcc9cb 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRequest.g.cs
@@ -537,7 +537,6 @@ internal ReindexRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstruc
///
///
public Elastic.Clients.Elasticsearch.Script? Script { get; set; }
- public long? Size { get; set; }
///
///
@@ -1074,12 +1073,6 @@ public Elastic.Clients.Elasticsearch.ReindexRequestDescriptor Script(System.Acti
return this;
}
- public Elastic.Clients.Elasticsearch.ReindexRequestDescriptor Size(long? value)
- {
- Instance.Size = value;
- return this;
- }
-
///
///
/// The source you are copying from.
@@ -1687,12 +1680,6 @@ public Elastic.Clients.Elasticsearch.ReindexRequestDescriptor Script(
return this;
}
- public Elastic.Clients.Elasticsearch.ReindexRequestDescriptor Size(long? value)
- {
- Instance.Size = value;
- return this;
- }
-
///
///
/// The source you are copying from.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchRequest.g.cs
index e0083991194..514b1924c78 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchRequest.g.cs
@@ -78,7 +78,7 @@ public sealed partial class SearchRequestParameters : Elastic.Transport.RequestP
///
///
- /// The default operator for the query string query: AND or OR.
+ /// The default operator for the query string query: and or or.
/// This parameter can be used only when the q query string parameter is specified.
///
///
@@ -458,7 +458,7 @@ internal SearchRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstruct
///
///
- /// The default operator for the query string query: AND or OR.
+ /// The default operator for the query string query: and or or.
/// This parameter can be used only when the q query string parameter is specified.
///
///
@@ -1136,7 +1136,7 @@ public Elastic.Clients.Elasticsearch.SearchRequestDescriptor CcsMinimizeRoundtri
///
///
- /// The default operator for the query string query: AND or OR.
+ /// The default operator for the query string query: and or or.
/// This parameter can be used only when the q query string parameter is specified.
///
///
@@ -2892,7 +2892,7 @@ public Elastic.Clients.Elasticsearch.SearchRequestDescriptor CcsMinim
///
///
- /// The default operator for the query string query: AND or OR.
+ /// The default operator for the query string query: and or or.
/// This parameter can be used only when the q query string parameter is specified.
///
///
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/TranslateResponse.Converters.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/TranslateResponse.Converters.g.cs
index 91f44975881..c611d813c1a 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/TranslateResponse.Converters.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/TranslateResponse.Converters.g.cs
@@ -31,6 +31,7 @@ public sealed partial class TranslateResponseConverter : System.Text.Json.Serial
private static readonly System.Text.Json.JsonEncodedText PropSize = System.Text.Json.JsonEncodedText.Encode("size");
private static readonly System.Text.Json.JsonEncodedText PropSort = System.Text.Json.JsonEncodedText.Encode("sort");
private static readonly System.Text.Json.JsonEncodedText PropSource = System.Text.Json.JsonEncodedText.Encode("_source");
+ private static readonly System.Text.Json.JsonEncodedText PropTrackTotalHits = System.Text.Json.JsonEncodedText.Encode("track_total_hits");
public override Elastic.Clients.Elasticsearch.Sql.TranslateResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options)
{
@@ -41,6 +42,7 @@ public override Elastic.Clients.Elasticsearch.Sql.TranslateResponse Read(ref Sys
LocalJsonValue propSize = default;
LocalJsonValue?> propSort = default;
LocalJsonValue propSource = default;
+ LocalJsonValue propTrackTotalHits = default;
while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName)
{
if (propAggregations.TryReadProperty(ref reader, options, PropAggregations, static System.Collections.Generic.IReadOnlyDictionary? (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)))
@@ -73,6 +75,11 @@ public override Elastic.Clients.Elasticsearch.Sql.TranslateResponse Read(ref Sys
continue;
}
+ if (propTrackTotalHits.TryReadProperty(ref reader, options, PropTrackTotalHits, null))
+ {
+ continue;
+ }
+
if (options.UnmappedMemberHandling is System.Text.Json.Serialization.JsonUnmappedMemberHandling.Skip)
{
reader.SafeSkip();
@@ -90,7 +97,8 @@ public override Elastic.Clients.Elasticsearch.Sql.TranslateResponse Read(ref Sys
Query = propQuery.Value,
Size = propSize.Value,
Sort = propSort.Value,
- Source = propSource.Value
+ Source = propSource.Value,
+ TrackTotalHits = propTrackTotalHits.Value
};
}
@@ -103,6 +111,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien
writer.WriteProperty(options, PropSize, value.Size, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, long? v) => w.WriteNullableValue(o, v));
writer.WriteProperty(options, PropSort, value.Sort, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection? v) => w.WriteSingleOrManyCollectionValue(o, v, null));
writer.WriteProperty(options, PropSource, value.Source, null, null);
+ writer.WriteProperty(options, PropTrackTotalHits, value.TrackTotalHits, null, null);
writer.WriteEndObject();
}
}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/TranslateResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/TranslateResponse.g.cs
index 2da5d5dfafd..0e0c13697b3 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/TranslateResponse.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/TranslateResponse.g.cs
@@ -43,4 +43,5 @@ internal TranslateResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConst
public long? Size { get; set; }
public System.Collections.Generic.ICollection? Sort { get; set; }
public Elastic.Clients.Elasticsearch.Core.Search.SourceConfig? Source { get; set; }
+ public Elastic.Clients.Elasticsearch.Core.Search.TrackHits? TrackTotalHits { get; set; }
}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Streams/StreamsStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Streams/StreamsStatusRequest.g.cs
index 04826b15969..b300cb146cb 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Streams/StreamsStatusRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Streams/StreamsStatusRequest.g.cs
@@ -30,7 +30,7 @@ public sealed partial class StreamsStatusRequestParameters : Elastic.Transport.R
/// 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.TimeUnit? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); }
+ public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); }
}
///
@@ -73,7 +73,7 @@ internal StreamsStatusRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCo
/// 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.TimeUnit? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); }
+ public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); }
}
///
@@ -107,7 +107,7 @@ public StreamsStatusRequestDescriptor()
/// 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.Streams.StreamsStatusRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.TimeUnit? value)
+ public Elastic.Clients.Elasticsearch.Streams.StreamsStatusRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Duration? value)
{
Instance.MasterTimeout = value;
return this;
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRequest.g.cs
index ddb071a1f61..9ca35d9f51a 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRequest.g.cs
@@ -52,7 +52,7 @@ public sealed partial class UpdateByQueryRequestParameters : Elastic.Transport.R
///
///
- /// The default operator for query string query: AND or OR.
+ /// The default operator for query string query: and or or.
/// This parameter can be used only when the q query string parameter is specified.
///
///
@@ -484,7 +484,7 @@ internal UpdateByQueryRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCo
///
///
- /// The default operator for query string query: AND or OR.
+ /// The default operator for query string query: and or or.
/// This parameter can be used only when the q query string parameter is specified.
///
///
@@ -961,7 +961,7 @@ public Elastic.Clients.Elasticsearch.UpdateByQueryRequestDescriptor AnalyzeWildc
///
///
- /// The default operator for query string query: AND or OR.
+ /// The default operator for query string query: and or or.
/// This parameter can be used only when the q query string parameter is specified.
///
///
@@ -1723,7 +1723,7 @@ public Elastic.Clients.Elasticsearch.UpdateByQueryRequestDescriptor A
///
///
- /// The default operator for query string query: AND or OR.
+ /// The default operator for query string query: and or or.
/// This parameter can be used only when the q query string parameter is specified.
///
///
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/AggregateDictionary.Converters.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/AggregateDictionary.Converters.g.cs
index f993d2a12c8..8b4298d3fdb 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/AggregateDictionary.Converters.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/AggregateDictionary.Converters.g.cs
@@ -70,6 +70,9 @@ internal static void ReadItem(ref System.Text.Json.Utf8JsonReader reader, System
"boxplot" => reader.ReadValue(options, null),
"bucket_metric_value" => reader.ReadValue(options, null),
"cardinality" => reader.ReadValue(options, null),
+ "cartesian_bounds" => reader.ReadValue(options, null),
+ "cartesian_centroid" => reader.ReadValue(options, null),
+ "change_point" => reader.ReadValue(options, null),
"children" => reader.ReadValue(options, null),
"composite" => reader.ReadValue(options, null),
"date_histogram" => reader.ReadValue(options, null),
@@ -161,6 +164,15 @@ internal static void WriteItem(System.Text.Json.Utf8JsonWriter writer, System.Te
case Elastic.Clients.Elasticsearch.Aggregations.CardinalityAggregate v:
writer.WriteProperty(options, key, v, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, string v) => w.WritePropertyName(o, v), static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, Elastic.Clients.Elasticsearch.Aggregations.CardinalityAggregate v) => w.WritePropertyName(o, v));
break;
+ case Elastic.Clients.Elasticsearch.Aggregations.CartesianBoundsAggregate v:
+ writer.WriteProperty(options, key, v, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, string v) => w.WritePropertyName(o, v), static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, Elastic.Clients.Elasticsearch.Aggregations.CartesianBoundsAggregate v) => w.WritePropertyName(o, v));
+ break;
+ case Elastic.Clients.Elasticsearch.Aggregations.CartesianCentroidAggregate v:
+ writer.WriteProperty(options, key, v, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, string v) => w.WritePropertyName(o, v), static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, Elastic.Clients.Elasticsearch.Aggregations.CartesianCentroidAggregate v) => w.WritePropertyName(o, v));
+ break;
+ case Elastic.Clients.Elasticsearch.Aggregations.ChangePointAggregate v:
+ writer.WriteProperty(options, key, v, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, string v) => w.WritePropertyName(o, v), static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, Elastic.Clients.Elasticsearch.Aggregations.ChangePointAggregate v) => w.WritePropertyName(o, v));
+ break;
case Elastic.Clients.Elasticsearch.Aggregations.ChildrenAggregate v:
writer.WriteProperty(options, key, v, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, string v) => w.WritePropertyName(o, v), static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, Elastic.Clients.Elasticsearch.Aggregations.ChildrenAggregate v) => w.WritePropertyName(o, v));
break;
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/AggregateDictionary.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/AggregateDictionary.g.cs
index 2f4cb92fa5b..aad88904b48 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/AggregateDictionary.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/AggregateDictionary.g.cs
@@ -50,6 +50,9 @@ public bool TryGetAggregate(string key, [System.Diagnostics.CodeAnalysis.NotN
public Elastic.Clients.Elasticsearch.Aggregations.BoxplotAggregate? GetBoxplot(string key) => TryGet(key);
public Elastic.Clients.Elasticsearch.Aggregations.BucketMetricValueAggregate? GetBucketMetricValue(string key) => TryGet(key);
public Elastic.Clients.Elasticsearch.Aggregations.CardinalityAggregate? GetCardinality(string key) => TryGet(key);
+ public Elastic.Clients.Elasticsearch.Aggregations.CartesianBoundsAggregate? GetCartesianBounds(string key) => TryGet(key);
+ public Elastic.Clients.Elasticsearch.Aggregations.CartesianCentroidAggregate? GetCartesianCentroid(string key) => TryGet(key);
+ public Elastic.Clients.Elasticsearch.Aggregations.ChangePointAggregate? GetChangePoint(string key) => TryGet(key);
public Elastic.Clients.Elasticsearch.Aggregations.ChildrenAggregate? GetChildren(string key) => TryGet(key);
public Elastic.Clients.Elasticsearch.Aggregations.CompositeAggregate? GetComposite(string key) => TryGet(key);
public Elastic.Clients.Elasticsearch.Aggregations.DateHistogramAggregate? GetDateHistogram(string key) => TryGet(key);
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Aggregation.Converters.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Aggregation.Converters.g.cs
index c93b97e433e..3c74354eb5d 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Aggregation.Converters.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Aggregation.Converters.g.cs
@@ -39,7 +39,10 @@ public sealed partial class AggregationConverter : System.Text.Json.Serializatio
private static readonly System.Text.Json.JsonEncodedText VariantBucketSelector = System.Text.Json.JsonEncodedText.Encode("bucket_selector");
private static readonly System.Text.Json.JsonEncodedText VariantBucketSort = System.Text.Json.JsonEncodedText.Encode("bucket_sort");
private static readonly System.Text.Json.JsonEncodedText VariantCardinality = System.Text.Json.JsonEncodedText.Encode("cardinality");
+ private static readonly System.Text.Json.JsonEncodedText VariantCartesianBounds = System.Text.Json.JsonEncodedText.Encode("cartesian_bounds");
+ private static readonly System.Text.Json.JsonEncodedText VariantCartesianCentroid = System.Text.Json.JsonEncodedText.Encode("cartesian_centroid");
private static readonly System.Text.Json.JsonEncodedText VariantCategorizeText = System.Text.Json.JsonEncodedText.Encode("categorize_text");
+ private static readonly System.Text.Json.JsonEncodedText VariantChangePoint = System.Text.Json.JsonEncodedText.Encode("change_point");
private static readonly System.Text.Json.JsonEncodedText VariantChildren = System.Text.Json.JsonEncodedText.Encode("children");
private static readonly System.Text.Json.JsonEncodedText VariantComposite = System.Text.Json.JsonEncodedText.Encode("composite");
private static readonly System.Text.Json.JsonEncodedText VariantCumulativeCardinality = System.Text.Json.JsonEncodedText.Encode("cumulative_cardinality");
@@ -53,6 +56,7 @@ public sealed partial class AggregationConverter : System.Text.Json.Serializatio
private static readonly System.Text.Json.JsonEncodedText VariantFilter = System.Text.Json.JsonEncodedText.Encode("filter");
private static readonly System.Text.Json.JsonEncodedText VariantFilters = System.Text.Json.JsonEncodedText.Encode("filters");
private static readonly System.Text.Json.JsonEncodedText VariantFrequentItemSets = System.Text.Json.JsonEncodedText.Encode("frequent_item_sets");
+ private static readonly System.Text.Json.JsonEncodedText VariantFrequentItemSets1 = System.Text.Json.JsonEncodedText.Encode("frequent_items");
private static readonly System.Text.Json.JsonEncodedText VariantGeoBounds = System.Text.Json.JsonEncodedText.Encode("geo_bounds");
private static readonly System.Text.Json.JsonEncodedText VariantGeoCentroid = System.Text.Json.JsonEncodedText.Encode("geo_centroid");
private static readonly System.Text.Json.JsonEncodedText VariantGeoDistance = System.Text.Json.JsonEncodedText.Encode("geo_distance");
@@ -213,6 +217,22 @@ public override Elastic.Clients.Elasticsearch.Aggregations.Aggregation Read(ref
continue;
}
+ if (reader.ValueTextEquals(VariantCartesianBounds))
+ {
+ variantType = VariantCartesianBounds.Value;
+ reader.Read();
+ variant = reader.ReadValue(options, null);
+ continue;
+ }
+
+ if (reader.ValueTextEquals(VariantCartesianCentroid))
+ {
+ variantType = VariantCartesianCentroid.Value;
+ reader.Read();
+ variant = reader.ReadValue(options, null);
+ continue;
+ }
+
if (reader.ValueTextEquals(VariantCategorizeText))
{
variantType = VariantCategorizeText.Value;
@@ -221,6 +241,14 @@ public override Elastic.Clients.Elasticsearch.Aggregations.Aggregation Read(ref
continue;
}
+ if (reader.ValueTextEquals(VariantChangePoint))
+ {
+ variantType = VariantChangePoint.Value;
+ reader.Read();
+ variant = reader.ReadValue(options, null);
+ continue;
+ }
+
if (reader.ValueTextEquals(VariantChildren))
{
variantType = VariantChildren.Value;
@@ -317,7 +345,7 @@ public override Elastic.Clients.Elasticsearch.Aggregations.Aggregation Read(ref
continue;
}
- if (reader.ValueTextEquals(VariantFrequentItemSets))
+ if (reader.ValueTextEquals(VariantFrequentItemSets) || reader.ValueTextEquals(VariantFrequentItemSets1))
{
variantType = VariantFrequentItemSets.Value;
reader.Read();
@@ -800,9 +828,18 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien
case "cardinality":
writer.WriteProperty(options, value.VariantType, (Elastic.Clients.Elasticsearch.Aggregations.CardinalityAggregation)value.Variant, null, null);
break;
+ case "cartesian_bounds":
+ writer.WriteProperty(options, value.VariantType, (Elastic.Clients.Elasticsearch.Aggregations.CartesianBoundsAggregation)value.Variant, null, null);
+ break;
+ case "cartesian_centroid":
+ writer.WriteProperty(options, value.VariantType, (Elastic.Clients.Elasticsearch.Aggregations.CartesianCentroidAggregation)value.Variant, null, null);
+ break;
case "categorize_text":
writer.WriteProperty(options, value.VariantType, (Elastic.Clients.Elasticsearch.Aggregations.CategorizeTextAggregation)value.Variant, null, null);
break;
+ case "change_point":
+ writer.WriteProperty(options, value.VariantType, (Elastic.Clients.Elasticsearch.Aggregations.ChangePointAggregation)value.Variant, null, null);
+ break;
case "children":
writer.WriteProperty(options, value.VariantType, (Elastic.Clients.Elasticsearch.Aggregations.ChildrenAggregation)value.Variant, null, null);
break;
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Aggregation.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Aggregation.g.cs
index 97fc65d1d6b..c08f0024d75 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Aggregation.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Aggregation.g.cs
@@ -124,6 +124,20 @@ internal Aggregation(Elastic.Clients.Elasticsearch.Serialization.JsonConstructor
///
public Elastic.Clients.Elasticsearch.Aggregations.CardinalityAggregation? Cardinality { get => GetVariant("cardinality"); set => SetVariant("cardinality", value); }
+ ///
+ ///
+ /// A metric aggregation that computes the spatial bounding box containing all values for a Point or Shape field.
+ ///
+ ///
+ public Elastic.Clients.Elasticsearch.Aggregations.CartesianBoundsAggregation? CartesianBounds { get => GetVariant("cartesian_bounds"); set => SetVariant("cartesian_bounds", value); }
+
+ ///
+ ///
+ /// A metric aggregation that computes the weighted centroid from all coordinate values for point and shape fields.
+ ///
+ ///
+ public Elastic.Clients.Elasticsearch.Aggregations.CartesianCentroidAggregation? CartesianCentroid { get => GetVariant("cartesian_centroid"); set => SetVariant("cartesian_centroid", value); }
+
///
///
/// A multi-bucket aggregation that groups semi-structured text into buckets.
@@ -131,6 +145,17 @@ internal Aggregation(Elastic.Clients.Elasticsearch.Serialization.JsonConstructor
///
public Elastic.Clients.Elasticsearch.Aggregations.CategorizeTextAggregation? CategorizeText { get => GetVariant("categorize_text"); set => SetVariant("categorize_text", value); }
+ ///
+ ///
+ /// A sibling pipeline that detects, spikes, dips, and change points in a metric.
+ /// Given a distribution of values provided by the sibling multi-bucket aggregation,
+ /// this aggregation indicates the bucket of any spike or dip and/or the bucket at which
+ /// the largest change in the distribution of values, if they are statistically significant.
+ /// There must be at least 22 bucketed values. Fewer than 1,000 is preferred.
+ ///
+ ///
+ public Elastic.Clients.Elasticsearch.Aggregations.ChangePointAggregation? ChangePoint { get => GetVariant("change_point"); set => SetVariant("change_point", value); }
+
///
///
/// A single bucket aggregation that selects child documents that have the specified type, as defined in a join field.
@@ -223,7 +248,7 @@ internal Aggregation(Elastic.Clients.Elasticsearch.Serialization.JsonConstructor
/// A bucket aggregation which finds frequent item sets, a form of association rules mining that identifies items that often occur together.
///
///
- public Elastic.Clients.Elasticsearch.Aggregations.FrequentItemSetsAggregation? FrequentItemSets { get => GetVariant("frequent_item_sets"); set => SetVariant("frequent_item_sets", value); }
+ public Elastic.Clients.Elasticsearch.Aggregations.FrequentItemSetsAggregation? FrequentItemSets { get => GetVariant(""); set => SetVariant("", value); }
///
///
@@ -614,7 +639,10 @@ internal Aggregation(Elastic.Clients.Elasticsearch.Serialization.JsonConstructor
public static implicit operator Elastic.Clients.Elasticsearch.Aggregations.Aggregation(Elastic.Clients.Elasticsearch.Aggregations.BucketSelectorAggregation value) => new Elastic.Clients.Elasticsearch.Aggregations.Aggregation { BucketSelector = value };
public static implicit operator Elastic.Clients.Elasticsearch.Aggregations.Aggregation(Elastic.Clients.Elasticsearch.Aggregations.BucketSortAggregation value) => new Elastic.Clients.Elasticsearch.Aggregations.Aggregation { BucketSort = value };
public static implicit operator Elastic.Clients.Elasticsearch.Aggregations.Aggregation(Elastic.Clients.Elasticsearch.Aggregations.CardinalityAggregation value) => new Elastic.Clients.Elasticsearch.Aggregations.Aggregation { Cardinality = value };
+ public static implicit operator Elastic.Clients.Elasticsearch.Aggregations.Aggregation(Elastic.Clients.Elasticsearch.Aggregations.CartesianBoundsAggregation value) => new Elastic.Clients.Elasticsearch.Aggregations.Aggregation { CartesianBounds = value };
+ public static implicit operator Elastic.Clients.Elasticsearch.Aggregations.Aggregation(Elastic.Clients.Elasticsearch.Aggregations.CartesianCentroidAggregation value) => new Elastic.Clients.Elasticsearch.Aggregations.Aggregation { CartesianCentroid = value };
public static implicit operator Elastic.Clients.Elasticsearch.Aggregations.Aggregation(Elastic.Clients.Elasticsearch.Aggregations.CategorizeTextAggregation value) => new Elastic.Clients.Elasticsearch.Aggregations.Aggregation { CategorizeText = value };
+ public static implicit operator Elastic.Clients.Elasticsearch.Aggregations.Aggregation(Elastic.Clients.Elasticsearch.Aggregations.ChangePointAggregation value) => new Elastic.Clients.Elasticsearch.Aggregations.Aggregation { ChangePoint = value };
public static implicit operator Elastic.Clients.Elasticsearch.Aggregations.Aggregation(Elastic.Clients.Elasticsearch.Aggregations.ChildrenAggregation value) => new Elastic.Clients.Elasticsearch.Aggregations.Aggregation { Children = value };
public static implicit operator Elastic.Clients.Elasticsearch.Aggregations.Aggregation(Elastic.Clients.Elasticsearch.Aggregations.CompositeAggregation value) => new Elastic.Clients.Elasticsearch.Aggregations.Aggregation { Composite = value };
public static implicit operator Elastic.Clients.Elasticsearch.Aggregations.Aggregation(Elastic.Clients.Elasticsearch.Aggregations.CumulativeCardinalityAggregation value) => new Elastic.Clients.Elasticsearch.Aggregations.Aggregation { CumulativeCardinality = value };
@@ -1078,6 +1106,72 @@ public Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor
+ ///
+ /// A metric aggregation that computes the spatial bounding box containing all values for a Point or Shape field.
+ ///
+ ///
+ public Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor CartesianBounds(Elastic.Clients.Elasticsearch.Aggregations.CartesianBoundsAggregation? value)
+ {
+ Instance.CartesianBounds = value;
+ return this;
+ }
+
+ ///
+ ///
+ /// A metric aggregation that computes the spatial bounding box containing all values for a Point or Shape field.
+ ///
+ ///
+ public Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor CartesianBounds()
+ {
+ Instance.CartesianBounds = Elastic.Clients.Elasticsearch.Aggregations.CartesianBoundsAggregationDescriptor.Build(null);
+ return this;
+ }
+
+ ///
+ ///
+ /// A metric aggregation that computes the spatial bounding box containing all values for a Point or Shape field.
+ ///
+ ///
+ public Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor CartesianBounds(System.Action>? action)
+ {
+ Instance.CartesianBounds = Elastic.Clients.Elasticsearch.Aggregations.CartesianBoundsAggregationDescriptor.Build(action);
+ return this;
+ }
+
+ ///
+ ///
+ /// A metric aggregation that computes the weighted centroid from all coordinate values for point and shape fields.
+ ///
+ ///
+ public Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor CartesianCentroid(Elastic.Clients.Elasticsearch.Aggregations.CartesianCentroidAggregation? value)
+ {
+ Instance.CartesianCentroid = value;
+ return this;
+ }
+
+ ///
+ ///
+ /// A metric aggregation that computes the weighted centroid from all coordinate values for point and shape fields.
+ ///
+ ///
+ public Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor CartesianCentroid()
+ {
+ Instance.CartesianCentroid = Elastic.Clients.Elasticsearch.Aggregations.CartesianCentroidAggregationDescriptor.Build(null);
+ return this;
+ }
+
+ ///
+ ///
+ /// A metric aggregation that computes the weighted centroid from all coordinate values for point and shape fields.
+ ///
+ ///
+ public Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor CartesianCentroid(System.Action>? action)
+ {
+ Instance.CartesianCentroid = Elastic.Clients.Elasticsearch.Aggregations.CartesianCentroidAggregationDescriptor.Build(action);
+ return this;
+ }
+
///
///
/// A multi-bucket aggregation that groups semi-structured text into buckets.
@@ -1100,6 +1194,51 @@ public Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor
+ ///
+ /// A sibling pipeline that detects, spikes, dips, and change points in a metric.
+ /// Given a distribution of values provided by the sibling multi-bucket aggregation,
+ /// this aggregation indicates the bucket of any spike or dip and/or the bucket at which
+ /// the largest change in the distribution of values, if they are statistically significant.
+ /// There must be at least 22 bucketed values. Fewer than 1,000 is preferred.
+ ///
+ ///
+ public Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor ChangePoint(Elastic.Clients.Elasticsearch.Aggregations.ChangePointAggregation? value)
+ {
+ Instance.ChangePoint = value;
+ return this;
+ }
+
+ ///
+ ///
+ /// A sibling pipeline that detects, spikes, dips, and change points in a metric.
+ /// Given a distribution of values provided by the sibling multi-bucket aggregation,
+ /// this aggregation indicates the bucket of any spike or dip and/or the bucket at which
+ /// the largest change in the distribution of values, if they are statistically significant.
+ /// There must be at least 22 bucketed values. Fewer than 1,000 is preferred.
+ ///
+ ///
+ public Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor ChangePoint()
+ {
+ Instance.ChangePoint = Elastic.Clients.Elasticsearch.Aggregations.ChangePointAggregationDescriptor.Build(null);
+ return this;
+ }
+
+ ///
+ ///
+ /// A sibling pipeline that detects, spikes, dips, and change points in a metric.
+ /// Given a distribution of values provided by the sibling multi-bucket aggregation,
+ /// this aggregation indicates the bucket of any spike or dip and/or the bucket at which
+ /// the largest change in the distribution of values, if they are statistically significant.
+ /// There must be at least 22 bucketed values. Fewer than 1,000 is preferred.
+ ///
+ ///
+ public Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor ChangePoint(System.Action? action)
+ {
+ Instance.ChangePoint = Elastic.Clients.Elasticsearch.Aggregations.ChangePointAggregationDescriptor.Build(action);
+ return this;
+ }
+
///
///
/// A single bucket aggregation that selects child documents that have the specified type, as defined in a join field.
@@ -3708,6 +3847,94 @@ public Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor Cardinal
return this;
}
+ ///
+ ///
+ /// A metric aggregation that computes the spatial bounding box containing all values for a Point or Shape field.
+ ///
+ ///
+ public Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor CartesianBounds(Elastic.Clients.Elasticsearch.Aggregations.CartesianBoundsAggregation? value)
+ {
+ Instance.CartesianBounds = value;
+ return this;
+ }
+
+ ///
+ ///
+ /// A metric aggregation that computes the spatial bounding box containing all values for a Point or Shape field.
+ ///
+ ///
+ public Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor CartesianBounds()
+ {
+ Instance.CartesianBounds = Elastic.Clients.Elasticsearch.Aggregations.CartesianBoundsAggregationDescriptor.Build(null);
+ return this;
+ }
+
+ ///
+ ///
+ /// A metric aggregation that computes the spatial bounding box containing all values for a Point or Shape field.
+ ///
+ ///
+ public Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor CartesianBounds(System.Action? action)
+ {
+ Instance.CartesianBounds = Elastic.Clients.Elasticsearch.Aggregations.CartesianBoundsAggregationDescriptor.Build(action);
+ return this;
+ }
+
+ ///
+ ///
+ /// A metric aggregation that computes the spatial bounding box containing all values for a Point or Shape field.
+ ///
+ ///
+ public Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor CartesianBounds(System.Action>? action)
+ {
+ Instance.CartesianBounds = Elastic.Clients.Elasticsearch.Aggregations.CartesianBoundsAggregationDescriptor.Build(action);
+ return this;
+ }
+
+ ///
+ ///
+ /// A metric aggregation that computes the weighted centroid from all coordinate values for point and shape fields.
+ ///
+ ///
+ public Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor CartesianCentroid(Elastic.Clients.Elasticsearch.Aggregations.CartesianCentroidAggregation? value)
+ {
+ Instance.CartesianCentroid = value;
+ return this;
+ }
+
+ ///
+ ///
+ /// A metric aggregation that computes the weighted centroid from all coordinate values for point and shape fields.
+ ///
+ ///
+ public Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor CartesianCentroid()
+ {
+ Instance.CartesianCentroid = Elastic.Clients.Elasticsearch.Aggregations.CartesianCentroidAggregationDescriptor.Build(null);
+ return this;
+ }
+
+ ///
+ ///
+ /// A metric aggregation that computes the weighted centroid from all coordinate values for point and shape fields.
+ ///
+ ///
+ public Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor CartesianCentroid(System.Action? action)
+ {
+ Instance.CartesianCentroid = Elastic.Clients.Elasticsearch.Aggregations.CartesianCentroidAggregationDescriptor.Build(action);
+ return this;
+ }
+
+ ///
+ ///
+ /// A metric aggregation that computes the weighted centroid from all coordinate values for point and shape fields.
+ ///
+ ///
+ public Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor CartesianCentroid(System.Action>? action)
+ {
+ Instance.CartesianCentroid = Elastic.Clients.Elasticsearch.Aggregations.CartesianCentroidAggregationDescriptor.Build(action);
+ return this;
+ }
+
///
///
/// A multi-bucket aggregation that groups semi-structured text into buckets.
@@ -3741,6 +3968,51 @@ public Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor Categori
return this;
}
+ ///
+ ///
+ /// A sibling pipeline that detects, spikes, dips, and change points in a metric.
+ /// Given a distribution of values provided by the sibling multi-bucket aggregation,
+ /// this aggregation indicates the bucket of any spike or dip and/or the bucket at which
+ /// the largest change in the distribution of values, if they are statistically significant.
+ /// There must be at least 22 bucketed values. Fewer than 1,000 is preferred.
+ ///
+ ///
+ public Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor ChangePoint(Elastic.Clients.Elasticsearch.Aggregations.ChangePointAggregation? value)
+ {
+ Instance.ChangePoint = value;
+ return this;
+ }
+
+ ///
+ ///
+ /// A sibling pipeline that detects, spikes, dips, and change points in a metric.
+ /// Given a distribution of values provided by the sibling multi-bucket aggregation,
+ /// this aggregation indicates the bucket of any spike or dip and/or the bucket at which
+ /// the largest change in the distribution of values, if they are statistically significant.
+ /// There must be at least 22 bucketed values. Fewer than 1,000 is preferred.
+ ///
+ ///
+ public Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor ChangePoint()
+ {
+ Instance.ChangePoint = Elastic.Clients.Elasticsearch.Aggregations.ChangePointAggregationDescriptor.Build(null);
+ return this;
+ }
+
+ ///
+ ///
+ /// A sibling pipeline that detects, spikes, dips, and change points in a metric.
+ /// Given a distribution of values provided by the sibling multi-bucket aggregation,
+ /// this aggregation indicates the bucket of any spike or dip and/or the bucket at which
+ /// the largest change in the distribution of values, if they are statistically significant.
+ /// There must be at least 22 bucketed values. Fewer than 1,000 is preferred.
+ ///
+ ///
+ public Elastic.Clients.Elasticsearch.Aggregations.AggregationDescriptor ChangePoint(System.Action? action)
+ {
+ Instance.ChangePoint = Elastic.Clients.Elasticsearch.Aggregations.ChangePointAggregationDescriptor.Build(action);
+ return this;
+ }
+
///
///
/// A single bucket aggregation that selects child documents that have the specified type, as defined in a join field.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/CartesianBoundsAggregate.Converters.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/CartesianBoundsAggregate.Converters.g.cs
new file mode 100644
index 00000000000..fc32cbdc6a1
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/CartesianBoundsAggregate.Converters.g.cs
@@ -0,0 +1,72 @@
+// 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.Linq;
+using Elastic.Clients.Elasticsearch.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.Aggregations.Json;
+
+public sealed partial class CartesianBoundsAggregateConverter : System.Text.Json.Serialization.JsonConverter
+{
+ private static readonly System.Text.Json.JsonEncodedText PropBounds = System.Text.Json.JsonEncodedText.Encode("bounds");
+ private static readonly System.Text.Json.JsonEncodedText PropMeta = System.Text.Json.JsonEncodedText.Encode("meta");
+
+ public override Elastic.Clients.Elasticsearch.Aggregations.CartesianBoundsAggregate Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options)
+ {
+ reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject);
+ LocalJsonValue propBounds = default;
+ LocalJsonValue?> propMeta = default;
+ while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName)
+ {
+ if (propBounds.TryReadProperty(ref reader, options, PropBounds, null))
+ {
+ continue;
+ }
+
+ if (propMeta.TryReadProperty(ref reader, options, PropMeta, static System.Collections.Generic.IReadOnlyDictionary? (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, static object (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadValueEx
public Elastic.Clients.Elasticsearch.Aggregations.Buckets? Filters { get; set; }
+ ///
+ ///
+ /// By default, the named filters aggregation returns the buckets as an object.
+ /// Set to false to return the buckets as an array of objects.
+ ///
+ ///
+ public bool? Keyed => false;
+
///
///
/// Set to true to add a bucket to the response which will contain all documents that do not match any of the given filters.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Indeterminable.Converters.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Indeterminable.Converters.g.cs
new file mode 100644
index 00000000000..0a43a0ca80e
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Indeterminable.Converters.g.cs
@@ -0,0 +1,63 @@
+// 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.Linq;
+using Elastic.Clients.Elasticsearch.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.Aggregations.Json;
+
+public sealed partial class IndeterminableConverter : System.Text.Json.Serialization.JsonConverter
+{
+ private static readonly System.Text.Json.JsonEncodedText PropReason = System.Text.Json.JsonEncodedText.Encode("reason");
+
+ public override Elastic.Clients.Elasticsearch.Aggregations.Indeterminable Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options)
+ {
+ reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject);
+ LocalJsonValue propReason = default;
+ while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName)
+ {
+ if (propReason.TryReadProperty(ref reader, options, PropReason, null))
+ {
+ continue;
+ }
+
+ if (options.UnmappedMemberHandling is System.Text.Json.Serialization.JsonUnmappedMemberHandling.Skip)
+ {
+ reader.SafeSkip();
+ continue;
+ }
+
+ throw new System.Text.Json.JsonException($"Unknown JSON property '{reader.GetString()}' for type '{typeToConvert.Name}'.");
+ }
+
+ reader.ValidateToken(System.Text.Json.JsonTokenType.EndObject);
+ return new Elastic.Clients.Elasticsearch.Aggregations.Indeterminable(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance)
+ {
+ Reason = propReason.Value
+ };
+ }
+
+ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Aggregations.Indeterminable value, System.Text.Json.JsonSerializerOptions options)
+ {
+ writer.WriteStartObject();
+ writer.WriteProperty(options, PropReason, value.Reason, null, null);
+ writer.WriteEndObject();
+ }
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Indeterminable.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Indeterminable.g.cs
new file mode 100644
index 00000000000..5dc54027a5d
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Indeterminable.g.cs
@@ -0,0 +1,56 @@
+// 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.Linq;
+using Elastic.Clients.Elasticsearch.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.Aggregations;
+
+[System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Aggregations.Json.IndeterminableConverter))]
+public sealed partial class Indeterminable
+{
+ [System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
+ public Indeterminable(string reason)
+ {
+ Reason = reason;
+ }
+#if NET7_0_OR_GREATER
+ public Indeterminable()
+ {
+ }
+#endif
+#if !NET7_0_OR_GREATER
+ [System.Obsolete("The type contains required properties that must be initialized. Please use an alternative constructor to ensure all required values are properly set.")]
+ public Indeterminable()
+ {
+ }
+#endif
+ [System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
+ internal Indeterminable(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel sentinel)
+ {
+ _ = sentinel;
+ }
+
+ public
+#if NET7_0_OR_GREATER
+ required
+#endif
+ string Reason { get; set; }
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/NonStationary.Converters.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/NonStationary.Converters.g.cs
new file mode 100644
index 00000000000..a01dcffe169
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/NonStationary.Converters.g.cs
@@ -0,0 +1,81 @@
+// 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.Linq;
+using Elastic.Clients.Elasticsearch.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.Aggregations.Json;
+
+public sealed partial class NonStationaryConverter : System.Text.Json.Serialization.JsonConverter
+{
+ private static readonly System.Text.Json.JsonEncodedText PropPValue = System.Text.Json.JsonEncodedText.Encode("p_value");
+ private static readonly System.Text.Json.JsonEncodedText PropRValue = System.Text.Json.JsonEncodedText.Encode("r_value");
+ private static readonly System.Text.Json.JsonEncodedText PropTrend = System.Text.Json.JsonEncodedText.Encode("trend");
+
+ public override Elastic.Clients.Elasticsearch.Aggregations.NonStationary Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options)
+ {
+ reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject);
+ LocalJsonValue propPValue = default;
+ LocalJsonValue propRValue = default;
+ LocalJsonValue propTrend = default;
+ while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName)
+ {
+ if (propPValue.TryReadProperty(ref reader, options, PropPValue, null))
+ {
+ continue;
+ }
+
+ if (propRValue.TryReadProperty(ref reader, options, PropRValue, null))
+ {
+ continue;
+ }
+
+ if (propTrend.TryReadProperty(ref reader, options, PropTrend, null))
+ {
+ continue;
+ }
+
+ if (options.UnmappedMemberHandling is System.Text.Json.Serialization.JsonUnmappedMemberHandling.Skip)
+ {
+ reader.SafeSkip();
+ continue;
+ }
+
+ throw new System.Text.Json.JsonException($"Unknown JSON property '{reader.GetString()}' for type '{typeToConvert.Name}'.");
+ }
+
+ reader.ValidateToken(System.Text.Json.JsonTokenType.EndObject);
+ return new Elastic.Clients.Elasticsearch.Aggregations.NonStationary(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance)
+ {
+ PValue = propPValue.Value,
+ RValue = propRValue.Value,
+ Trend = propTrend.Value
+ };
+ }
+
+ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Aggregations.NonStationary value, System.Text.Json.JsonSerializerOptions options)
+ {
+ writer.WriteStartObject();
+ writer.WriteProperty(options, PropPValue, value.PValue, null, null);
+ writer.WriteProperty(options, PropRValue, value.RValue, null, null);
+ writer.WriteProperty(options, PropTrend, value.Trend, null, null);
+ writer.WriteEndObject();
+ }
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/NonStationary.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/NonStationary.g.cs
new file mode 100644
index 00000000000..34d6c85c0c2
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/NonStationary.g.cs
@@ -0,0 +1,68 @@
+// 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.Linq;
+using Elastic.Clients.Elasticsearch.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.Aggregations;
+
+[System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Aggregations.Json.NonStationaryConverter))]
+public sealed partial class NonStationary
+{
+ [System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
+ public NonStationary(double pValue, double rValue, string trend)
+ {
+ PValue = pValue;
+ RValue = rValue;
+ Trend = trend;
+ }
+#if NET7_0_OR_GREATER
+ public NonStationary()
+ {
+ }
+#endif
+#if !NET7_0_OR_GREATER
+ [System.Obsolete("The type contains required properties that must be initialized. Please use an alternative constructor to ensure all required values are properly set.")]
+ public NonStationary()
+ {
+ }
+#endif
+ [System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
+ internal NonStationary(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel sentinel)
+ {
+ _ = sentinel;
+ }
+
+ public
+#if NET7_0_OR_GREATER
+ required
+#endif
+ double PValue { get; set; }
+ public
+#if NET7_0_OR_GREATER
+ required
+#endif
+ double RValue { get; set; }
+ public
+#if NET7_0_OR_GREATER
+ required
+#endif
+ string Trend { get; set; }
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Spike.Converters.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Spike.Converters.g.cs
new file mode 100644
index 00000000000..10a37a65d54
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Spike.Converters.g.cs
@@ -0,0 +1,72 @@
+// 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.Linq;
+using Elastic.Clients.Elasticsearch.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.Aggregations.Json;
+
+public sealed partial class SpikeConverter : System.Text.Json.Serialization.JsonConverter
+{
+ private static readonly System.Text.Json.JsonEncodedText PropChangePoint = System.Text.Json.JsonEncodedText.Encode("change_point");
+ private static readonly System.Text.Json.JsonEncodedText PropPValue = System.Text.Json.JsonEncodedText.Encode("p_value");
+
+ public override Elastic.Clients.Elasticsearch.Aggregations.Spike Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options)
+ {
+ reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject);
+ LocalJsonValue propChangePoint = default;
+ LocalJsonValue propPValue = default;
+ while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName)
+ {
+ if (propChangePoint.TryReadProperty(ref reader, options, PropChangePoint, null))
+ {
+ continue;
+ }
+
+ if (propPValue.TryReadProperty(ref reader, options, PropPValue, null))
+ {
+ continue;
+ }
+
+ if (options.UnmappedMemberHandling is System.Text.Json.Serialization.JsonUnmappedMemberHandling.Skip)
+ {
+ reader.SafeSkip();
+ continue;
+ }
+
+ throw new System.Text.Json.JsonException($"Unknown JSON property '{reader.GetString()}' for type '{typeToConvert.Name}'.");
+ }
+
+ reader.ValidateToken(System.Text.Json.JsonTokenType.EndObject);
+ return new Elastic.Clients.Elasticsearch.Aggregations.Spike(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance)
+ {
+ ChangePoint = propChangePoint.Value,
+ PValue = propPValue.Value
+ };
+ }
+
+ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Aggregations.Spike value, System.Text.Json.JsonSerializerOptions options)
+ {
+ writer.WriteStartObject();
+ writer.WriteProperty(options, PropChangePoint, value.ChangePoint, null, null);
+ writer.WriteProperty(options, PropPValue, value.PValue, null, null);
+ writer.WriteEndObject();
+ }
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Spike.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Spike.g.cs
new file mode 100644
index 00000000000..7221ea4cba5
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Spike.g.cs
@@ -0,0 +1,62 @@
+// 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.Linq;
+using Elastic.Clients.Elasticsearch.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.Aggregations;
+
+[System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Aggregations.Json.SpikeConverter))]
+public sealed partial class Spike
+{
+ [System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
+ public Spike(int changePoint, double pValue)
+ {
+ ChangePoint = changePoint;
+ PValue = pValue;
+ }
+#if NET7_0_OR_GREATER
+ public Spike()
+ {
+ }
+#endif
+#if !NET7_0_OR_GREATER
+ [System.Obsolete("The type contains required properties that must be initialized. Please use an alternative constructor to ensure all required values are properly set.")]
+ public Spike()
+ {
+ }
+#endif
+ [System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
+ internal Spike(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel sentinel)
+ {
+ _ = sentinel;
+ }
+
+ public
+#if NET7_0_OR_GREATER
+ required
+#endif
+ int ChangePoint { get; set; }
+ public
+#if NET7_0_OR_GREATER
+ required
+#endif
+ double PValue { get; set; }
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Stationary.Converters.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Stationary.Converters.g.cs
new file mode 100644
index 00000000000..dd056824135
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Stationary.Converters.g.cs
@@ -0,0 +1,53 @@
+// 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.Linq;
+using Elastic.Clients.Elasticsearch.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.Aggregations.Json;
+
+public sealed partial class StationaryConverter : System.Text.Json.Serialization.JsonConverter
+{
+ public override Elastic.Clients.Elasticsearch.Aggregations.Stationary Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options)
+ {
+ reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject);
+ while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName)
+ {
+ if (options.UnmappedMemberHandling is System.Text.Json.Serialization.JsonUnmappedMemberHandling.Skip)
+ {
+ reader.SafeSkip();
+ continue;
+ }
+
+ throw new System.Text.Json.JsonException($"Unknown JSON property '{reader.GetString()}' for type '{typeToConvert.Name}'.");
+ }
+
+ reader.ValidateToken(System.Text.Json.JsonTokenType.EndObject);
+ return new Elastic.Clients.Elasticsearch.Aggregations.Stationary(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance)
+ {
+ };
+ }
+
+ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Aggregations.Stationary value, System.Text.Json.JsonSerializerOptions options)
+ {
+ writer.WriteStartObject();
+ writer.WriteEndObject();
+ }
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Stationary.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Stationary.g.cs
new file mode 100644
index 00000000000..f8b81da6d16
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Stationary.g.cs
@@ -0,0 +1,44 @@
+// 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.Linq;
+using Elastic.Clients.Elasticsearch.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.Aggregations;
+
+[System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Aggregations.Json.StationaryConverter))]
+public sealed partial class Stationary
+{
+#if NET7_0_OR_GREATER
+ public Stationary()
+ {
+ }
+#endif
+#if !NET7_0_OR_GREATER
+ public Stationary()
+ {
+ }
+#endif
+ [System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
+ internal Stationary(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel sentinel)
+ {
+ _ = sentinel;
+ }
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/StepChange.Converters.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/StepChange.Converters.g.cs
new file mode 100644
index 00000000000..79e6cb6a345
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/StepChange.Converters.g.cs
@@ -0,0 +1,72 @@
+// 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.Linq;
+using Elastic.Clients.Elasticsearch.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.Aggregations.Json;
+
+public sealed partial class StepChangeConverter : System.Text.Json.Serialization.JsonConverter
+{
+ private static readonly System.Text.Json.JsonEncodedText PropChangePoint = System.Text.Json.JsonEncodedText.Encode("change_point");
+ private static readonly System.Text.Json.JsonEncodedText PropPValue = System.Text.Json.JsonEncodedText.Encode("p_value");
+
+ public override Elastic.Clients.Elasticsearch.Aggregations.StepChange Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options)
+ {
+ reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject);
+ LocalJsonValue propChangePoint = default;
+ LocalJsonValue propPValue = default;
+ while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName)
+ {
+ if (propChangePoint.TryReadProperty(ref reader, options, PropChangePoint, null))
+ {
+ continue;
+ }
+
+ if (propPValue.TryReadProperty(ref reader, options, PropPValue, null))
+ {
+ continue;
+ }
+
+ if (options.UnmappedMemberHandling is System.Text.Json.Serialization.JsonUnmappedMemberHandling.Skip)
+ {
+ reader.SafeSkip();
+ continue;
+ }
+
+ throw new System.Text.Json.JsonException($"Unknown JSON property '{reader.GetString()}' for type '{typeToConvert.Name}'.");
+ }
+
+ reader.ValidateToken(System.Text.Json.JsonTokenType.EndObject);
+ return new Elastic.Clients.Elasticsearch.Aggregations.StepChange(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance)
+ {
+ ChangePoint = propChangePoint.Value,
+ PValue = propPValue.Value
+ };
+ }
+
+ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Aggregations.StepChange value, System.Text.Json.JsonSerializerOptions options)
+ {
+ writer.WriteStartObject();
+ writer.WriteProperty(options, PropChangePoint, value.ChangePoint, null, null);
+ writer.WriteProperty(options, PropPValue, value.PValue, null, null);
+ writer.WriteEndObject();
+ }
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/StepChange.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/StepChange.g.cs
new file mode 100644
index 00000000000..ccf06b62e18
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/StepChange.g.cs
@@ -0,0 +1,62 @@
+// 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.Linq;
+using Elastic.Clients.Elasticsearch.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.Aggregations;
+
+[System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Aggregations.Json.StepChangeConverter))]
+public sealed partial class StepChange
+{
+ [System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
+ public StepChange(int changePoint, double pValue)
+ {
+ ChangePoint = changePoint;
+ PValue = pValue;
+ }
+#if NET7_0_OR_GREATER
+ public StepChange()
+ {
+ }
+#endif
+#if !NET7_0_OR_GREATER
+ [System.Obsolete("The type contains required properties that must be initialized. Please use an alternative constructor to ensure all required values are properly set.")]
+ public StepChange()
+ {
+ }
+#endif
+ [System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
+ internal StepChange(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel sentinel)
+ {
+ _ = sentinel;
+ }
+
+ public
+#if NET7_0_OR_GREATER
+ required
+#endif
+ int ChangePoint { get; set; }
+ public
+#if NET7_0_OR_GREATER
+ required
+#endif
+ double PValue { get; set; }
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/TrendChange.Converters.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/TrendChange.Converters.g.cs
new file mode 100644
index 00000000000..c04d62785ed
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/TrendChange.Converters.g.cs
@@ -0,0 +1,81 @@
+// 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.Linq;
+using Elastic.Clients.Elasticsearch.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.Aggregations.Json;
+
+public sealed partial class TrendChangeConverter : System.Text.Json.Serialization.JsonConverter
+{
+ private static readonly System.Text.Json.JsonEncodedText PropChangePoint = System.Text.Json.JsonEncodedText.Encode("change_point");
+ private static readonly System.Text.Json.JsonEncodedText PropPValue = System.Text.Json.JsonEncodedText.Encode("p_value");
+ private static readonly System.Text.Json.JsonEncodedText PropRValue = System.Text.Json.JsonEncodedText.Encode("r_value");
+
+ public override Elastic.Clients.Elasticsearch.Aggregations.TrendChange Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options)
+ {
+ reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject);
+ LocalJsonValue propChangePoint = default;
+ LocalJsonValue propPValue = default;
+ LocalJsonValue propRValue = default;
+ while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName)
+ {
+ if (propChangePoint.TryReadProperty(ref reader, options, PropChangePoint, null))
+ {
+ continue;
+ }
+
+ if (propPValue.TryReadProperty(ref reader, options, PropPValue, null))
+ {
+ continue;
+ }
+
+ if (propRValue.TryReadProperty(ref reader, options, PropRValue, null))
+ {
+ continue;
+ }
+
+ if (options.UnmappedMemberHandling is System.Text.Json.Serialization.JsonUnmappedMemberHandling.Skip)
+ {
+ reader.SafeSkip();
+ continue;
+ }
+
+ throw new System.Text.Json.JsonException($"Unknown JSON property '{reader.GetString()}' for type '{typeToConvert.Name}'.");
+ }
+
+ reader.ValidateToken(System.Text.Json.JsonTokenType.EndObject);
+ return new Elastic.Clients.Elasticsearch.Aggregations.TrendChange(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance)
+ {
+ ChangePoint = propChangePoint.Value,
+ PValue = propPValue.Value,
+ RValue = propRValue.Value
+ };
+ }
+
+ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Aggregations.TrendChange value, System.Text.Json.JsonSerializerOptions options)
+ {
+ writer.WriteStartObject();
+ writer.WriteProperty(options, PropChangePoint, value.ChangePoint, null, null);
+ writer.WriteProperty(options, PropPValue, value.PValue, null, null);
+ writer.WriteProperty(options, PropRValue, value.RValue, null, null);
+ writer.WriteEndObject();
+ }
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/TrendChange.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/TrendChange.g.cs
new file mode 100644
index 00000000000..0af67ccfdc8
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/TrendChange.g.cs
@@ -0,0 +1,68 @@
+// 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.Linq;
+using Elastic.Clients.Elasticsearch.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.Aggregations;
+
+[System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Aggregations.Json.TrendChangeConverter))]
+public sealed partial class TrendChange
+{
+ [System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
+ public TrendChange(int changePoint, double pValue, double rValue)
+ {
+ ChangePoint = changePoint;
+ PValue = pValue;
+ RValue = rValue;
+ }
+#if NET7_0_OR_GREATER
+ public TrendChange()
+ {
+ }
+#endif
+#if !NET7_0_OR_GREATER
+ [System.Obsolete("The type contains required properties that must be initialized. Please use an alternative constructor to ensure all required values are properly set.")]
+ public TrendChange()
+ {
+ }
+#endif
+ [System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
+ internal TrendChange(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel sentinel)
+ {
+ _ = sentinel;
+ }
+
+ public
+#if NET7_0_OR_GREATER
+ required
+#endif
+ int ChangePoint { get; set; }
+ public
+#if NET7_0_OR_GREATER
+ required
+#endif
+ double PValue { get; set; }
+ public
+#if NET7_0_OR_GREATER
+ required
+#endif
+ double RValue { get; set; }
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/CartesianPoint.Converters.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/CartesianPoint.Converters.g.cs
new file mode 100644
index 00000000000..83070f8d98a
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/CartesianPoint.Converters.g.cs
@@ -0,0 +1,72 @@
+// 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.Linq;
+using Elastic.Clients.Elasticsearch.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.Json;
+
+public sealed partial class CartesianPointConverter : System.Text.Json.Serialization.JsonConverter
+{
+ private static readonly System.Text.Json.JsonEncodedText PropX = System.Text.Json.JsonEncodedText.Encode("x");
+ private static readonly System.Text.Json.JsonEncodedText PropY = System.Text.Json.JsonEncodedText.Encode("y");
+
+ public override Elastic.Clients.Elasticsearch.CartesianPoint Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options)
+ {
+ reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject);
+ LocalJsonValue propX = default;
+ LocalJsonValue propY = default;
+ while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName)
+ {
+ if (propX.TryReadProperty(ref reader, options, PropX, null))
+ {
+ continue;
+ }
+
+ if (propY.TryReadProperty(ref reader, options, PropY, null))
+ {
+ continue;
+ }
+
+ if (options.UnmappedMemberHandling is System.Text.Json.Serialization.JsonUnmappedMemberHandling.Skip)
+ {
+ reader.SafeSkip();
+ continue;
+ }
+
+ throw new System.Text.Json.JsonException($"Unknown JSON property '{reader.GetString()}' for type '{typeToConvert.Name}'.");
+ }
+
+ reader.ValidateToken(System.Text.Json.JsonTokenType.EndObject);
+ return new Elastic.Clients.Elasticsearch.CartesianPoint(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance)
+ {
+ X = propX.Value,
+ Y = propY.Value
+ };
+ }
+
+ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.CartesianPoint value, System.Text.Json.JsonSerializerOptions options)
+ {
+ writer.WriteStartObject();
+ writer.WriteProperty(options, PropX, value.X, null, null);
+ writer.WriteProperty(options, PropY, value.Y, null, null);
+ writer.WriteEndObject();
+ }
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/CartesianPoint.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/CartesianPoint.g.cs
new file mode 100644
index 00000000000..dfb8cd5e00e
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/CartesianPoint.g.cs
@@ -0,0 +1,62 @@
+// 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.Linq;
+using Elastic.Clients.Elasticsearch.Serialization;
+
+namespace Elastic.Clients.Elasticsearch;
+
+[System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Json.CartesianPointConverter))]
+public sealed partial class CartesianPoint
+{
+ [System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
+ public CartesianPoint(double x, double y)
+ {
+ X = x;
+ Y = y;
+ }
+#if NET7_0_OR_GREATER
+ public CartesianPoint()
+ {
+ }
+#endif
+#if !NET7_0_OR_GREATER
+ [System.Obsolete("The type contains required properties that must be initialized. Please use an alternative constructor to ensure all required values are properly set.")]
+ public CartesianPoint()
+ {
+ }
+#endif
+ [System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
+ internal CartesianPoint(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel sentinel)
+ {
+ _ = sentinel;
+ }
+
+ public
+#if NET7_0_OR_GREATER
+ required
+#endif
+ double X { get; set; }
+ public
+#if NET7_0_OR_GREATER
+ required
+#endif
+ double Y { get; set; }
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/SemanticTextProperty.Converters.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/SemanticTextProperty.Converters.g.cs
index e35d5722f90..6b84904cae4 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/SemanticTextProperty.Converters.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/SemanticTextProperty.Converters.g.cs
@@ -26,6 +26,7 @@ namespace Elastic.Clients.Elasticsearch.Mapping.Json;
public sealed partial class SemanticTextPropertyConverter : System.Text.Json.Serialization.JsonConverter
{
private static readonly System.Text.Json.JsonEncodedText PropChunkingSettings = System.Text.Json.JsonEncodedText.Encode("chunking_settings");
+ private static readonly System.Text.Json.JsonEncodedText PropFields = System.Text.Json.JsonEncodedText.Encode("fields");
private static readonly System.Text.Json.JsonEncodedText PropIndexOptions = System.Text.Json.JsonEncodedText.Encode("index_options");
private static readonly System.Text.Json.JsonEncodedText PropInferenceId = System.Text.Json.JsonEncodedText.Encode("inference_id");
private static readonly System.Text.Json.JsonEncodedText PropMeta = System.Text.Json.JsonEncodedText.Encode("meta");
@@ -36,6 +37,7 @@ public override Elastic.Clients.Elasticsearch.Mapping.SemanticTextProperty Read(
{
reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject);
LocalJsonValue propChunkingSettings = default;
+ LocalJsonValue propFields = default;
LocalJsonValue propIndexOptions = default;
LocalJsonValue propInferenceId = default;
LocalJsonValue?> propMeta = default;
@@ -47,6 +49,11 @@ public override Elastic.Clients.Elasticsearch.Mapping.SemanticTextProperty Read(
continue;
}
+ if (propFields.TryReadProperty(ref reader, options, PropFields, null))
+ {
+ continue;
+ }
+
if (propIndexOptions.TryReadProperty(ref reader, options, PropIndexOptions, null))
{
continue;
@@ -86,6 +93,7 @@ public override Elastic.Clients.Elasticsearch.Mapping.SemanticTextProperty Read(
return new Elastic.Clients.Elasticsearch.Mapping.SemanticTextProperty(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance)
{
ChunkingSettings = propChunkingSettings.Value,
+ Fields = propFields.Value,
IndexOptions = propIndexOptions.Value,
InferenceId = propInferenceId.Value,
Meta = propMeta.Value,
@@ -97,6 +105,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien
{
writer.WriteStartObject();
writer.WriteProperty(options, PropChunkingSettings, value.ChunkingSettings, null, null);
+ writer.WriteProperty(options, PropFields, value.Fields, null, null);
writer.WriteProperty(options, PropIndexOptions, value.IndexOptions, null, null);
writer.WriteProperty(options, PropInferenceId, value.InferenceId, null, null);
writer.WriteProperty(options, PropMeta, value.Meta, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IDictionary? v) => w.WriteDictionaryValue(o, v, null, null));
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/SemanticTextProperty.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/SemanticTextProperty.g.cs
index da57911ed4d..dba2d7d73b4 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/SemanticTextProperty.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/SemanticTextProperty.g.cs
@@ -51,6 +51,14 @@ internal SemanticTextProperty(Elastic.Clients.Elasticsearch.Serialization.JsonCo
///
public Elastic.Clients.Elasticsearch.Mapping.ChunkingSettings? ChunkingSettings { get; set; }
+ ///
+ ///
+ /// Multi-fields allow the same string value to be indexed in multiple ways for different purposes, such as one
+ /// field for search and a multi-field for sorting and aggregations, or the same string value analyzed by different analyzers.
+ ///
+ ///
+ public Elastic.Clients.Elasticsearch.Mapping.Properties? Fields { get; set; }
+
///
///
/// Settings for index_options that override any defaults used by semantic_text, for example
@@ -126,6 +134,30 @@ public Elastic.Clients.Elasticsearch.Mapping.SemanticTextPropertyDescriptor
+ ///
+ /// Multi-fields allow the same string value to be indexed in multiple ways for different purposes, such as one
+ /// field for search and a multi-field for sorting and aggregations, or the same string value analyzed by different analyzers.
+ ///
+ ///
+ public Elastic.Clients.Elasticsearch.Mapping.SemanticTextPropertyDescriptor Fields(Elastic.Clients.Elasticsearch.Mapping.Properties? value)
+ {
+ Instance.Fields = value;
+ return this;
+ }
+
+ ///
+ ///
+ /// Multi-fields allow the same string value to be indexed in multiple ways for different purposes, such as one
+ /// field for search and a multi-field for sorting and aggregations, or the same string value analyzed by different analyzers.
+ ///
+ ///
+ public Elastic.Clients.Elasticsearch.Mapping.SemanticTextPropertyDescriptor Fields(System.Action> action)
+ {
+ Instance.Fields = Elastic.Clients.Elasticsearch.Mapping.PropertiesDescriptor.Build(action);
+ return this;
+ }
+
///
///
/// Settings for index_options that override any defaults used by semantic_text, for example
@@ -272,6 +304,42 @@ public Elastic.Clients.Elasticsearch.Mapping.SemanticTextPropertyDescriptor Chun
return this;
}
+ ///
+ ///
+ /// Multi-fields allow the same string value to be indexed in multiple ways for different purposes, such as one
+ /// field for search and a multi-field for sorting and aggregations, or the same string value analyzed by different analyzers.
+ ///
+ ///
+ public Elastic.Clients.Elasticsearch.Mapping.SemanticTextPropertyDescriptor Fields(Elastic.Clients.Elasticsearch.Mapping.Properties? value)
+ {
+ Instance.Fields = value;
+ return this;
+ }
+
+ ///
+ ///
+ /// Multi-fields allow the same string value to be indexed in multiple ways for different purposes, such as one
+ /// field for search and a multi-field for sorting and aggregations, or the same string value analyzed by different analyzers.
+ ///
+ ///
+ public Elastic.Clients.Elasticsearch.Mapping.SemanticTextPropertyDescriptor Fields(System.Action action)
+ {
+ Instance.Fields = Elastic.Clients.Elasticsearch.Mapping.PropertiesDescriptor.Build(action);
+ return this;
+ }
+
+ ///
+ ///
+ /// Multi-fields allow the same string value to be indexed in multiple ways for different purposes, such as one
+ /// field for search and a multi-field for sorting and aggregations, or the same string value analyzed by different analyzers.
+ ///
+ ///
+ public Elastic.Clients.Elasticsearch.Mapping.SemanticTextPropertyDescriptor Fields(System.Action> action)
+ {
+ Instance.Fields = Elastic.Clients.Elasticsearch.Mapping.PropertiesDescriptor.Build(action);
+ return this;
+ }
+
///
///
/// Settings for index_options that override any defaults used by semantic_text, for example
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/ApiKeyFiltersAggregation.Converters.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/ApiKeyFiltersAggregation.Converters.g.cs
index da2f3af3fbe..dfd1ffc2d09 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/ApiKeyFiltersAggregation.Converters.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/ApiKeyFiltersAggregation.Converters.g.cs
@@ -34,7 +34,6 @@ public override Elastic.Clients.Elasticsearch.Security.ApiKeyFiltersAggregation
{
reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject);
LocalJsonValue?> propFilters = default;
- LocalJsonValue propKeyed = default;
LocalJsonValue propOtherBucket = default;
LocalJsonValue propOtherBucketKey = default;
while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName)
@@ -44,8 +43,9 @@ public override Elastic.Clients.Elasticsearch.Security.ApiKeyFiltersAggregation
continue;
}
- if (propKeyed.TryReadProperty(ref reader, options, PropKeyed, static bool? (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadNullableValue(o)))
+ if (reader.ValueTextEquals(PropKeyed))
{
+ reader.SafeSkip();
continue;
}
@@ -72,7 +72,6 @@ public override Elastic.Clients.Elasticsearch.Security.ApiKeyFiltersAggregation
return new Elastic.Clients.Elasticsearch.Security.ApiKeyFiltersAggregation(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance)
{
Filters = propFilters.Value,
- Keyed = propKeyed.Value,
OtherBucket = propOtherBucket.Value,
OtherBucketKey = propOtherBucketKey.Value
};
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/ApiKeyFiltersAggregation.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/ApiKeyFiltersAggregation.g.cs
index be7cbe4cf3b..efb8bbdc8f1 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/ApiKeyFiltersAggregation.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/ApiKeyFiltersAggregation.g.cs
@@ -55,7 +55,7 @@ internal ApiKeyFiltersAggregation(Elastic.Clients.Elasticsearch.Serialization.Js
/// Set to false to return the buckets as an array of objects.
///
///
- public bool? Keyed { get; set; }
+ public bool? Keyed => false;
///
///
@@ -113,18 +113,6 @@ public Elastic.Clients.Elasticsearch.Security.ApiKeyFiltersAggregationDescriptor
return this;
}
- ///
- ///
- /// By default, the named filters aggregation returns the buckets as an object.
- /// Set to false to return the buckets as an array of objects.
- ///
- ///
- public Elastic.Clients.Elasticsearch.Security.ApiKeyFiltersAggregationDescriptor Keyed(bool? value = true)
- {
- Instance.Keyed = value;
- return this;
- }
-
///
///
/// Set to true to add a bucket to the response which will contain all documents that do not match any of the given filters.
@@ -213,18 +201,6 @@ public Elastic.Clients.Elasticsearch.Security.ApiKeyFiltersAggregationDescriptor
return this;
}
- ///
- ///
- /// By default, the named filters aggregation returns the buckets as an object.
- /// Set to false to return the buckets as an array of objects.
- ///
- ///
- public Elastic.Clients.Elasticsearch.Security.ApiKeyFiltersAggregationDescriptor Keyed(bool? value = true)
- {
- Instance.Keyed = value;
- return this;
- }
-
///
///
/// Set to true to add a bucket to the response which will contain all documents that do not match any of the given filters.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/TextEmbedding.Converters.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/TextEmbedding.Converters.g.cs
index a5e6d50c9b7..ae8b597bab5 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/TextEmbedding.Converters.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/TextEmbedding.Converters.g.cs
@@ -31,7 +31,7 @@ public sealed partial class TextEmbeddingConverter : System.Text.Json.Serializat
public override Elastic.Clients.Elasticsearch.TextEmbedding Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options)
{
reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject);
- LocalJsonValue propModelId = default;
+ LocalJsonValue propModelId = default;
LocalJsonValue propModelText = default;
while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName)
{
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/TextEmbedding.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/TextEmbedding.g.cs
index 1bc9cc5ad77..465897084fe 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/TextEmbedding.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/TextEmbedding.g.cs
@@ -27,9 +27,8 @@ namespace Elastic.Clients.Elasticsearch;
public sealed partial class TextEmbedding
{
[System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
- public TextEmbedding(string modelId, string modelText)
+ public TextEmbedding(string modelText)
{
- ModelId = modelId;
ModelText = modelText;
}
#if NET7_0_OR_GREATER
@@ -49,11 +48,13 @@ internal TextEmbedding(Elastic.Clients.Elasticsearch.Serialization.JsonConstruct
_ = sentinel;
}
- public
-#if NET7_0_OR_GREATER
- required
-#endif
- string ModelId { get; set; }
+ ///
+ ///
+ /// Model ID is required for all dense_vector fields but
+ /// may be inferred for semantic_text fields
+ ///
+ ///
+ public string? ModelId { get; set; }
public
#if NET7_0_OR_GREATER
required
@@ -80,7 +81,13 @@ public TextEmbeddingDescriptor()
public static explicit operator Elastic.Clients.Elasticsearch.TextEmbeddingDescriptor(Elastic.Clients.Elasticsearch.TextEmbedding instance) => new Elastic.Clients.Elasticsearch.TextEmbeddingDescriptor(instance);
public static implicit operator Elastic.Clients.Elasticsearch.TextEmbedding(Elastic.Clients.Elasticsearch.TextEmbeddingDescriptor descriptor) => descriptor.Instance;
- public Elastic.Clients.Elasticsearch.TextEmbeddingDescriptor ModelId(string value)
+ ///
+ ///
+ /// Model ID is required for all dense_vector fields but
+ /// may be inferred for semantic_text fields
+ ///
+ ///
+ public Elastic.Clients.Elasticsearch.TextEmbeddingDescriptor ModelId(string? value)
{
Instance.ModelId = value;
return this;
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/TransformManagement/Settings.Converters.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/TransformManagement/Settings.Converters.g.cs
index 95d6d2c5486..ec70600c9d8 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/TransformManagement/Settings.Converters.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/TransformManagement/Settings.Converters.g.cs
@@ -31,6 +31,7 @@ public sealed partial class SettingsConverter : System.Text.Json.Serialization.J
private static readonly System.Text.Json.JsonEncodedText PropDocsPerSecond = System.Text.Json.JsonEncodedText.Encode("docs_per_second");
private static readonly System.Text.Json.JsonEncodedText PropMaxPageSearchSize = System.Text.Json.JsonEncodedText.Encode("max_page_search_size");
private static readonly System.Text.Json.JsonEncodedText PropUnattended = System.Text.Json.JsonEncodedText.Encode("unattended");
+ private static readonly System.Text.Json.JsonEncodedText PropUsePointInTime = System.Text.Json.JsonEncodedText.Encode("use_point_in_time");
public override Elastic.Clients.Elasticsearch.TransformManagement.Settings Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options)
{
@@ -41,6 +42,7 @@ public override Elastic.Clients.Elasticsearch.TransformManagement.Settings Read(
LocalJsonValue propDocsPerSecond = default;
LocalJsonValue propMaxPageSearchSize = default;
LocalJsonValue propUnattended = default;
+ LocalJsonValue propUsePointInTime = default;
while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName)
{
if (propAlignCheckpoints.TryReadProperty(ref reader, options, PropAlignCheckpoints, static bool? (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadNullableValue(o)))
@@ -73,6 +75,11 @@ public override Elastic.Clients.Elasticsearch.TransformManagement.Settings Read(
continue;
}
+ if (propUsePointInTime.TryReadProperty(ref reader, options, PropUsePointInTime, static bool? (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadNullableValue(o)))
+ {
+ continue;
+ }
+
if (options.UnmappedMemberHandling is System.Text.Json.Serialization.JsonUnmappedMemberHandling.Skip)
{
reader.SafeSkip();
@@ -90,7 +97,8 @@ public override Elastic.Clients.Elasticsearch.TransformManagement.Settings Read(
DeduceMappings = propDeduceMappings.Value,
DocsPerSecond = propDocsPerSecond.Value,
MaxPageSearchSize = propMaxPageSearchSize.Value,
- Unattended = propUnattended.Value
+ Unattended = propUnattended.Value,
+ UsePointInTime = propUsePointInTime.Value
};
}
@@ -103,6 +111,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien
writer.WriteProperty(options, PropDocsPerSecond, value.DocsPerSecond, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, float? v) => w.WriteNullableValue(o, v));
writer.WriteProperty(options, PropMaxPageSearchSize, value.MaxPageSearchSize, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, int? v) => w.WriteNullableValue(o, v));
writer.WriteProperty(options, PropUnattended, value.Unattended, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, bool? v) => w.WriteNullableValue(o, v));
+ writer.WriteProperty(options, PropUsePointInTime, value.UsePointInTime, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, bool? v) => w.WriteNullableValue(o, v));
writer.WriteEndObject();
}
}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/TransformManagement/Settings.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/TransformManagement/Settings.g.cs
index 6b85ef89116..072d8080f97 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/TransformManagement/Settings.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/TransformManagement/Settings.g.cs
@@ -97,6 +97,17 @@ internal Settings(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSen
///
///
public bool? Unattended { get; set; }
+
+ ///
+ ///
+ /// Specifies whether the transform checkpoint will use the Point In Time API while searching over the source index.
+ /// In general, Point In Time is an optimization that will reduce pressure on the source index by reducing the amount
+ /// of refreshes and merges, but it can be expensive if a large number of Point In Times are opened and closed for a
+ /// given index. The benefits and impact depend on the data being searched, the ingest rate into the source index, and
+ /// the amount of other consumers searching the same source index.
+ ///
+ ///
+ public bool? UsePointInTime { get; set; }
}
///
@@ -198,6 +209,21 @@ public Elastic.Clients.Elasticsearch.TransformManagement.SettingsDescriptor Unat
return this;
}
+ ///
+ ///
+ /// Specifies whether the transform checkpoint will use the Point In Time API while searching over the source index.
+ /// In general, Point In Time is an optimization that will reduce pressure on the source index by reducing the amount
+ /// of refreshes and merges, but it can be expensive if a large number of Point In Times are opened and closed for a
+ /// given index. The benefits and impact depend on the data being searched, the ingest rate into the source index, and
+ /// the amount of other consumers searching the same source index.
+ ///
+ ///
+ public Elastic.Clients.Elasticsearch.TransformManagement.SettingsDescriptor UsePointInTime(bool? value = true)
+ {
+ Instance.UsePointInTime = value;
+ return this;
+ }
+
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]
internal static Elastic.Clients.Elasticsearch.TransformManagement.Settings Build(System.Action? action)
{
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/VersionType.Converters.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/VersionType.Converters.g.cs
index 396a066c3ef..1b43bad6429 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/VersionType.Converters.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/VersionType.Converters.g.cs
@@ -27,7 +27,6 @@ public sealed partial class VersionTypeConverter : System.Text.Json.Serializatio
{
private static readonly System.Text.Json.JsonEncodedText MemberExternal = System.Text.Json.JsonEncodedText.Encode("external");
private static readonly System.Text.Json.JsonEncodedText MemberExternalGte = System.Text.Json.JsonEncodedText.Encode("external_gte");
- private static readonly System.Text.Json.JsonEncodedText MemberForce = System.Text.Json.JsonEncodedText.Encode("force");
private static readonly System.Text.Json.JsonEncodedText MemberInternal = System.Text.Json.JsonEncodedText.Encode("internal");
public override Elastic.Clients.Elasticsearch.VersionType Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options)
@@ -42,11 +41,6 @@ public override Elastic.Clients.Elasticsearch.VersionType Read(ref System.Text.J
return Elastic.Clients.Elasticsearch.VersionType.ExternalGte;
}
- if (reader.ValueTextEquals(MemberForce))
- {
- return Elastic.Clients.Elasticsearch.VersionType.Force;
- }
-
if (reader.ValueTextEquals(MemberInternal))
{
return Elastic.Clients.Elasticsearch.VersionType.Internal;
@@ -63,11 +57,6 @@ public override Elastic.Clients.Elasticsearch.VersionType Read(ref System.Text.J
return Elastic.Clients.Elasticsearch.VersionType.ExternalGte;
}
- if (string.Equals(value, MemberForce.Value, System.StringComparison.OrdinalIgnoreCase))
- {
- return Elastic.Clients.Elasticsearch.VersionType.Force;
- }
-
if (string.Equals(value, MemberInternal.Value, System.StringComparison.OrdinalIgnoreCase))
{
return Elastic.Clients.Elasticsearch.VersionType.Internal;
@@ -86,9 +75,6 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien
case Elastic.Clients.Elasticsearch.VersionType.ExternalGte:
writer.WriteStringValue(MemberExternalGte);
break;
- case Elastic.Clients.Elasticsearch.VersionType.Force:
- writer.WriteStringValue(MemberForce);
- break;
case Elastic.Clients.Elasticsearch.VersionType.Internal:
writer.WriteStringValue(MemberInternal);
break;
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/VersionType.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/VersionType.g.cs
index 155de681001..b1cb198ab70 100644
--- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/VersionType.g.cs
+++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/VersionType.g.cs
@@ -44,13 +44,6 @@ public enum VersionType
ExternalGte,
///
///
- /// This option is deprecated because it can cause primary and replica shards to diverge.
- ///
- ///
- [System.Runtime.Serialization.EnumMember(Value = "force")]
- Force,
- ///
- ///
/// Use internal versioning that starts at 1 and increments with each update or delete.
///
///