From 28aa77960fabb3f9de71cb95a8396da414cd782b Mon Sep 17 00:00:00 2001 From: Laura Trotta Date: Tue, 28 Apr 2026 09:28:05 +0000 Subject: [PATCH] [codegen] update to latest spec --- .../ElasticsearchAsyncClient.java | 14 +- .../elasticsearch/ElasticsearchClient.java | 14 +- .../_types/mapping/FieldType.java | 2 + .../query_dsl/LongNumberRangeQuery.java | 164 +++++++++++++++++ .../_types/query_dsl/RangeQuery.java | 30 ++++ .../_types/query_dsl/RangeQueryBuilders.java | 19 ++ .../elasticsearch/core/ReindexRequest.java | 7 +- .../elasticsearch/doc-files/api-spec.html | 165 +++++++++--------- .../inference/ContextualAITaskSettings.java | 37 ---- .../ElasticsearchSnapshotAsyncClient.java | 22 +++ .../snapshot/ElasticsearchSnapshotClient.java | 22 +++ .../snapshot/RepositoryAnalyzeRequest.java | 11 ++ .../elasticsearch/transform/Settings.java | 8 +- 13 files changed, 379 insertions(+), 136 deletions(-) create mode 100644 java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/LongNumberRangeQuery.java diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ElasticsearchAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ElasticsearchAsyncClient.java index 09a73e1a39..eecd98aa17 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ElasticsearchAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ElasticsearchAsyncClient.java @@ -4220,9 +4220,10 @@ public final CompletableFuture rankEval( * must explicitly allow the remote host using the * reindex.remote.whitelist node setting on the destination * cluster. If reindexing from a remote cluster into an Elastic Cloud Serverless - * project, only remote hosts from Elastic Cloud Hosted are allowed. Automatic - * data stream creation requires a matching index template with data stream - * enabled. + * project, only remote hosts from Elastic + * Cloud Hosted are allowed. Automatic data stream creation requires a + * matching index template with data stream enabled. *

* The dest element can be configured like the index API to control * optimistic concurrency control. Omitting version_type or setting @@ -4316,9 +4317,10 @@ public CompletableFuture reindex(ReindexRequest request) { * must explicitly allow the remote host using the * reindex.remote.whitelist node setting on the destination * cluster. If reindexing from a remote cluster into an Elastic Cloud Serverless - * project, only remote hosts from Elastic Cloud Hosted are allowed. Automatic - * data stream creation requires a matching index template with data stream - * enabled. + * project, only remote hosts from Elastic + * Cloud Hosted are allowed. Automatic data stream creation requires a + * matching index template with data stream enabled. *

* The dest element can be configured like the index API to control * optimistic concurrency control. Omitting version_type or setting diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ElasticsearchClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ElasticsearchClient.java index 6f16421250..2b62c4935b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ElasticsearchClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ElasticsearchClient.java @@ -4249,9 +4249,10 @@ public final RankEvalResponse rankEval(Functionreindex.remote.whitelist node setting on the destination * cluster. If reindexing from a remote cluster into an Elastic Cloud Serverless - * project, only remote hosts from Elastic Cloud Hosted are allowed. Automatic - * data stream creation requires a matching index template with data stream - * enabled. + * project, only remote hosts from Elastic + * Cloud Hosted are allowed. Automatic data stream creation requires a + * matching index template with data stream enabled. *

* The dest element can be configured like the index API to control * optimistic concurrency control. Omitting version_type or setting @@ -4345,9 +4346,10 @@ public ReindexResponse reindex(ReindexRequest request) throws IOException, Elast * must explicitly allow the remote host using the * reindex.remote.whitelist node setting on the destination * cluster. If reindexing from a remote cluster into an Elastic Cloud Serverless - * project, only remote hosts from Elastic Cloud Hosted are allowed. Automatic - * data stream creation requires a matching index template with data stream - * enabled. + * project, only remote hosts from Elastic + * Cloud Hosted are allowed. Automatic data stream creation requires a + * matching index template with data stream enabled. *

* The dest element can be configured like the index API to control * optimistic concurrency control. Omitting version_type or setting diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/FieldType.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/FieldType.java index ce69d5d9fb..f348c562c0 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/FieldType.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/FieldType.java @@ -61,6 +61,8 @@ public enum FieldType implements JsonEnum { SearchAsYouType("search_as_you_type"), + Wildcard("wildcard"), + Date("date"), DateNanos("date_nanos"), diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/LongNumberRangeQuery.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/LongNumberRangeQuery.java new file mode 100644 index 0000000000..a866905250 --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/LongNumberRangeQuery.java @@ -0,0 +1,164 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package co.elastic.clients.elasticsearch._types.query_dsl; + +import co.elastic.clients.json.JsonpDeserializable; +import co.elastic.clients.json.JsonpDeserializer; +import co.elastic.clients.json.JsonpMapper; +import co.elastic.clients.json.ObjectBuilderDeserializer; +import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.util.ApiTypeHelper; +import co.elastic.clients.util.ObjectBuilder; +import jakarta.json.stream.JsonGenerator; +import java.lang.Long; +import java.lang.String; +import java.util.Objects; +import java.util.function.Function; +import javax.annotation.Nullable; + +//---------------------------------------------------------------- +// THIS CODE IS GENERATED. MANUAL EDITS WILL BE LOST. +//---------------------------------------------------------------- +// +// This code is generated from the Elasticsearch API specification +// at https://github.com/elastic/elasticsearch-specification +// +// Manual updates to this file will be lost when the code is +// re-generated. +// +// If you find a property that is missing or wrongly typed, please +// open an issue or a PR on the API specification repository. +// +//---------------------------------------------------------------- + +// typedef: _types.query_dsl.LongNumberRangeQuery + +/** + * + * @see API + * specification + */ +@JsonpDeserializable +public class LongNumberRangeQuery extends RangeQueryBase implements RangeQueryVariant { + // Single key dictionary + private final String field; + + // --------------------------------------------------------------------------------------------- + + private LongNumberRangeQuery(Builder builder) { + super(builder); + this.field = ApiTypeHelper.requireNonNull(builder.field, this, "field"); + + } + + public static LongNumberRangeQuery of(Function> fn) { + return fn.apply(new Builder()).build(); + } + + /** + * RangeQuery variant kind. + */ + @Override + public RangeQuery.Kind _rangeQueryKind() { + return RangeQuery.Kind.LongNumber; + } + + /** + * Required - the required field + */ + public final String field() { + return this.field; + } + + protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { + generator.writeStartObject(this.field); + + super.serializeInternal(generator, mapper); + + generator.writeEnd(); + + } + + // --------------------------------------------------------------------------------------------- + + /** + * Builder for {@link LongNumberRangeQuery}. + */ + + public static class Builder extends RangeQueryBase.AbstractBuilder + implements + ObjectBuilder { + private String field; + + /** + * Required - the required field + */ + public final Builder field(String value) { + this.field = value; + return this; + } + + public Builder() { + } + private Builder(LongNumberRangeQuery instance) { + + } + @Override + protected Builder self() { + return this; + } + + /** + * Builds a {@link LongNumberRangeQuery}. + * + * @throws NullPointerException + * if some of the required fields are null. + */ + public LongNumberRangeQuery build() { + _checkSingleUse(); + super.tSerializer(null); + + return new LongNumberRangeQuery(this); + } + } + + /** + * @return New {@link Builder} initialized with field values of this instance + */ + public Builder rebuild() { + return new Builder(this); + } + // --------------------------------------------------------------------------------------------- + + /** + * Json deserializer for {@link LongNumberRangeQuery} + */ + public static final JsonpDeserializer _DESERIALIZER = ObjectBuilderDeserializer + .lazy(Builder::new, LongNumberRangeQuery::setupLongNumberRangeQueryDeserializer); + + protected static void setupLongNumberRangeQueryDeserializer(ObjectDeserializer op) { + RangeQueryBase.setupRangeQueryBaseDeserializer(op, JsonpDeserializer.longDeserializer()); + + op.setKey(Builder::field, JsonpDeserializer.stringDeserializer()); + + } + +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/RangeQuery.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/RangeQuery.java index cf7240e9cd..6255c59e40 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/RangeQuery.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/RangeQuery.java @@ -85,6 +85,8 @@ public class RangeQuery public enum Kind implements JsonEnum { Date("date"), + LongNumber("long_number"), + Number("number"), Term("term"), @@ -190,6 +192,23 @@ public DateRangeQuery date() { return TaggedUnionUtils.get(this, Kind.Date); } + /** + * Is this variant instance of kind {@code long_number}? + */ + public boolean isLongNumber() { + return _kind == Kind.LongNumber; + } + + /** + * Get the {@code long_number} variant value. + * + * @throws IllegalStateException + * if the current variant is not of the {@code long_number} kind. + */ + public LongNumberRangeQuery longNumber() { + return TaggedUnionUtils.get(this, Kind.LongNumber); + } + /** * Is this variant instance of kind {@code number}? */ @@ -267,6 +286,17 @@ public ObjectBuilder date(Function longNumber(LongNumberRangeQuery v) { + this._kind = Kind.LongNumber; + this._value = v; + return this; + } + + public ObjectBuilder longNumber( + Function> fn) { + return this.longNumber(fn.apply(new LongNumberRangeQuery.Builder()).build()); + } + public ObjectBuilder number(NumberRangeQuery v) { this._kind = Kind.Number; this._value = v; diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/RangeQueryBuilders.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/RangeQueryBuilders.java index 3d49c97721..62e357b343 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/RangeQueryBuilders.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/RangeQueryBuilders.java @@ -62,6 +62,25 @@ public static RangeQuery date(Function> fn) { + RangeQuery.Builder builder = new RangeQuery.Builder(); + builder.longNumber(fn.apply(new LongNumberRangeQuery.Builder()).build()); + return builder.build(); + } + /** * Creates a builder for the {@link NumberRangeQuery number} {@code RangeQuery} * variant. diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ReindexRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ReindexRequest.java index b2ed575322..00b6c1136a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ReindexRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ReindexRequest.java @@ -101,9 +101,10 @@ * must explicitly allow the remote host using the * reindex.remote.whitelist node setting on the destination * cluster. If reindexing from a remote cluster into an Elastic Cloud Serverless - * project, only remote hosts from Elastic Cloud Hosted are allowed. Automatic - * data stream creation requires a matching index template with data stream - * enabled. + * project, only remote hosts from Elastic + * Cloud Hosted are allowed. Automatic data stream creation requires a + * matching index template with data stream enabled. *

* The dest element can be configured like the index API to control * optimistic concurrency control. Omitting version_type or setting diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/doc-files/api-spec.html b/java-client/src/main/java/co/elastic/clients/elasticsearch/doc-files/api-spec.html index c5a60e6e29..190f283c09 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/doc-files/api-spec.html +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/doc-files/api-spec.html @@ -883,7 +883,7 @@ '_types.mapping.FieldAliasProperty': '_types/mapping/specialized.ts#L66-L69', '_types.mapping.FieldMapping': '_types/mapping/meta-fields.ts#L24-L27', '_types.mapping.FieldNamesField': '_types/mapping/meta-fields.ts#L42-L44', -'_types.mapping.FieldType': '_types/mapping/Property.ts#L195-L244', +'_types.mapping.FieldType': '_types/mapping/Property.ts#L195-L245', '_types.mapping.FlattenedProperty': '_types/mapping/complex.ts#L26-L38', '_types.mapping.FloatNumberProperty': '_types/mapping/core.ts#L158-L161', '_types.mapping.FloatRangeProperty': '_types/mapping/range.ts#L38-L40', @@ -1003,6 +1003,7 @@ '_types.query_dsl.IntervalsWildcard': '_types/query_dsl/fulltext.ts#L319-L334', '_types.query_dsl.Like': '_types/query_dsl/specialized.ts#L198-L203', '_types.query_dsl.LikeDocument': '_types/query_dsl/specialized.ts#L174-L196', +'_types.query_dsl.LongNumberRangeQuery': '_types/query_dsl/term.ts#L170-L170', '_types.query_dsl.MatchAllQuery': '_types/query_dsl/MatchAllQuery.ts#L22-L25', '_types.query_dsl.MatchBoolPrefixQuery': '_types/query_dsl/fulltext.ts#L407-L464', '_types.query_dsl.MatchNoneQuery': '_types/query_dsl/MatchNoneQuery.ts#L22-L25', @@ -1025,16 +1026,16 @@ '_types.query_dsl.QueryContainer': '_types/query_dsl/abstractions.ts#L97-L428', '_types.query_dsl.QueryStringQuery': '_types/query_dsl/fulltext.ts#L650-L773', '_types.query_dsl.RandomScoreFunction': '_types/query_dsl/compound.ts#L145-L149', -'_types.query_dsl.RangeQuery': '_types/query_dsl/term.ts#L172-L182', +'_types.query_dsl.RangeQuery': '_types/query_dsl/term.ts#L174-L185', '_types.query_dsl.RangeQueryBase': '_types/query_dsl/term.ts#L122-L144', -'_types.query_dsl.RangeRelation': '_types/query_dsl/term.ts#L184-L197', +'_types.query_dsl.RangeRelation': '_types/query_dsl/term.ts#L187-L200', '_types.query_dsl.RankFeatureFunction': '_types/query_dsl/specialized.ts#L280-L280', '_types.query_dsl.RankFeatureFunctionLinear': '_types/query_dsl/specialized.ts#L282-L282', '_types.query_dsl.RankFeatureFunctionLogarithm': '_types/query_dsl/specialized.ts#L284-L289', '_types.query_dsl.RankFeatureFunctionSaturation': '_types/query_dsl/specialized.ts#L291-L296', '_types.query_dsl.RankFeatureFunctionSigmoid': '_types/query_dsl/specialized.ts#L298-L307', '_types.query_dsl.RankFeatureQuery': '_types/query_dsl/specialized.ts#L309-L335', -'_types.query_dsl.RegexpQuery': '_types/query_dsl/term.ts#L199-L232', +'_types.query_dsl.RegexpQuery': '_types/query_dsl/term.ts#L202-L235', '_types.query_dsl.RuleQuery': '_types/query_dsl/specialized.ts#L398-L406', '_types.query_dsl.ScriptQuery': '_types/query_dsl/specialized.ts#L337-L346', '_types.query_dsl.ScriptScoreFunction': '_types/query_dsl/compound.ts#L138-L143', @@ -1055,20 +1056,20 @@ '_types.query_dsl.SpanTermQuery': '_types/query_dsl/span.ts#L134-L141', '_types.query_dsl.SpanWithinQuery': '_types/query_dsl/span.ts#L143-L157', '_types.query_dsl.SparseVectorQuery': '_types/query_dsl/SparseVectorQuery.ts#L26-L80', -'_types.query_dsl.TermQuery': '_types/query_dsl/term.ts#L234-L251', -'_types.query_dsl.TermRangeQuery': '_types/query_dsl/term.ts#L170-L170', -'_types.query_dsl.TermsLookup': '_types/query_dsl/term.ts#L266-L271', -'_types.query_dsl.TermsQuery': '_types/query_dsl/term.ts#L253-L259', -'_types.query_dsl.TermsQueryField': '_types/query_dsl/term.ts#L261-L264', -'_types.query_dsl.TermsSetQuery': '_types/query_dsl/term.ts#L273-L295', +'_types.query_dsl.TermQuery': '_types/query_dsl/term.ts#L237-L254', +'_types.query_dsl.TermRangeQuery': '_types/query_dsl/term.ts#L172-L172', +'_types.query_dsl.TermsLookup': '_types/query_dsl/term.ts#L269-L274', +'_types.query_dsl.TermsQuery': '_types/query_dsl/term.ts#L256-L262', +'_types.query_dsl.TermsQueryField': '_types/query_dsl/term.ts#L264-L267', +'_types.query_dsl.TermsSetQuery': '_types/query_dsl/term.ts#L276-L298', '_types.query_dsl.TextExpansionQuery': '_types/query_dsl/TextExpansionQuery.ts#L23-L37', '_types.query_dsl.TextQueryType': '_types/query_dsl/fulltext.ts#L611-L637', -'_types.query_dsl.TypeQuery': '_types/query_dsl/term.ts#L297-L299', +'_types.query_dsl.TypeQuery': '_types/query_dsl/term.ts#L300-L302', '_types.query_dsl.UntypedDecayFunction': '_types/query_dsl/compound.ts#L206-L209', '_types.query_dsl.UntypedDistanceFeatureQuery': '_types/query_dsl/specialized.ts#L61-L64', '_types.query_dsl.UntypedRangeQuery': '_types/query_dsl/term.ts#L146-L155', '_types.query_dsl.WeightedTokensQuery': '_types/query_dsl/WeightedTokensQuery.ts#L25-L33', -'_types.query_dsl.WildcardQuery': '_types/query_dsl/term.ts#L301-L321', +'_types.query_dsl.WildcardQuery': '_types/query_dsl/term.ts#L304-L324', '_types.query_dsl.WrapperQuery': '_types/query_dsl/abstractions.ts#L502-L511', '_types.query_dsl.ZeroTermsQuery': '_types/query_dsl/fulltext.ts#L639-L648', 'async_search._types.AsyncSearch': 'async_search/_types/AsyncSearch.ts#L30-L56', @@ -1932,38 +1933,38 @@ 'inference._types.ContentObject': 'inference/_types/CommonTypes.ts#L123-L135', 'inference._types.ContextualAIServiceSettings': 'inference/_types/CommonTypes.ts#L1218-L1239', 'inference._types.ContextualAIServiceType': 'inference/_types/CommonTypes.ts#L1214-L1216', -'inference._types.ContextualAITaskSettings': 'inference/_types/CommonTypes.ts#L1241-L1259', +'inference._types.ContextualAITaskSettings': 'inference/_types/CommonTypes.ts#L1241-L1253', 'inference._types.CustomRequestParams': 'inference/_types/CommonTypes.ts#L1018-L1029', 'inference._types.CustomResponseParams': 'inference/_types/CommonTypes.ts#L1031-L1185', 'inference._types.CustomServiceSettings': 'inference/_types/CommonTypes.ts#L941-L1016', 'inference._types.CustomServiceType': 'inference/_types/CommonTypes.ts#L1194-L1196', 'inference._types.CustomTaskSettings': 'inference/_types/CommonTypes.ts#L1198-L1212', 'inference._types.CustomTaskType': 'inference/_types/CommonTypes.ts#L1187-L1192', -'inference._types.DeepSeekServiceSettings': 'inference/_types/CommonTypes.ts#L1261-L1281', -'inference._types.DeepSeekServiceType': 'inference/_types/CommonTypes.ts#L1283-L1285', +'inference._types.DeepSeekServiceSettings': 'inference/_types/CommonTypes.ts#L1255-L1275', +'inference._types.DeepSeekServiceType': 'inference/_types/CommonTypes.ts#L1277-L1279', 'inference._types.DeleteInferenceEndpointResult': 'inference/_types/Results.ts#L114-L119', -'inference._types.ElasticsearchServiceSettings': 'inference/_types/CommonTypes.ts#L1287-L1343', -'inference._types.ElasticsearchServiceType': 'inference/_types/CommonTypes.ts#L1359-L1361', -'inference._types.ElasticsearchTaskSettings': 'inference/_types/CommonTypes.ts#L1345-L1351', -'inference._types.ElasticsearchTaskType': 'inference/_types/CommonTypes.ts#L1353-L1357', -'inference._types.ElserServiceSettings': 'inference/_types/CommonTypes.ts#L1363-L1389', -'inference._types.ElserServiceType': 'inference/_types/CommonTypes.ts#L1395-L1397', -'inference._types.ElserTaskType': 'inference/_types/CommonTypes.ts#L1391-L1393', -'inference._types.GoogleAiServiceType': 'inference/_types/CommonTypes.ts#L1422-L1424', -'inference._types.GoogleAiStudioServiceSettings': 'inference/_types/CommonTypes.ts#L1399-L1415', -'inference._types.GoogleAiStudioTaskType': 'inference/_types/CommonTypes.ts#L1417-L1420', -'inference._types.GoogleModelGardenProvider': 'inference/_types/CommonTypes.ts#L1495-L1502', -'inference._types.GoogleVertexAIServiceSettings': 'inference/_types/CommonTypes.ts#L1426-L1493', -'inference._types.GoogleVertexAIServiceType': 'inference/_types/CommonTypes.ts#L1543-L1545', -'inference._types.GoogleVertexAITaskSettings': 'inference/_types/CommonTypes.ts#L1504-L1527', -'inference._types.GoogleVertexAITaskType': 'inference/_types/CommonTypes.ts#L1536-L1541', -'inference._types.GroqServiceSettings': 'inference/_types/CommonTypes.ts#L1547-L1569', -'inference._types.GroqServiceType': 'inference/_types/CommonTypes.ts#L1575-L1577', -'inference._types.GroqTaskType': 'inference/_types/CommonTypes.ts#L1571-L1573', -'inference._types.HuggingFaceServiceSettings': 'inference/_types/CommonTypes.ts#L1579-L1609', -'inference._types.HuggingFaceServiceType': 'inference/_types/CommonTypes.ts#L1630-L1632', -'inference._types.HuggingFaceTaskSettings': 'inference/_types/CommonTypes.ts#L1611-L1621', -'inference._types.HuggingFaceTaskType': 'inference/_types/CommonTypes.ts#L1623-L1628', +'inference._types.ElasticsearchServiceSettings': 'inference/_types/CommonTypes.ts#L1281-L1337', +'inference._types.ElasticsearchServiceType': 'inference/_types/CommonTypes.ts#L1353-L1355', +'inference._types.ElasticsearchTaskSettings': 'inference/_types/CommonTypes.ts#L1339-L1345', +'inference._types.ElasticsearchTaskType': 'inference/_types/CommonTypes.ts#L1347-L1351', +'inference._types.ElserServiceSettings': 'inference/_types/CommonTypes.ts#L1357-L1383', +'inference._types.ElserServiceType': 'inference/_types/CommonTypes.ts#L1389-L1391', +'inference._types.ElserTaskType': 'inference/_types/CommonTypes.ts#L1385-L1387', +'inference._types.GoogleAiServiceType': 'inference/_types/CommonTypes.ts#L1416-L1418', +'inference._types.GoogleAiStudioServiceSettings': 'inference/_types/CommonTypes.ts#L1393-L1409', +'inference._types.GoogleAiStudioTaskType': 'inference/_types/CommonTypes.ts#L1411-L1414', +'inference._types.GoogleModelGardenProvider': 'inference/_types/CommonTypes.ts#L1489-L1496', +'inference._types.GoogleVertexAIServiceSettings': 'inference/_types/CommonTypes.ts#L1420-L1487', +'inference._types.GoogleVertexAIServiceType': 'inference/_types/CommonTypes.ts#L1537-L1539', +'inference._types.GoogleVertexAITaskSettings': 'inference/_types/CommonTypes.ts#L1498-L1521', +'inference._types.GoogleVertexAITaskType': 'inference/_types/CommonTypes.ts#L1530-L1535', +'inference._types.GroqServiceSettings': 'inference/_types/CommonTypes.ts#L1541-L1563', +'inference._types.GroqServiceType': 'inference/_types/CommonTypes.ts#L1569-L1571', +'inference._types.GroqTaskType': 'inference/_types/CommonTypes.ts#L1565-L1567', +'inference._types.HuggingFaceServiceSettings': 'inference/_types/CommonTypes.ts#L1573-L1603', +'inference._types.HuggingFaceServiceType': 'inference/_types/CommonTypes.ts#L1624-L1626', +'inference._types.HuggingFaceTaskSettings': 'inference/_types/CommonTypes.ts#L1605-L1615', +'inference._types.HuggingFaceTaskType': 'inference/_types/CommonTypes.ts#L1617-L1622', 'inference._types.InferenceChunkingSettings': 'inference/_types/Services.ts#L363-L422', 'inference._types.InferenceEndpoint': 'inference/_types/Services.ts#L51-L73', 'inference._types.InferenceEndpointInfo': 'inference/_types/Services.ts#L75-L87', @@ -1993,38 +1994,38 @@ 'inference._types.InferenceEndpointInfoVoyageAI': 'inference/_types/Services.ts#L341-L350', 'inference._types.InferenceEndpointInfoWatsonx': 'inference/_types/Services.ts#L352-L361', 'inference._types.InferenceResult': 'inference/_types/Results.ts#L121-L132', -'inference._types.JinaAIElementType': 'inference/_types/CommonTypes.ts#L1721-L1725', -'inference._types.JinaAIServiceSettings': 'inference/_types/CommonTypes.ts#L1634-L1674', -'inference._types.JinaAIServiceType': 'inference/_types/CommonTypes.ts#L1704-L1706', -'inference._types.JinaAISimilarityType': 'inference/_types/CommonTypes.ts#L1708-L1712', -'inference._types.JinaAITaskSettings': 'inference/_types/CommonTypes.ts#L1676-L1697', -'inference._types.JinaAITaskType': 'inference/_types/CommonTypes.ts#L1699-L1702', -'inference._types.JinaAITextEmbeddingTask': 'inference/_types/CommonTypes.ts#L1714-L1719', -'inference._types.LlamaServiceSettings': 'inference/_types/CommonTypes.ts#L1727-L1757', -'inference._types.LlamaServiceType': 'inference/_types/CommonTypes.ts#L1765-L1767', -'inference._types.LlamaSimilarityType': 'inference/_types/CommonTypes.ts#L1769-L1773', -'inference._types.LlamaTaskType': 'inference/_types/CommonTypes.ts#L1759-L1763', +'inference._types.JinaAIElementType': 'inference/_types/CommonTypes.ts#L1715-L1719', +'inference._types.JinaAIServiceSettings': 'inference/_types/CommonTypes.ts#L1628-L1668', +'inference._types.JinaAIServiceType': 'inference/_types/CommonTypes.ts#L1698-L1700', +'inference._types.JinaAISimilarityType': 'inference/_types/CommonTypes.ts#L1702-L1706', +'inference._types.JinaAITaskSettings': 'inference/_types/CommonTypes.ts#L1670-L1691', +'inference._types.JinaAITaskType': 'inference/_types/CommonTypes.ts#L1693-L1696', +'inference._types.JinaAITextEmbeddingTask': 'inference/_types/CommonTypes.ts#L1708-L1713', +'inference._types.LlamaServiceSettings': 'inference/_types/CommonTypes.ts#L1721-L1751', +'inference._types.LlamaServiceType': 'inference/_types/CommonTypes.ts#L1759-L1761', +'inference._types.LlamaSimilarityType': 'inference/_types/CommonTypes.ts#L1763-L1767', +'inference._types.LlamaTaskType': 'inference/_types/CommonTypes.ts#L1753-L1757', 'inference._types.Message': 'inference/_types/CommonTypes.ts#L174-L228', 'inference._types.MessageContent': 'inference/_types/CommonTypes.ts#L169-L172', -'inference._types.MistralServiceSettings': 'inference/_types/CommonTypes.ts#L1775-L1800', -'inference._types.MistralServiceType': 'inference/_types/CommonTypes.ts#L1808-L1810', -'inference._types.MistralTaskType': 'inference/_types/CommonTypes.ts#L1802-L1806', -'inference._types.NvidiaInputType': 'inference/_types/CommonTypes.ts#L1891-L1894', -'inference._types.NvidiaServiceSettings': 'inference/_types/CommonTypes.ts#L1812-L1850', -'inference._types.NvidiaServiceType': 'inference/_types/CommonTypes.ts#L1859-L1861', -'inference._types.NvidiaSimilarityType': 'inference/_types/CommonTypes.ts#L1863-L1867', -'inference._types.NvidiaTaskSettings': 'inference/_types/CommonTypes.ts#L1869-L1889', -'inference._types.NvidiaTaskType': 'inference/_types/CommonTypes.ts#L1852-L1857', -'inference._types.OpenAIServiceSettings': 'inference/_types/CommonTypes.ts#L1896-L1940', -'inference._types.OpenAIServiceType': 'inference/_types/CommonTypes.ts#L1973-L1975', -'inference._types.OpenAISimilarityType': 'inference/_types/CommonTypes.ts#L1942-L1946', -'inference._types.OpenAITaskSettings': 'inference/_types/CommonTypes.ts#L1948-L1965', -'inference._types.OpenAITaskType': 'inference/_types/CommonTypes.ts#L1967-L1971', -'inference._types.OpenShiftAiServiceSettings': 'inference/_types/CommonTypes.ts#L1977-L2010', -'inference._types.OpenShiftAiServiceType': 'inference/_types/CommonTypes.ts#L2019-L2021', -'inference._types.OpenShiftAiSimilarityType': 'inference/_types/CommonTypes.ts#L2023-L2027', -'inference._types.OpenShiftAiTaskSettings': 'inference/_types/CommonTypes.ts#L2029-L2038', -'inference._types.OpenShiftAiTaskType': 'inference/_types/CommonTypes.ts#L2012-L2017', +'inference._types.MistralServiceSettings': 'inference/_types/CommonTypes.ts#L1769-L1794', +'inference._types.MistralServiceType': 'inference/_types/CommonTypes.ts#L1802-L1804', +'inference._types.MistralTaskType': 'inference/_types/CommonTypes.ts#L1796-L1800', +'inference._types.NvidiaInputType': 'inference/_types/CommonTypes.ts#L1885-L1888', +'inference._types.NvidiaServiceSettings': 'inference/_types/CommonTypes.ts#L1806-L1844', +'inference._types.NvidiaServiceType': 'inference/_types/CommonTypes.ts#L1853-L1855', +'inference._types.NvidiaSimilarityType': 'inference/_types/CommonTypes.ts#L1857-L1861', +'inference._types.NvidiaTaskSettings': 'inference/_types/CommonTypes.ts#L1863-L1883', +'inference._types.NvidiaTaskType': 'inference/_types/CommonTypes.ts#L1846-L1851', +'inference._types.OpenAIServiceSettings': 'inference/_types/CommonTypes.ts#L1890-L1934', +'inference._types.OpenAIServiceType': 'inference/_types/CommonTypes.ts#L1967-L1969', +'inference._types.OpenAISimilarityType': 'inference/_types/CommonTypes.ts#L1936-L1940', +'inference._types.OpenAITaskSettings': 'inference/_types/CommonTypes.ts#L1942-L1959', +'inference._types.OpenAITaskType': 'inference/_types/CommonTypes.ts#L1961-L1965', +'inference._types.OpenShiftAiServiceSettings': 'inference/_types/CommonTypes.ts#L1971-L2004', +'inference._types.OpenShiftAiServiceType': 'inference/_types/CommonTypes.ts#L2013-L2015', +'inference._types.OpenShiftAiSimilarityType': 'inference/_types/CommonTypes.ts#L2017-L2021', +'inference._types.OpenShiftAiTaskSettings': 'inference/_types/CommonTypes.ts#L2023-L2032', +'inference._types.OpenShiftAiTaskType': 'inference/_types/CommonTypes.ts#L2006-L2011', 'inference._types.RankedDocument': 'inference/_types/Results.ts#L95-L105', 'inference._types.RateLimitSetting': 'inference/_types/Services.ts#L428-L457', 'inference._types.RequestChatCompletion': 'inference/_types/CommonTypes.ts#L25-L97', @@ -2060,16 +2061,16 @@ 'inference._types.TextEmbeddingByteResult': 'inference/_types/Results.ts#L57-L62', 'inference._types.TextEmbeddingInferenceResult': 'inference/_types/Results.ts#L71-L79', 'inference._types.TextEmbeddingResult': 'inference/_types/Results.ts#L64-L69', -'inference._types.ThinkingConfig': 'inference/_types/CommonTypes.ts#L1529-L1534', +'inference._types.ThinkingConfig': 'inference/_types/CommonTypes.ts#L1523-L1528', 'inference._types.ToolCall': 'inference/_types/CommonTypes.ts#L151-L167', 'inference._types.ToolCallFunction': 'inference/_types/CommonTypes.ts#L137-L149', -'inference._types.VoyageAIServiceSettings': 'inference/_types/CommonTypes.ts#L2040-L2071', -'inference._types.VoyageAIServiceType': 'inference/_types/CommonTypes.ts#L2104-L2106', -'inference._types.VoyageAITaskSettings': 'inference/_types/CommonTypes.ts#L2073-L2097', -'inference._types.VoyageAITaskType': 'inference/_types/CommonTypes.ts#L2099-L2102', -'inference._types.WatsonxServiceSettings': 'inference/_types/CommonTypes.ts#L2108-L2144', -'inference._types.WatsonxServiceType': 'inference/_types/CommonTypes.ts#L2153-L2155', -'inference._types.WatsonxTaskType': 'inference/_types/CommonTypes.ts#L2146-L2151', +'inference._types.VoyageAIServiceSettings': 'inference/_types/CommonTypes.ts#L2034-L2065', +'inference._types.VoyageAIServiceType': 'inference/_types/CommonTypes.ts#L2098-L2100', +'inference._types.VoyageAITaskSettings': 'inference/_types/CommonTypes.ts#L2067-L2091', +'inference._types.VoyageAITaskType': 'inference/_types/CommonTypes.ts#L2093-L2096', +'inference._types.WatsonxServiceSettings': 'inference/_types/CommonTypes.ts#L2102-L2138', +'inference._types.WatsonxServiceType': 'inference/_types/CommonTypes.ts#L2147-L2149', +'inference._types.WatsonxTaskType': 'inference/_types/CommonTypes.ts#L2140-L2145', 'inference.chat_completion_unified.Request': 'inference/chat_completion_unified/UnifiedRequest.ts#L24-L63', 'inference.chat_completion_unified.Response': 'inference/chat_completion_unified/UnifiedResponse.ts#L22-L25', 'inference.completion.Request': 'inference/completion/CompletionRequest.ts#L25-L72', @@ -3172,7 +3173,7 @@ 'snapshot.repository_analyze.DetailsInfo': 'snapshot/repository_analyze/SnapshotAnalyzeRepositoryResponse.ts#L286-L321', 'snapshot.repository_analyze.ReadBlobDetails': 'snapshot/repository_analyze/SnapshotAnalyzeRepositoryResponse.ts#L204-L248', 'snapshot.repository_analyze.ReadSummaryInfo': 'snapshot/repository_analyze/SnapshotAnalyzeRepositoryResponse.ts#L115-L160', -'snapshot.repository_analyze.Request': 'snapshot/repository_analyze/SnapshotAnalyzeRepositoryRequest.ts#L25-L227', +'snapshot.repository_analyze.Request': 'snapshot/repository_analyze/SnapshotAnalyzeRepositoryRequest.ts#L25-L232', 'snapshot.repository_analyze.Response': 'snapshot/repository_analyze/SnapshotAnalyzeRepositoryResponse.ts#L24-L108', 'snapshot.repository_analyze.SnapshotNodeInfo': 'snapshot/repository_analyze/SnapshotAnalyzeRepositoryResponse.ts#L110-L113', 'snapshot.repository_analyze.SummaryInfo': 'snapshot/repository_analyze/SnapshotAnalyzeRepositoryResponse.ts#L193-L202', @@ -3259,10 +3260,10 @@ 'transform._types.PivotGroupByContainer': 'transform/_types/Transform.ts#L70-L78', 'transform._types.RetentionPolicy': 'transform/_types/Transform.ts#L88-L96', 'transform._types.RetentionPolicyContainer': 'transform/_types/Transform.ts#L80-L86', -'transform._types.Settings': 'transform/_types/Transform.ts#L98-L166', -'transform._types.Source': 'transform/_types/Transform.ts#L168-L187', -'transform._types.SyncContainer': 'transform/_types/Transform.ts#L191-L197', -'transform._types.TimeSync': 'transform/_types/Transform.ts#L199-L211', +'transform._types.Settings': 'transform/_types/Transform.ts#L98-L165', +'transform._types.Source': 'transform/_types/Transform.ts#L167-L186', +'transform._types.SyncContainer': 'transform/_types/Transform.ts#L190-L196', +'transform._types.TimeSync': 'transform/_types/Transform.ts#L198-L210', 'transform.delete_transform.Request': 'transform/delete_transform/DeleteTransformRequest.ts#L24-L66', 'transform.delete_transform.Response': 'transform/delete_transform/DeleteTransformResponse.ts#L22-L25', 'transform.get_node_stats.Request': 'transform/get_node_stats/GetNodeStatsRequest.ts#L23-L40', @@ -3506,10 +3507,10 @@ if (hash.length > 1) { hash = hash.substring(1); } - window.location = "https://github.com/elastic/elasticsearch-specification/tree/df81426e814ecb513b012f2c0a706572964c606c/specification/" + (paths[hash] || ""); + window.location = "https://github.com/elastic/elasticsearch-specification/tree/928c63cb55207b6063e98c17f7f98de72ddda161/specification/" + (paths[hash] || ""); - Please see the Elasticsearch API specification. + Please see the Elasticsearch API specification. diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/ContextualAITaskSettings.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/ContextualAITaskSettings.java index 86593fbb4c..02f1aacc37 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/ContextualAITaskSettings.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/inference/ContextualAITaskSettings.java @@ -29,7 +29,6 @@ import co.elastic.clients.util.ObjectBuilder; import co.elastic.clients.util.WithJsonObjectBuilderBase; import jakarta.json.stream.JsonGenerator; -import java.lang.Boolean; import java.lang.Integer; import java.lang.String; import java.util.Objects; @@ -64,9 +63,6 @@ public class ContextualAITaskSettings implements JsonpSerializable { @Nullable private final String instruction; - @Nullable - private final Boolean returnDocuments; - @Nullable private final Integer topK; @@ -75,7 +71,6 @@ public class ContextualAITaskSettings implements JsonpSerializable { private ContextualAITaskSettings(Builder builder) { this.instruction = builder.instruction; - this.returnDocuments = builder.returnDocuments; this.topK = builder.topK; } @@ -96,17 +91,6 @@ public final String instruction() { return this.instruction; } - /** - * Whether to return the source documents in the response. Only for the - * rerank task type. - *

- * API name: {@code return_documents} - */ - @Nullable - public final Boolean returnDocuments() { - return this.returnDocuments; - } - /** * The number of most relevant documents to return. If not specified, the * reranking results of all documents will be returned. Only for the @@ -134,11 +118,6 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { generator.writeKey("instruction"); generator.write(this.instruction); - } - if (this.returnDocuments != null) { - generator.writeKey("return_documents"); - generator.write(this.returnDocuments); - } if (this.topK != null) { generator.writeKey("top_k"); @@ -165,9 +144,6 @@ public static class Builder extends WithJsonObjectBuilderBase @Nullable private String instruction; - @Nullable - private Boolean returnDocuments; - @Nullable private Integer topK; @@ -175,7 +151,6 @@ public Builder() { } private Builder(ContextualAITaskSettings instance) { this.instruction = instance.instruction; - this.returnDocuments = instance.returnDocuments; this.topK = instance.topK; } @@ -191,17 +166,6 @@ public final Builder instruction(@Nullable String value) { return this; } - /** - * Whether to return the source documents in the response. Only for the - * rerank task type. - *

- * API name: {@code return_documents} - */ - public final Builder returnDocuments(@Nullable Boolean value) { - this.returnDocuments = value; - return this; - } - /** * The number of most relevant documents to return. If not specified, the * reranking results of all documents will be returned. Only for the @@ -250,7 +214,6 @@ protected static void setupContextualAITaskSettingsDeserializer( ObjectDeserializer op) { op.add(Builder::instruction, JsonpDeserializer.stringDeserializer(), "instruction"); - op.add(Builder::returnDocuments, JsonpDeserializer.booleanDeserializer(), "return_documents"); op.add(Builder::topK, JsonpDeserializer.integerDeserializer(), "top_k"); } diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/ElasticsearchSnapshotAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/ElasticsearchSnapshotAsyncClient.java index 8949c3273e..a1091b9e17 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/ElasticsearchSnapshotAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/ElasticsearchSnapshotAsyncClient.java @@ -463,6 +463,17 @@ public CompletableFuture getRepository() { * supplier of your storage system to address the incompatibilities that * Elasticsearch detects. *

+ * The analysis may also report a failure if your repository experienced a + * service disruption while the analysis was running. In practice, occasional + * service disruptions are inevitable, but the analysis cannot itself + * distinguish such disruptions from incorrect behavior so must report all + * deviations from the expected behavior as failures. If you are certain that + * you can ascribe an analysis failure to such a service disruption, wait for + * your service provider to resolve the disruption and then re-run the analysis. + * Elasticsearch will be unable to create or restore snapshots during repository + * service disruptions, so you must ensure that these events occur only very + * rarely. + *

* If the analysis is successful, the API returns details of the testing * process, optionally including how long each operation took. You can use this * information to determine the performance of your storage system. If any @@ -655,6 +666,17 @@ public CompletableFuture repositoryAnalyze(Repository * supplier of your storage system to address the incompatibilities that * Elasticsearch detects. *

+ * The analysis may also report a failure if your repository experienced a + * service disruption while the analysis was running. In practice, occasional + * service disruptions are inevitable, but the analysis cannot itself + * distinguish such disruptions from incorrect behavior so must report all + * deviations from the expected behavior as failures. If you are certain that + * you can ascribe an analysis failure to such a service disruption, wait for + * your service provider to resolve the disruption and then re-run the analysis. + * Elasticsearch will be unable to create or restore snapshots during repository + * service disruptions, so you must ensure that these events occur only very + * rarely. + *

* If the analysis is successful, the API returns details of the testing * process, optionally including how long each operation took. You can use this * information to determine the performance of your storage system. If any diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/ElasticsearchSnapshotClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/ElasticsearchSnapshotClient.java index 0ee45781c7..0c3fbc5fd6 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/ElasticsearchSnapshotClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/ElasticsearchSnapshotClient.java @@ -472,6 +472,17 @@ public GetRepositoryResponse getRepository() throws IOException, ElasticsearchEx * supplier of your storage system to address the incompatibilities that * Elasticsearch detects. *

+ * The analysis may also report a failure if your repository experienced a + * service disruption while the analysis was running. In practice, occasional + * service disruptions are inevitable, but the analysis cannot itself + * distinguish such disruptions from incorrect behavior so must report all + * deviations from the expected behavior as failures. If you are certain that + * you can ascribe an analysis failure to such a service disruption, wait for + * your service provider to resolve the disruption and then re-run the analysis. + * Elasticsearch will be unable to create or restore snapshots during repository + * service disruptions, so you must ensure that these events occur only very + * rarely. + *

* If the analysis is successful, the API returns details of the testing * process, optionally including how long each operation took. You can use this * information to determine the performance of your storage system. If any @@ -665,6 +676,17 @@ public RepositoryAnalyzeResponse repositoryAnalyze(RepositoryAnalyzeRequest requ * supplier of your storage system to address the incompatibilities that * Elasticsearch detects. *

+ * The analysis may also report a failure if your repository experienced a + * service disruption while the analysis was running. In practice, occasional + * service disruptions are inevitable, but the analysis cannot itself + * distinguish such disruptions from incorrect behavior so must report all + * deviations from the expected behavior as failures. If you are certain that + * you can ascribe an analysis failure to such a service disruption, wait for + * your service provider to resolve the disruption and then re-run the analysis. + * Elasticsearch will be unable to create or restore snapshots during repository + * service disruptions, so you must ensure that these events occur only very + * rarely. + *

* If the analysis is successful, the API returns details of the testing * process, optionally including how long each operation took. You can use this * information to determine the performance of your storage system. If any diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/RepositoryAnalyzeRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/RepositoryAnalyzeRequest.java index 06ff9504e3..fdeb00df03 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/RepositoryAnalyzeRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/RepositoryAnalyzeRequest.java @@ -115,6 +115,17 @@ * supplier of your storage system to address the incompatibilities that * Elasticsearch detects. *

+ * The analysis may also report a failure if your repository experienced a + * service disruption while the analysis was running. In practice, occasional + * service disruptions are inevitable, but the analysis cannot itself + * distinguish such disruptions from incorrect behavior so must report all + * deviations from the expected behavior as failures. If you are certain that + * you can ascribe an analysis failure to such a service disruption, wait for + * your service provider to resolve the disruption and then re-run the analysis. + * Elasticsearch will be unable to create or restore snapshots during repository + * service disruptions, so you must ensure that these events occur only very + * rarely. + *

* If the analysis is successful, the API returns details of the testing * process, optionally including how long each operation took. You can use this * information to determine the performance of your storage system. If any diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/Settings.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/Settings.java index 05bb5b7313..5f46e5cb82 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/Settings.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/Settings.java @@ -158,7 +158,9 @@ public final Float docsPerSecond() { * Defines the initial page size to use for the composite aggregation for each * checkpoint. If circuit breaker exceptions occur, the page size is dynamically * adjusted to a lower value. The minimum value is 10 and the - * maximum is 65,536. + * maximum is 65,536. The default value is 500 for + * pivot transforms and 5000 for latest + * transforms. *

* API name: {@code max_page_search_size} */ @@ -370,7 +372,9 @@ public final Builder docsPerSecond(@Nullable Float value) { * Defines the initial page size to use for the composite aggregation for each * checkpoint. If circuit breaker exceptions occur, the page size is dynamically * adjusted to a lower value. The minimum value is 10 and the - * maximum is 65,536. + * maximum is 65,536. The default value is 500 for + * pivot transforms and 5000 for latest + * transforms. *

* API name: {@code max_page_search_size} */