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 5d036bb98..94f948351 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 @@ -351,7 +351,7 @@ public ElasticsearchXpackAsyncClient xpack() { * request. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/docs-bulk.html">Documentation * on elastic.co */ @@ -370,7 +370,7 @@ public CompletableFuture bulk(BulkRequest request) { * a function that initializes a builder to create the * {@link BulkRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/docs-bulk.html">Documentation * on elastic.co */ @@ -383,7 +383,7 @@ public final CompletableFuture bulk(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/docs-bulk.html">Documentation * on elastic.co */ @@ -398,7 +398,7 @@ public CompletableFuture bulk() { * Explicitly clears the search context for a scroll. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/clear-scroll-api.html">Documentation * on elastic.co */ @@ -416,7 +416,7 @@ public CompletableFuture clearScroll(ClearScrollRequest req * a function that initializes a builder to create the * {@link ClearScrollRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/clear-scroll-api.html">Documentation * on elastic.co */ @@ -429,7 +429,7 @@ public final CompletableFuture clearScroll( * Explicitly clears the search context for a scroll. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/clear-scroll-api.html">Documentation * on elastic.co */ @@ -444,7 +444,7 @@ public CompletableFuture clearScroll() { * Close a point in time * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/point-in-time-api.html">Documentation * on elastic.co */ @@ -462,7 +462,7 @@ public CompletableFuture closePointInTime(ClosePointIn * a function that initializes a builder to create the * {@link ClosePointInTimeRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/point-in-time-api.html">Documentation * on elastic.co */ @@ -1500,7 +1500,7 @@ public CompletableFuture mtermvectors() { * Open a point in time that can be used in subsequent searches * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/point-in-time-api.html">Documentation * on elastic.co */ @@ -1518,7 +1518,7 @@ public CompletableFuture openPointInTime(OpenPointInTim * a function that initializes a builder to create the * {@link OpenPointInTimeRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/point-in-time-api.html">Documentation * on elastic.co */ @@ -2238,7 +2238,8 @@ public final CompletableFuture updateByQuery(UpdateByQueryReque } /** - * Performs an update on every document in the index without changing the + * Updates documents that match the specified query. If no query is specified, + * performs an update on every document in the index without changing the * source, for example to pick up a mapping change. * * @param fn 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 10e55792c..bab5c2406 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 @@ -352,7 +352,7 @@ public ElasticsearchXpackClient xpack() { * request. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/docs-bulk.html">Documentation * on elastic.co */ @@ -371,7 +371,7 @@ public BulkResponse bulk(BulkRequest request) throws IOException, ElasticsearchE * a function that initializes a builder to create the * {@link BulkRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/docs-bulk.html">Documentation * on elastic.co */ @@ -385,7 +385,7 @@ public final BulkResponse bulk(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/docs-bulk.html">Documentation * on elastic.co */ @@ -400,7 +400,7 @@ public BulkResponse bulk() throws IOException, ElasticsearchException { * Explicitly clears the search context for a scroll. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/clear-scroll-api.html">Documentation * on elastic.co */ @@ -418,7 +418,7 @@ public ClearScrollResponse clearScroll(ClearScrollRequest request) throws IOExce * a function that initializes a builder to create the * {@link ClearScrollRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/clear-scroll-api.html">Documentation * on elastic.co */ @@ -432,7 +432,7 @@ public final ClearScrollResponse clearScroll( * Explicitly clears the search context for a scroll. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/clear-scroll-api.html">Documentation * on elastic.co */ @@ -447,7 +447,7 @@ public ClearScrollResponse clearScroll() throws IOException, ElasticsearchExcept * Close a point in time * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/point-in-time-api.html">Documentation * on elastic.co */ @@ -466,7 +466,7 @@ public ClosePointInTimeResponse closePointInTime(ClosePointInTimeRequest request * a function that initializes a builder to create the * {@link ClosePointInTimeRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/point-in-time-api.html">Documentation * on elastic.co */ @@ -1526,7 +1526,7 @@ public MtermvectorsResponse mtermvectors() throws IOException, ElasticsearchExce * Open a point in time that can be used in subsequent searches * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/point-in-time-api.html">Documentation * on elastic.co */ @@ -1545,7 +1545,7 @@ public OpenPointInTimeResponse openPointInTime(OpenPointInTimeRequest request) * a function that initializes a builder to create the * {@link OpenPointInTimeRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/point-in-time-api.html">Documentation * on elastic.co */ @@ -2283,7 +2283,8 @@ public final UpdateResponse update( // ----- Endpoint: update_by_query /** - * Performs an update on every document in the index without changing the + * Updates documents that match the specified query. If no query is specified, + * performs an update on every document in the index without changing the * source, for example to pick up a mapping change. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/sort-search-results.html">Documentation * on elastic.co * @see API * specification diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/IcuTokenizer.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/IcuTokenizer.java index 987e0c4c0..73c56560c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/IcuTokenizer.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/IcuTokenizer.java @@ -55,7 +55,7 @@ * specification */ @JsonpDeserializable -public class IcuTokenizer extends TokenizerBase implements TokenizerDefinitionVariant, TokenFilterDefinitionVariant { +public class IcuTokenizer extends TokenizerBase implements TokenizerDefinitionVariant { private final String ruleFiles; // --------------------------------------------------------------------------------------------- @@ -79,14 +79,6 @@ public TokenizerDefinition.Kind _tokenizerDefinitionKind() { return TokenizerDefinition.Kind.IcuTokenizer; } - /** - * TokenFilterDefinition variant kind. - */ - @Override - public TokenFilterDefinition.Kind _tokenFilterDefinitionKind() { - return TokenFilterDefinition.Kind.IcuTokenizer; - } - /** * Required - API name: {@code rule_files} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/Normalizer.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/Normalizer.java index e77e04a35..72a1a4980 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/Normalizer.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/Normalizer.java @@ -57,7 +57,7 @@ /** * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/analysis-normalizers.html">Documentation * on elastic.co * @see API * specification diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/TokenFilterDefinition.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/TokenFilterDefinition.java index 0c4bfdd57..108e4a1d5 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/TokenFilterDefinition.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/TokenFilterDefinition.java @@ -100,8 +100,6 @@ public enum Kind implements JsonEnum { IcuNormalizer("icu_normalizer"), - IcuTokenizer("icu_tokenizer"), - IcuTransform("icu_transform"), Kstem("kstem"), @@ -454,23 +452,6 @@ public IcuNormalizationTokenFilter icuNormalizer() { return TaggedUnionUtils.get(this, Kind.IcuNormalizer); } - /** - * Is this variant instance of kind {@code icu_tokenizer}? - */ - public boolean isIcuTokenizer() { - return _kind == Kind.IcuTokenizer; - } - - /** - * Get the {@code icu_tokenizer} variant value. - * - * @throws IllegalStateException - * if the current variant is not of the {@code icu_tokenizer} kind. - */ - public IcuTokenizer icuTokenizer() { - return TaggedUnionUtils.get(this, Kind.IcuTokenizer); - } - /** * Is this variant instance of kind {@code icu_transform}? */ @@ -1254,17 +1235,6 @@ public ObjectBuilder icuNormalizer( return this.icuNormalizer(fn.apply(new IcuNormalizationTokenFilter.Builder()).build()); } - public ObjectBuilder icuTokenizer(IcuTokenizer v) { - this._kind = Kind.IcuTokenizer; - this._value = v; - return this; - } - - public ObjectBuilder icuTokenizer( - Function> fn) { - return this.icuTokenizer(fn.apply(new IcuTokenizer.Builder()).build()); - } - public ObjectBuilder icuTransform(IcuTransformTokenFilter v) { this._kind = Kind.IcuTransform; this._value = v; @@ -1679,7 +1649,6 @@ protected static void setupTokenFilterDefinitionDeserializer(ObjectDeserializer< op.add(Builder::icuCollation, IcuCollationTokenFilter._DESERIALIZER, "icu_collation"); op.add(Builder::icuFolding, IcuFoldingTokenFilter._DESERIALIZER, "icu_folding"); op.add(Builder::icuNormalizer, IcuNormalizationTokenFilter._DESERIALIZER, "icu_normalizer"); - op.add(Builder::icuTokenizer, IcuTokenizer._DESERIALIZER, "icu_tokenizer"); op.add(Builder::icuTransform, IcuTransformTokenFilter._DESERIALIZER, "icu_transform"); op.add(Builder::kstem, KStemTokenFilter._DESERIALIZER, "kstem"); op.add(Builder::keepTypes, KeepTypesTokenFilter._DESERIALIZER, "keep_types"); diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/TokenFilterDefinitionBuilders.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/TokenFilterDefinitionBuilders.java index 3219daec5..3eadfbbad 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/TokenFilterDefinitionBuilders.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/TokenFilterDefinitionBuilders.java @@ -293,24 +293,6 @@ public static TokenFilterDefinition icuNormalizer( return builder.build(); } - /** - * Creates a builder for the {@link IcuTokenizer icu_tokenizer} - * {@code TokenFilterDefinition} variant. - */ - public static IcuTokenizer.Builder icuTokenizer() { - return new IcuTokenizer.Builder(); - } - - /** - * Creates a TokenFilterDefinition of the {@link IcuTokenizer icu_tokenizer} - * {@code TokenFilterDefinition} variant. - */ - public static TokenFilterDefinition icuTokenizer(Function> fn) { - TokenFilterDefinition.Builder builder = new TokenFilterDefinition.Builder(); - builder.icuTokenizer(fn.apply(new IcuTokenizer.Builder()).build()); - return builder.build(); - } - /** * Creates a builder for the {@link IcuTransformTokenFilter icu_transform} * {@code TokenFilterDefinition} variant. diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/GeoShapeProperty.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/GeoShapeProperty.java index 94d7cf5a7..27b35a8e6 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/GeoShapeProperty.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/GeoShapeProperty.java @@ -53,7 +53,7 @@ * searching with arbitrary geo shapes such as rectangles and polygons. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/geo-shape.html">Documentation * on elastic.co * @see API diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/ShapeProperty.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/ShapeProperty.java index 278d1173f..c85000e68 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/ShapeProperty.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/ShapeProperty.java @@ -54,7 +54,7 @@ * polygons. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/shape.html">Documentation * on elastic.co * @see API * specification diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/Like.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/Like.java index 6459ffaab..9a48f7a30 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/Like.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/Like.java @@ -60,7 +60,7 @@ * the text. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/query-dsl-mlt-query.html#_document_input_parameters">Documentation * on elastic.co * @see API * specification diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/Query.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/Query.java index 0da95a9ca..b373897d9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/Query.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/Query.java @@ -61,7 +61,7 @@ /** * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/query-dsl.html">Documentation * on elastic.co * @see API diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/ElasticsearchAsyncSearchAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/ElasticsearchAsyncSearchAsyncClient.java index 684840378..7216d1064 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/ElasticsearchAsyncSearchAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/ElasticsearchAsyncSearchAsyncClient.java @@ -76,7 +76,7 @@ public ElasticsearchAsyncSearchAsyncClient withTransportOptions(@Nullable Transp * request will be cancelled. Otherwise, the saved search results are deleted. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/async-search.html">Documentation * on elastic.co */ @@ -95,7 +95,7 @@ public CompletableFuture delete(DeleteAsyncSearchRequ * a function that initializes a builder to create the * {@link DeleteAsyncSearchRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/async-search.html">Documentation * on elastic.co */ @@ -111,7 +111,7 @@ public final CompletableFuture delete( * its ID. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/async-search.html">Documentation * on elastic.co */ @@ -133,7 +133,7 @@ public CompletableFuture> get(GetA * a function that initializes a builder to create the * {@link GetAsyncSearchRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/async-search.html">Documentation * on elastic.co */ @@ -148,7 +148,7 @@ public final CompletableFuture> ge * its ID. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/async-search.html">Documentation * on elastic.co */ @@ -170,7 +170,7 @@ public CompletableFuture> get(GetA * a function that initializes a builder to create the * {@link GetAsyncSearchRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/async-search.html">Documentation * on elastic.co */ @@ -186,7 +186,7 @@ public final CompletableFuture> ge * ID. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/async-search.html">Documentation * on elastic.co */ @@ -205,7 +205,7 @@ public CompletableFuture status(AsyncSearchStatusRequ * a function that initializes a builder to create the * {@link AsyncSearchStatusRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/async-search.html">Documentation * on elastic.co */ @@ -220,7 +220,7 @@ public final CompletableFuture status( * Executes a search request asynchronously. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/async-search.html">Documentation * on elastic.co */ @@ -241,7 +241,7 @@ public CompletableFuture> submit(SubmitReq * a function that initializes a builder to create the * {@link SubmitRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/async-search.html">Documentation * on elastic.co */ @@ -254,7 +254,7 @@ public final CompletableFuture> submit( * Executes a search request asynchronously. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/async-search.html">Documentation * on elastic.co */ @@ -274,7 +274,7 @@ public CompletableFuture> submit(SubmitReq * a function that initializes a builder to create the * {@link SubmitRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/async-search.html">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/ElasticsearchAsyncSearchClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/ElasticsearchAsyncSearchClient.java index 2d9d39c31..e1be22f7f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/ElasticsearchAsyncSearchClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/ElasticsearchAsyncSearchClient.java @@ -75,7 +75,7 @@ public ElasticsearchAsyncSearchClient withTransportOptions(@Nullable TransportOp * request will be cancelled. Otherwise, the saved search results are deleted. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/async-search.html">Documentation * on elastic.co */ @@ -95,7 +95,7 @@ public DeleteAsyncSearchResponse delete(DeleteAsyncSearchRequest request) * a function that initializes a builder to create the * {@link DeleteAsyncSearchRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/async-search.html">Documentation * on elastic.co */ @@ -112,7 +112,7 @@ public final DeleteAsyncSearchResponse delete( * its ID. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/async-search.html">Documentation * on elastic.co */ @@ -134,7 +134,7 @@ public GetAsyncSearchResponse get(GetAsyncSearchRequest r * a function that initializes a builder to create the * {@link GetAsyncSearchRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/async-search.html">Documentation * on elastic.co */ @@ -149,7 +149,7 @@ public final GetAsyncSearchResponse get( * its ID. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/async-search.html">Documentation * on elastic.co */ @@ -171,7 +171,7 @@ public GetAsyncSearchResponse get(GetAsyncSearchRequest r * a function that initializes a builder to create the * {@link GetAsyncSearchRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/async-search.html">Documentation * on elastic.co */ @@ -188,7 +188,7 @@ public final GetAsyncSearchResponse get( * ID. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/async-search.html">Documentation * on elastic.co */ @@ -208,7 +208,7 @@ public AsyncSearchStatusResponse status(AsyncSearchStatusRequest request) * a function that initializes a builder to create the * {@link AsyncSearchStatusRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/async-search.html">Documentation * on elastic.co */ @@ -224,7 +224,7 @@ public final AsyncSearchStatusResponse status( * Executes a search request asynchronously. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/async-search.html">Documentation * on elastic.co */ @@ -245,7 +245,7 @@ public SubmitResponse submit(SubmitRequest request, Class * a function that initializes a builder to create the * {@link SubmitRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/async-search.html">Documentation * on elastic.co */ @@ -259,7 +259,7 @@ public final SubmitResponse submit( * Executes a search request asynchronously. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/async-search.html">Documentation * on elastic.co */ @@ -280,7 +280,7 @@ public SubmitResponse submit(SubmitRequest request, Type * a function that initializes a builder to create the * {@link SubmitRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/async-search.html">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/ElasticsearchAutoscalingAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/ElasticsearchAutoscalingAsyncClient.java index a49980466..40661c5d2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/ElasticsearchAutoscalingAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/ElasticsearchAutoscalingAsyncClient.java @@ -74,7 +74,7 @@ public ElasticsearchAutoscalingAsyncClient withTransportOptions(@Nullable Transp * Direct use is not supported. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/autoscaling-delete-autoscaling-policy.html">Documentation * on elastic.co */ @@ -94,7 +94,7 @@ public CompletableFuture deleteAutoscalingPolic * a function that initializes a builder to create the * {@link DeleteAutoscalingPolicyRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/autoscaling-delete-autoscaling-policy.html">Documentation * on elastic.co */ @@ -111,7 +111,7 @@ public final CompletableFuture deleteAutoscalin * supported. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/autoscaling-get-autoscaling-capacity.html">Documentation * on elastic.co */ public CompletableFuture getAutoscalingCapacity() { @@ -126,7 +126,7 @@ public CompletableFuture getAutoscalingCapacity( * ECK. Direct use is not supported. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/autoscaling-get-autoscaling-capacity.html">Documentation * on elastic.co */ @@ -145,7 +145,7 @@ public CompletableFuture getAutoscalingPolicy(GetA * a function that initializes a builder to create the * {@link GetAutoscalingPolicyRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/autoscaling-get-autoscaling-capacity.html">Documentation * on elastic.co */ @@ -161,7 +161,7 @@ public final CompletableFuture getAutoscalingPolic * ECK. Direct use is not supported. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/autoscaling-put-autoscaling-policy.html">Documentation * on elastic.co */ @@ -180,7 +180,7 @@ public CompletableFuture putAutoscalingPolicy(PutA * a function that initializes a builder to create the * {@link PutAutoscalingPolicyRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/autoscaling-put-autoscaling-policy.html">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/ElasticsearchAutoscalingClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/ElasticsearchAutoscalingClient.java index dc456d821..9d25ad71d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/ElasticsearchAutoscalingClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/ElasticsearchAutoscalingClient.java @@ -73,7 +73,7 @@ public ElasticsearchAutoscalingClient withTransportOptions(@Nullable TransportOp * Direct use is not supported. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/autoscaling-delete-autoscaling-policy.html">Documentation * on elastic.co */ @@ -93,7 +93,7 @@ public DeleteAutoscalingPolicyResponse deleteAutoscalingPolicy(DeleteAutoscaling * a function that initializes a builder to create the * {@link DeleteAutoscalingPolicyRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/autoscaling-delete-autoscaling-policy.html">Documentation * on elastic.co */ @@ -111,7 +111,7 @@ public final DeleteAutoscalingPolicyResponse deleteAutoscalingPolicy( * supported. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/autoscaling-get-autoscaling-capacity.html">Documentation * on elastic.co */ public GetAutoscalingCapacityResponse getAutoscalingCapacity() throws IOException, ElasticsearchException { @@ -126,7 +126,7 @@ public GetAutoscalingCapacityResponse getAutoscalingCapacity() throws IOExceptio * ECK. Direct use is not supported. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/autoscaling-get-autoscaling-capacity.html">Documentation * on elastic.co */ @@ -146,7 +146,7 @@ public GetAutoscalingPolicyResponse getAutoscalingPolicy(GetAutoscalingPolicyReq * a function that initializes a builder to create the * {@link GetAutoscalingPolicyRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/autoscaling-get-autoscaling-capacity.html">Documentation * on elastic.co */ @@ -163,7 +163,7 @@ public final GetAutoscalingPolicyResponse getAutoscalingPolicy( * ECK. Direct use is not supported. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/autoscaling-put-autoscaling-policy.html">Documentation * on elastic.co */ @@ -183,7 +183,7 @@ public PutAutoscalingPolicyResponse putAutoscalingPolicy(PutAutoscalingPolicyReq * a function that initializes a builder to create the * {@link PutAutoscalingPolicyRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/autoscaling-put-autoscaling-policy.html">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ElasticsearchCatAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ElasticsearchCatAsyncClient.java index 7ad0f01af..122472c52 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ElasticsearchCatAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ElasticsearchCatAsyncClient.java @@ -71,7 +71,7 @@ public ElasticsearchCatAsyncClient withTransportOptions(@Nullable TransportOptio * filter and routing infos. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-alias.html">Documentation * on elastic.co */ @@ -90,7 +90,7 @@ public CompletableFuture aliases(AliasesRequest request) { * a function that initializes a builder to create the * {@link AliasesRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-alias.html">Documentation * on elastic.co */ @@ -104,7 +104,7 @@ public final CompletableFuture aliases( * filter and routing infos. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-alias.html">Documentation * on elastic.co */ @@ -120,7 +120,7 @@ public CompletableFuture aliases() { * how much disk space they are using. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-allocation.html">Documentation * on elastic.co */ @@ -139,7 +139,7 @@ public CompletableFuture allocation(AllocationRequest reques * a function that initializes a builder to create the * {@link AllocationRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-allocation.html">Documentation * on elastic.co */ @@ -153,7 +153,7 @@ public final CompletableFuture allocation( * how much disk space they are using. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-allocation.html">Documentation * on elastic.co */ @@ -215,7 +215,7 @@ public CompletableFuture componentTemplates() { * individual indices. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-count.html">Documentation * on elastic.co */ @@ -234,7 +234,7 @@ public CompletableFuture count(CountRequest request) { * a function that initializes a builder to create the * {@link CountRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-count.html">Documentation * on elastic.co */ @@ -248,7 +248,7 @@ public final CompletableFuture count( * individual indices. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-count.html">Documentation * on elastic.co */ @@ -264,7 +264,7 @@ public CompletableFuture count() { * node in the cluster. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-fielddata.html">Documentation * on elastic.co */ @@ -283,7 +283,7 @@ public CompletableFuture fielddata(FielddataRequest request) * a function that initializes a builder to create the * {@link FielddataRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-fielddata.html">Documentation * on elastic.co */ @@ -297,7 +297,7 @@ public final CompletableFuture fielddata( * node in the cluster. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-fielddata.html">Documentation * on elastic.co */ @@ -312,7 +312,7 @@ public CompletableFuture fielddata() { * Returns a concise representation of the cluster health. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-health.html">Documentation * on elastic.co */ @@ -330,7 +330,7 @@ public CompletableFuture health(HealthRequest request) { * a function that initializes a builder to create the * {@link HealthRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-health.html">Documentation * on elastic.co */ @@ -343,7 +343,7 @@ public final CompletableFuture health( * Returns a concise representation of the cluster health. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-health.html">Documentation * on elastic.co */ @@ -358,7 +358,7 @@ public CompletableFuture health() { * Returns help for the Cat APIs. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat.html">Documentation * on elastic.co */ public CompletableFuture help() { @@ -372,7 +372,7 @@ public CompletableFuture help() { * counts, disk size, ... * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-indices.html">Documentation * on elastic.co */ @@ -391,7 +391,7 @@ public CompletableFuture indices(IndicesRequest request) { * a function that initializes a builder to create the * {@link IndicesRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-indices.html">Documentation * on elastic.co */ @@ -405,7 +405,7 @@ public final CompletableFuture indices( * counts, disk size, ... * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-indices.html">Documentation * on elastic.co */ @@ -420,7 +420,7 @@ public CompletableFuture indices() { * Returns information about the master node. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-master.html">Documentation * on elastic.co */ public CompletableFuture master() { @@ -434,7 +434,7 @@ public CompletableFuture master() { * Gets configuration and usage information about data frame analytics jobs. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-dfanalytics.html">Documentation * on elastic.co */ @@ -452,7 +452,7 @@ public CompletableFuture mlDataFrameAnalytics(MlDa * a function that initializes a builder to create the * {@link MlDataFrameAnalyticsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-dfanalytics.html">Documentation * on elastic.co */ @@ -465,7 +465,7 @@ public final CompletableFuture mlDataFrameAnalytic * Gets configuration and usage information about data frame analytics jobs. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-dfanalytics.html">Documentation * on elastic.co */ @@ -480,7 +480,7 @@ public CompletableFuture mlDataFrameAnalytics() { * Gets configuration and usage information about datafeeds. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-datafeeds.html">Documentation * on elastic.co */ @@ -498,7 +498,7 @@ public CompletableFuture mlDatafeeds(MlDatafeedsRequest req * a function that initializes a builder to create the * {@link MlDatafeedsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-datafeeds.html">Documentation * on elastic.co */ @@ -511,7 +511,7 @@ public final CompletableFuture mlDatafeeds( * Gets configuration and usage information about datafeeds. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-datafeeds.html">Documentation * on elastic.co */ @@ -526,7 +526,7 @@ public CompletableFuture mlDatafeeds() { * Gets configuration and usage information about anomaly detection jobs. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-anomaly-detectors.html">Documentation * on elastic.co */ @@ -544,7 +544,7 @@ public CompletableFuture mlJobs(MlJobsRequest request) { * a function that initializes a builder to create the * {@link MlJobsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-anomaly-detectors.html">Documentation * on elastic.co */ @@ -557,7 +557,7 @@ public final CompletableFuture mlJobs( * Gets configuration and usage information about anomaly detection jobs. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-anomaly-detectors.html">Documentation * on elastic.co */ @@ -572,7 +572,7 @@ public CompletableFuture mlJobs() { * Gets configuration and usage information about inference trained models. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-trained-model.html">Documentation * on elastic.co */ @@ -590,7 +590,7 @@ public CompletableFuture mlTrainedModels(MlTrainedModel * a function that initializes a builder to create the * {@link MlTrainedModelsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-trained-model.html">Documentation * on elastic.co */ @@ -603,7 +603,7 @@ public final CompletableFuture mlTrainedModels( * Gets configuration and usage information about inference trained models. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-trained-model.html">Documentation * on elastic.co */ @@ -618,7 +618,7 @@ public CompletableFuture mlTrainedModels() { * Returns information about custom node attributes. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-nodeattrs.html">Documentation * on elastic.co */ public CompletableFuture nodeattrs() { @@ -632,7 +632,7 @@ public CompletableFuture nodeattrs() { * Returns basic statistics about performance of cluster nodes. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-nodes.html">Documentation * on elastic.co */ @@ -650,7 +650,7 @@ public CompletableFuture nodes(NodesRequest request) { * a function that initializes a builder to create the * {@link NodesRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-nodes.html">Documentation * on elastic.co */ @@ -663,7 +663,7 @@ public final CompletableFuture nodes( * Returns basic statistics about performance of cluster nodes. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-nodes.html">Documentation * on elastic.co */ @@ -678,7 +678,7 @@ public CompletableFuture nodes() { * Returns a concise representation of the cluster pending tasks. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-pending-tasks.html">Documentation * on elastic.co */ public CompletableFuture pendingTasks() { @@ -692,7 +692,7 @@ public CompletableFuture pendingTasks() { * Returns information about installed plugins across nodes node. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-plugins.html">Documentation * on elastic.co */ public CompletableFuture plugins() { @@ -706,7 +706,7 @@ public CompletableFuture plugins() { * Returns information about index shard recoveries, both on-going completed. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-recovery.html">Documentation * on elastic.co */ @@ -724,7 +724,7 @@ public CompletableFuture recovery(RecoveryRequest request) { * a function that initializes a builder to create the * {@link RecoveryRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-recovery.html">Documentation * on elastic.co */ @@ -737,7 +737,7 @@ public final CompletableFuture recovery( * Returns information about index shard recoveries, both on-going completed. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-recovery.html">Documentation * on elastic.co */ @@ -752,7 +752,7 @@ public CompletableFuture recovery() { * Returns information about snapshot repositories registered in the cluster. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-repositories.html">Documentation * on elastic.co */ public CompletableFuture repositories() { @@ -766,7 +766,7 @@ public CompletableFuture repositories() { * Provides low-level information about the segments in the shards of an index. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-segments.html">Documentation * on elastic.co */ @@ -784,7 +784,7 @@ public CompletableFuture segments(SegmentsRequest request) { * a function that initializes a builder to create the * {@link SegmentsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-segments.html">Documentation * on elastic.co */ @@ -797,7 +797,7 @@ public final CompletableFuture segments( * Provides low-level information about the segments in the shards of an index. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-segments.html">Documentation * on elastic.co */ @@ -812,7 +812,7 @@ public CompletableFuture segments() { * Provides a detailed view of shard allocation on nodes. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-shards.html">Documentation * on elastic.co */ @@ -830,7 +830,7 @@ public CompletableFuture shards(ShardsRequest request) { * a function that initializes a builder to create the * {@link ShardsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-shards.html">Documentation * on elastic.co */ @@ -843,7 +843,7 @@ public final CompletableFuture shards( * Provides a detailed view of shard allocation on nodes. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-shards.html">Documentation * on elastic.co */ @@ -858,7 +858,7 @@ public CompletableFuture shards() { * Returns all snapshots in a specific repository. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-snapshots.html">Documentation * on elastic.co */ @@ -876,7 +876,7 @@ public CompletableFuture snapshots(SnapshotsRequest request) * a function that initializes a builder to create the * {@link SnapshotsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-snapshots.html">Documentation * on elastic.co */ @@ -889,7 +889,7 @@ public final CompletableFuture snapshots( * Returns all snapshots in a specific repository. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-snapshots.html">Documentation * on elastic.co */ @@ -905,7 +905,7 @@ public CompletableFuture snapshots() { * in the cluster. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/tasks.html">Documentation * on elastic.co */ @@ -924,7 +924,7 @@ public CompletableFuture tasks(TasksRequest request) { * a function that initializes a builder to create the * {@link TasksRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/tasks.html">Documentation * on elastic.co */ @@ -938,7 +938,7 @@ public final CompletableFuture tasks( * in the cluster. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/tasks.html">Documentation * on elastic.co */ @@ -953,7 +953,7 @@ public CompletableFuture tasks() { * Returns information about existing templates. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-templates.html">Documentation * on elastic.co */ @@ -971,7 +971,7 @@ public CompletableFuture templates(TemplatesRequest request) * a function that initializes a builder to create the * {@link TemplatesRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-templates.html">Documentation * on elastic.co */ @@ -984,7 +984,7 @@ public final CompletableFuture templates( * Returns information about existing templates. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-templates.html">Documentation * on elastic.co */ @@ -1000,7 +1000,7 @@ public CompletableFuture templates() { * queue and rejected statistics are returned for all thread pools. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-thread-pool.html">Documentation * on elastic.co */ @@ -1019,7 +1019,7 @@ public CompletableFuture threadPool(ThreadPoolRequest reques * a function that initializes a builder to create the * {@link ThreadPoolRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-thread-pool.html">Documentation * on elastic.co */ @@ -1033,7 +1033,7 @@ public final CompletableFuture threadPool( * queue and rejected statistics are returned for all thread pools. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-thread-pool.html">Documentation * on elastic.co */ @@ -1048,7 +1048,7 @@ public CompletableFuture threadPool() { * Gets configuration and usage information about transforms. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-transforms.html">Documentation * on elastic.co */ @@ -1066,7 +1066,7 @@ public CompletableFuture transforms(TransformsRequest reques * a function that initializes a builder to create the * {@link TransformsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-transforms.html">Documentation * on elastic.co */ @@ -1079,7 +1079,7 @@ public final CompletableFuture transforms( * Gets configuration and usage information about transforms. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-transforms.html">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ElasticsearchCatClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ElasticsearchCatClient.java index dfe709fc3..cf56e634e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ElasticsearchCatClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ElasticsearchCatClient.java @@ -72,7 +72,7 @@ public ElasticsearchCatClient withTransportOptions(@Nullable TransportOptions tr * filter and routing infos. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-alias.html">Documentation * on elastic.co */ @@ -91,7 +91,7 @@ public AliasesResponse aliases(AliasesRequest request) throws IOException, Elast * a function that initializes a builder to create the * {@link AliasesRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-alias.html">Documentation * on elastic.co */ @@ -105,7 +105,7 @@ public final AliasesResponse aliases(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-alias.html">Documentation * on elastic.co */ @@ -121,7 +121,7 @@ public AliasesResponse aliases() throws IOException, ElasticsearchException { * how much disk space they are using. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-allocation.html">Documentation * on elastic.co */ @@ -140,7 +140,7 @@ public AllocationResponse allocation(AllocationRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link AllocationRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-allocation.html">Documentation * on elastic.co */ @@ -154,7 +154,7 @@ public final AllocationResponse allocation(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-allocation.html">Documentation * on elastic.co */ @@ -218,7 +218,7 @@ public ComponentTemplatesResponse componentTemplates() throws IOException, Elast * individual indices. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-count.html">Documentation * on elastic.co */ @@ -237,7 +237,7 @@ public CountResponse count(CountRequest request) throws IOException, Elasticsear * a function that initializes a builder to create the * {@link CountRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-count.html">Documentation * on elastic.co */ @@ -251,7 +251,7 @@ public final CountResponse count(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-count.html">Documentation * on elastic.co */ @@ -267,7 +267,7 @@ public CountResponse count() throws IOException, ElasticsearchException { * node in the cluster. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-fielddata.html">Documentation * on elastic.co */ @@ -286,7 +286,7 @@ public FielddataResponse fielddata(FielddataRequest request) throws IOException, * a function that initializes a builder to create the * {@link FielddataRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-fielddata.html">Documentation * on elastic.co */ @@ -300,7 +300,7 @@ public final FielddataResponse fielddata(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-fielddata.html">Documentation * on elastic.co */ @@ -315,7 +315,7 @@ public FielddataResponse fielddata() throws IOException, ElasticsearchException * Returns a concise representation of the cluster health. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-health.html">Documentation * on elastic.co */ @@ -333,7 +333,7 @@ public HealthResponse health(HealthRequest request) throws IOException, Elastics * a function that initializes a builder to create the * {@link HealthRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-health.html">Documentation * on elastic.co */ @@ -346,7 +346,7 @@ public final HealthResponse health(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-health.html">Documentation * on elastic.co */ @@ -361,7 +361,7 @@ public HealthResponse health() throws IOException, ElasticsearchException { * Returns help for the Cat APIs. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat.html">Documentation * on elastic.co */ public HelpResponse help() throws IOException, ElasticsearchException { @@ -375,7 +375,7 @@ public HelpResponse help() throws IOException, ElasticsearchException { * counts, disk size, ... * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-indices.html">Documentation * on elastic.co */ @@ -394,7 +394,7 @@ public IndicesResponse indices(IndicesRequest request) throws IOException, Elast * a function that initializes a builder to create the * {@link IndicesRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-indices.html">Documentation * on elastic.co */ @@ -408,7 +408,7 @@ public final IndicesResponse indices(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-indices.html">Documentation * on elastic.co */ @@ -423,7 +423,7 @@ public IndicesResponse indices() throws IOException, ElasticsearchException { * Returns information about the master node. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-master.html">Documentation * on elastic.co */ public MasterResponse master() throws IOException, ElasticsearchException { @@ -436,7 +436,7 @@ public MasterResponse master() throws IOException, ElasticsearchException { * Gets configuration and usage information about data frame analytics jobs. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-dfanalytics.html">Documentation * on elastic.co */ @@ -455,7 +455,7 @@ public MlDataFrameAnalyticsResponse mlDataFrameAnalytics(MlDataFrameAnalyticsReq * a function that initializes a builder to create the * {@link MlDataFrameAnalyticsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-dfanalytics.html">Documentation * on elastic.co */ @@ -469,7 +469,7 @@ public final MlDataFrameAnalyticsResponse mlDataFrameAnalytics( * Gets configuration and usage information about data frame analytics jobs. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-dfanalytics.html">Documentation * on elastic.co */ @@ -484,7 +484,7 @@ public MlDataFrameAnalyticsResponse mlDataFrameAnalytics() throws IOException, E * Gets configuration and usage information about datafeeds. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-datafeeds.html">Documentation * on elastic.co */ @@ -502,7 +502,7 @@ public MlDatafeedsResponse mlDatafeeds(MlDatafeedsRequest request) throws IOExce * a function that initializes a builder to create the * {@link MlDatafeedsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-datafeeds.html">Documentation * on elastic.co */ @@ -516,7 +516,7 @@ public final MlDatafeedsResponse mlDatafeeds( * Gets configuration and usage information about datafeeds. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-datafeeds.html">Documentation * on elastic.co */ @@ -531,7 +531,7 @@ public MlDatafeedsResponse mlDatafeeds() throws IOException, ElasticsearchExcept * Gets configuration and usage information about anomaly detection jobs. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-anomaly-detectors.html">Documentation * on elastic.co */ @@ -549,7 +549,7 @@ public MlJobsResponse mlJobs(MlJobsRequest request) throws IOException, Elastics * a function that initializes a builder to create the * {@link MlJobsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-anomaly-detectors.html">Documentation * on elastic.co */ @@ -562,7 +562,7 @@ public final MlJobsResponse mlJobs(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-anomaly-detectors.html">Documentation * on elastic.co */ @@ -577,7 +577,7 @@ public MlJobsResponse mlJobs() throws IOException, ElasticsearchException { * Gets configuration and usage information about inference trained models. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-trained-model.html">Documentation * on elastic.co */ @@ -596,7 +596,7 @@ public MlTrainedModelsResponse mlTrainedModels(MlTrainedModelsRequest request) * a function that initializes a builder to create the * {@link MlTrainedModelsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-trained-model.html">Documentation * on elastic.co */ @@ -610,7 +610,7 @@ public final MlTrainedModelsResponse mlTrainedModels( * Gets configuration and usage information about inference trained models. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-trained-model.html">Documentation * on elastic.co */ @@ -625,7 +625,7 @@ public MlTrainedModelsResponse mlTrainedModels() throws IOException, Elasticsear * Returns information about custom node attributes. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-nodeattrs.html">Documentation * on elastic.co */ public NodeattrsResponse nodeattrs() throws IOException, ElasticsearchException { @@ -639,7 +639,7 @@ public NodeattrsResponse nodeattrs() throws IOException, ElasticsearchException * Returns basic statistics about performance of cluster nodes. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-nodes.html">Documentation * on elastic.co */ @@ -657,7 +657,7 @@ public NodesResponse nodes(NodesRequest request) throws IOException, Elasticsear * a function that initializes a builder to create the * {@link NodesRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-nodes.html">Documentation * on elastic.co */ @@ -670,7 +670,7 @@ public final NodesResponse nodes(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-nodes.html">Documentation * on elastic.co */ @@ -685,7 +685,7 @@ public NodesResponse nodes() throws IOException, ElasticsearchException { * Returns a concise representation of the cluster pending tasks. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-pending-tasks.html">Documentation * on elastic.co */ public PendingTasksResponse pendingTasks() throws IOException, ElasticsearchException { @@ -699,7 +699,7 @@ public PendingTasksResponse pendingTasks() throws IOException, ElasticsearchExce * Returns information about installed plugins across nodes node. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-plugins.html">Documentation * on elastic.co */ public PluginsResponse plugins() throws IOException, ElasticsearchException { @@ -712,7 +712,7 @@ public PluginsResponse plugins() throws IOException, ElasticsearchException { * Returns information about index shard recoveries, both on-going completed. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-recovery.html">Documentation * on elastic.co */ @@ -730,7 +730,7 @@ public RecoveryResponse recovery(RecoveryRequest request) throws IOException, El * a function that initializes a builder to create the * {@link RecoveryRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-recovery.html">Documentation * on elastic.co */ @@ -743,7 +743,7 @@ public final RecoveryResponse recovery(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-recovery.html">Documentation * on elastic.co */ @@ -758,7 +758,7 @@ public RecoveryResponse recovery() throws IOException, ElasticsearchException { * Returns information about snapshot repositories registered in the cluster. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-repositories.html">Documentation * on elastic.co */ public RepositoriesResponse repositories() throws IOException, ElasticsearchException { @@ -772,7 +772,7 @@ public RepositoriesResponse repositories() throws IOException, ElasticsearchExce * Provides low-level information about the segments in the shards of an index. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-segments.html">Documentation * on elastic.co */ @@ -790,7 +790,7 @@ public SegmentsResponse segments(SegmentsRequest request) throws IOException, El * a function that initializes a builder to create the * {@link SegmentsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-segments.html">Documentation * on elastic.co */ @@ -803,7 +803,7 @@ public final SegmentsResponse segments(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-segments.html">Documentation * on elastic.co */ @@ -818,7 +818,7 @@ public SegmentsResponse segments() throws IOException, ElasticsearchException { * Provides a detailed view of shard allocation on nodes. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-shards.html">Documentation * on elastic.co */ @@ -836,7 +836,7 @@ public ShardsResponse shards(ShardsRequest request) throws IOException, Elastics * a function that initializes a builder to create the * {@link ShardsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-shards.html">Documentation * on elastic.co */ @@ -849,7 +849,7 @@ public final ShardsResponse shards(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-shards.html">Documentation * on elastic.co */ @@ -864,7 +864,7 @@ public ShardsResponse shards() throws IOException, ElasticsearchException { * Returns all snapshots in a specific repository. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-snapshots.html">Documentation * on elastic.co */ @@ -882,7 +882,7 @@ public SnapshotsResponse snapshots(SnapshotsRequest request) throws IOException, * a function that initializes a builder to create the * {@link SnapshotsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-snapshots.html">Documentation * on elastic.co */ @@ -895,7 +895,7 @@ public final SnapshotsResponse snapshots(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-snapshots.html">Documentation * on elastic.co */ @@ -911,7 +911,7 @@ public SnapshotsResponse snapshots() throws IOException, ElasticsearchException * in the cluster. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/tasks.html">Documentation * on elastic.co */ @@ -930,7 +930,7 @@ public TasksResponse tasks(TasksRequest request) throws IOException, Elasticsear * a function that initializes a builder to create the * {@link TasksRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/tasks.html">Documentation * on elastic.co */ @@ -944,7 +944,7 @@ public final TasksResponse tasks(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/tasks.html">Documentation * on elastic.co */ @@ -959,7 +959,7 @@ public TasksResponse tasks() throws IOException, ElasticsearchException { * Returns information about existing templates. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-templates.html">Documentation * on elastic.co */ @@ -977,7 +977,7 @@ public TemplatesResponse templates(TemplatesRequest request) throws IOException, * a function that initializes a builder to create the * {@link TemplatesRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-templates.html">Documentation * on elastic.co */ @@ -990,7 +990,7 @@ public final TemplatesResponse templates(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-templates.html">Documentation * on elastic.co */ @@ -1006,7 +1006,7 @@ public TemplatesResponse templates() throws IOException, ElasticsearchException * queue and rejected statistics are returned for all thread pools. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-thread-pool.html">Documentation * on elastic.co */ @@ -1025,7 +1025,7 @@ public ThreadPoolResponse threadPool(ThreadPoolRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link ThreadPoolRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-thread-pool.html">Documentation * on elastic.co */ @@ -1039,7 +1039,7 @@ public final ThreadPoolResponse threadPool(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-thread-pool.html">Documentation * on elastic.co */ @@ -1054,7 +1054,7 @@ public ThreadPoolResponse threadPool() throws IOException, ElasticsearchExceptio * Gets configuration and usage information about transforms. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-transforms.html">Documentation * on elastic.co */ @@ -1072,7 +1072,7 @@ public TransformsResponse transforms(TransformsRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link TransformsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-transforms.html">Documentation * on elastic.co */ @@ -1085,7 +1085,7 @@ public final TransformsResponse transforms(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cat-transforms.html">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ElasticsearchCcrAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ElasticsearchCcrAsyncClient.java index 8b1852817..5307108f5 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ElasticsearchCcrAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ElasticsearchCcrAsyncClient.java @@ -70,7 +70,7 @@ public ElasticsearchCcrAsyncClient withTransportOptions(@Nullable TransportOptio * Deletes auto-follow patterns. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-delete-auto-follow-pattern.html">Documentation * on elastic.co */ @@ -89,7 +89,7 @@ public CompletableFuture deleteAutoFollowPatter * a function that initializes a builder to create the * {@link DeleteAutoFollowPatternRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-delete-auto-follow-pattern.html">Documentation * on elastic.co */ @@ -105,7 +105,7 @@ public final CompletableFuture deleteAutoFollow * index. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-put-follow.html">Documentation * on elastic.co */ @@ -124,7 +124,7 @@ public CompletableFuture follow(FollowRequest request) { * a function that initializes a builder to create the * {@link FollowRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-put-follow.html">Documentation * on elastic.co */ @@ -140,7 +140,7 @@ public final CompletableFuture follow( * status for each follower index * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-get-follow-info.html">Documentation * on elastic.co */ @@ -159,7 +159,7 @@ public CompletableFuture followInfo(FollowInfoRequest reques * a function that initializes a builder to create the * {@link FollowInfoRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-get-follow-info.html">Documentation * on elastic.co */ @@ -175,7 +175,7 @@ public final CompletableFuture followInfo( * associated with each shard for the specified indices. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-get-follow-stats.html">Documentation * on elastic.co */ @@ -194,7 +194,7 @@ public CompletableFuture followStats(FollowStatsRequest req * a function that initializes a builder to create the * {@link FollowStatsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-get-follow-stats.html">Documentation * on elastic.co */ @@ -209,7 +209,7 @@ public final CompletableFuture followStats( * Removes the follower retention leases from the leader. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-post-forget-follower.html">Documentation * on elastic.co */ @@ -227,7 +227,7 @@ public CompletableFuture forgetFollower(ForgetFollowerRe * a function that initializes a builder to create the * {@link ForgetFollowerRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-post-forget-follower.html">Documentation * on elastic.co */ @@ -243,7 +243,7 @@ public final CompletableFuture forgetFollower( * pattern collection. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-get-auto-follow-pattern.html">Documentation * on elastic.co */ @@ -262,7 +262,7 @@ public CompletableFuture getAutoFollowPattern(GetA * a function that initializes a builder to create the * {@link GetAutoFollowPatternRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-get-auto-follow-pattern.html">Documentation * on elastic.co */ @@ -276,7 +276,7 @@ public final CompletableFuture getAutoFollowPatter * pattern collection. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-get-auto-follow-pattern.html">Documentation * on elastic.co */ @@ -291,7 +291,7 @@ public CompletableFuture getAutoFollowPattern() { * Pauses an auto-follow pattern * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-pause-auto-follow-pattern.html">Documentation * on elastic.co */ @@ -310,7 +310,7 @@ public CompletableFuture pauseAutoFollowPattern( * a function that initializes a builder to create the * {@link PauseAutoFollowPatternRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-pause-auto-follow-pattern.html">Documentation * on elastic.co */ @@ -326,7 +326,7 @@ public final CompletableFuture pauseAutoFollowPa * operations from the leader index. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-post-pause-follow.html">Documentation * on elastic.co */ @@ -345,7 +345,7 @@ public CompletableFuture pauseFollow(PauseFollowRequest req * a function that initializes a builder to create the * {@link PauseFollowRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-post-pause-follow.html">Documentation * on elastic.co */ @@ -362,7 +362,7 @@ public final CompletableFuture pauseFollow( * the specified patterns will be automatically configured as follower indices. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-put-auto-follow-pattern.html">Documentation * on elastic.co */ @@ -382,7 +382,7 @@ public CompletableFuture putAutoFollowPattern(PutA * a function that initializes a builder to create the * {@link PutAutoFollowPatternRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-put-auto-follow-pattern.html">Documentation * on elastic.co */ @@ -397,7 +397,7 @@ public final CompletableFuture putAutoFollowPatter * Resumes an auto-follow pattern that has been paused * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-resume-auto-follow-pattern.html">Documentation * on elastic.co */ @@ -416,7 +416,7 @@ public CompletableFuture resumeAutoFollowPatter * a function that initializes a builder to create the * {@link ResumeAutoFollowPatternRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-resume-auto-follow-pattern.html">Documentation * on elastic.co */ @@ -431,7 +431,7 @@ public final CompletableFuture resumeAutoFollow * Resumes a follower index that has been paused * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-post-resume-follow.html">Documentation * on elastic.co */ @@ -449,7 +449,7 @@ public CompletableFuture resumeFollow(ResumeFollowRequest * a function that initializes a builder to create the * {@link ResumeFollowRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-post-resume-follow.html">Documentation * on elastic.co */ @@ -464,7 +464,7 @@ public final CompletableFuture resumeFollow( * Gets all stats related to cross-cluster replication. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-get-stats.html">Documentation * on elastic.co */ public CompletableFuture stats() { @@ -479,7 +479,7 @@ public CompletableFuture stats() { * metadata and settings associated with cross-cluster replication. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-post-unfollow.html">Documentation * on elastic.co */ @@ -498,7 +498,7 @@ public CompletableFuture unfollow(UnfollowRequest request) { * a function that initializes a builder to create the * {@link UnfollowRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-post-unfollow.html">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ElasticsearchCcrClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ElasticsearchCcrClient.java index 97c8e0c42..3b3d4730b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ElasticsearchCcrClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ElasticsearchCcrClient.java @@ -71,7 +71,7 @@ public ElasticsearchCcrClient withTransportOptions(@Nullable TransportOptions tr * Deletes auto-follow patterns. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-delete-auto-follow-pattern.html">Documentation * on elastic.co */ @@ -90,7 +90,7 @@ public DeleteAutoFollowPatternResponse deleteAutoFollowPattern(DeleteAutoFollowP * a function that initializes a builder to create the * {@link DeleteAutoFollowPatternRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-delete-auto-follow-pattern.html">Documentation * on elastic.co */ @@ -107,7 +107,7 @@ public final DeleteAutoFollowPatternResponse deleteAutoFollowPattern( * index. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-put-follow.html">Documentation * on elastic.co */ @@ -126,7 +126,7 @@ public FollowResponse follow(FollowRequest request) throws IOException, Elastics * a function that initializes a builder to create the * {@link FollowRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-put-follow.html">Documentation * on elastic.co */ @@ -142,7 +142,7 @@ public final FollowResponse follow(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-get-follow-info.html">Documentation * on elastic.co */ @@ -161,7 +161,7 @@ public FollowInfoResponse followInfo(FollowInfoRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link FollowInfoRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-get-follow-info.html">Documentation * on elastic.co */ @@ -177,7 +177,7 @@ public final FollowInfoResponse followInfo(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-get-follow-stats.html">Documentation * on elastic.co */ @@ -196,7 +196,7 @@ public FollowStatsResponse followStats(FollowStatsRequest request) throws IOExce * a function that initializes a builder to create the * {@link FollowStatsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-get-follow-stats.html">Documentation * on elastic.co */ @@ -212,7 +212,7 @@ public final FollowStatsResponse followStats( * Removes the follower retention leases from the leader. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-post-forget-follower.html">Documentation * on elastic.co */ @@ -231,7 +231,7 @@ public ForgetFollowerResponse forgetFollower(ForgetFollowerRequest request) * a function that initializes a builder to create the * {@link ForgetFollowerRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-post-forget-follower.html">Documentation * on elastic.co */ @@ -248,7 +248,7 @@ public final ForgetFollowerResponse forgetFollower( * pattern collection. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-get-auto-follow-pattern.html">Documentation * on elastic.co */ @@ -268,7 +268,7 @@ public GetAutoFollowPatternResponse getAutoFollowPattern(GetAutoFollowPatternReq * a function that initializes a builder to create the * {@link GetAutoFollowPatternRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-get-auto-follow-pattern.html">Documentation * on elastic.co */ @@ -283,7 +283,7 @@ public final GetAutoFollowPatternResponse getAutoFollowPattern( * pattern collection. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-get-auto-follow-pattern.html">Documentation * on elastic.co */ @@ -298,7 +298,7 @@ public GetAutoFollowPatternResponse getAutoFollowPattern() throws IOException, E * Pauses an auto-follow pattern * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-pause-auto-follow-pattern.html">Documentation * on elastic.co */ @@ -317,7 +317,7 @@ public PauseAutoFollowPatternResponse pauseAutoFollowPattern(PauseAutoFollowPatt * a function that initializes a builder to create the * {@link PauseAutoFollowPatternRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-pause-auto-follow-pattern.html">Documentation * on elastic.co */ @@ -334,7 +334,7 @@ public final PauseAutoFollowPatternResponse pauseAutoFollowPattern( * operations from the leader index. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-post-pause-follow.html">Documentation * on elastic.co */ @@ -353,7 +353,7 @@ public PauseFollowResponse pauseFollow(PauseFollowRequest request) throws IOExce * a function that initializes a builder to create the * {@link PauseFollowRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-post-pause-follow.html">Documentation * on elastic.co */ @@ -371,7 +371,7 @@ public final PauseFollowResponse pauseFollow( * the specified patterns will be automatically configured as follower indices. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-put-auto-follow-pattern.html">Documentation * on elastic.co */ @@ -392,7 +392,7 @@ public PutAutoFollowPatternResponse putAutoFollowPattern(PutAutoFollowPatternReq * a function that initializes a builder to create the * {@link PutAutoFollowPatternRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-put-auto-follow-pattern.html">Documentation * on elastic.co */ @@ -408,7 +408,7 @@ public final PutAutoFollowPatternResponse putAutoFollowPattern( * Resumes an auto-follow pattern that has been paused * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-resume-auto-follow-pattern.html">Documentation * on elastic.co */ @@ -427,7 +427,7 @@ public ResumeAutoFollowPatternResponse resumeAutoFollowPattern(ResumeAutoFollowP * a function that initializes a builder to create the * {@link ResumeAutoFollowPatternRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-resume-auto-follow-pattern.html">Documentation * on elastic.co */ @@ -443,7 +443,7 @@ public final ResumeAutoFollowPatternResponse resumeAutoFollowPattern( * Resumes a follower index that has been paused * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-post-resume-follow.html">Documentation * on elastic.co */ @@ -461,7 +461,7 @@ public ResumeFollowResponse resumeFollow(ResumeFollowRequest request) throws IOE * a function that initializes a builder to create the * {@link ResumeFollowRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-post-resume-follow.html">Documentation * on elastic.co */ @@ -477,7 +477,7 @@ public final ResumeFollowResponse resumeFollow( * Gets all stats related to cross-cluster replication. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-get-stats.html">Documentation * on elastic.co */ public CcrStatsResponse stats() throws IOException, ElasticsearchException { @@ -492,7 +492,7 @@ public CcrStatsResponse stats() throws IOException, ElasticsearchException { * metadata and settings associated with cross-cluster replication. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-post-unfollow.html">Documentation * on elastic.co */ @@ -511,7 +511,7 @@ public UnfollowResponse unfollow(UnfollowRequest request) throws IOException, El * a function that initializes a builder to create the * {@link UnfollowRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ccr-post-unfollow.html">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/ElasticsearchClusterAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/ElasticsearchClusterAsyncClient.java index 3fd28d52e..338d437b8 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/ElasticsearchClusterAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/ElasticsearchClusterAsyncClient.java @@ -74,7 +74,7 @@ public ElasticsearchClusterAsyncClient withTransportOptions(@Nullable TransportO * Provides explanations for shard allocations in the cluster. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-allocation-explain.html">Documentation * on elastic.co */ @@ -92,7 +92,7 @@ public CompletableFuture allocationExplain(Allocation * a function that initializes a builder to create the * {@link AllocationExplainRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-allocation-explain.html">Documentation * on elastic.co */ @@ -105,7 +105,7 @@ public final CompletableFuture allocationExplain( * Provides explanations for shard allocations in the cluster. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-allocation-explain.html">Documentation * on elastic.co */ @@ -120,7 +120,7 @@ public CompletableFuture allocationExplain() { * Deletes a component template * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-component-template.html">Documentation * on elastic.co */ @@ -139,7 +139,7 @@ public CompletableFuture deleteComponentTemplat * a function that initializes a builder to create the * {@link DeleteComponentTemplateRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-component-template.html">Documentation * on elastic.co */ @@ -154,7 +154,7 @@ public final CompletableFuture deleteComponentT * Clears cluster voting config exclusions. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/voting-config-exclusions.html">Documentation * on elastic.co */ @@ -173,7 +173,7 @@ public CompletableFuture deleteVotingConfigExclusions( * a function that initializes a builder to create the * {@link DeleteVotingConfigExclusionsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/voting-config-exclusions.html">Documentation * on elastic.co */ @@ -186,7 +186,7 @@ public final CompletableFuture deleteVotingConfigExclusions( * Clears cluster voting config exclusions. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/voting-config-exclusions.html">Documentation * on elastic.co */ @@ -201,7 +201,7 @@ public CompletableFuture deleteVotingConfigExclusions() { * Returns information about whether a particular component template exist * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-component-template.html">Documentation * on elastic.co */ @@ -219,7 +219,7 @@ public CompletableFuture existsComponentTemplate(ExistsComponen * a function that initializes a builder to create the * {@link ExistsComponentTemplateRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-component-template.html">Documentation * on elastic.co */ @@ -234,7 +234,7 @@ public final CompletableFuture existsComponentTemplate( * Returns one or more component templates * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-component-template.html">Documentation * on elastic.co */ @@ -252,7 +252,7 @@ public CompletableFuture getComponentTemplate(GetC * a function that initializes a builder to create the * {@link GetComponentTemplateRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-component-template.html">Documentation * on elastic.co */ @@ -265,7 +265,7 @@ public final CompletableFuture getComponentTemplat * Returns one or more component templates * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-component-template.html">Documentation * on elastic.co */ @@ -280,7 +280,7 @@ public CompletableFuture getComponentTemplate() { * Returns cluster settings. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-get-settings.html">Documentation * on elastic.co */ @@ -298,7 +298,7 @@ public CompletableFuture getSettings(GetClusterSetti * a function that initializes a builder to create the * {@link GetClusterSettingsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-get-settings.html">Documentation * on elastic.co */ @@ -311,7 +311,7 @@ public final CompletableFuture getSettings( * Returns cluster settings. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-get-settings.html">Documentation * on elastic.co */ @@ -326,7 +326,7 @@ public CompletableFuture getSettings() { * Returns basic information about the health of the cluster. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-health.html">Documentation * on elastic.co */ @@ -344,7 +344,7 @@ public CompletableFuture health(HealthRequest request) { * a function that initializes a builder to create the * {@link HealthRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-health.html">Documentation * on elastic.co */ @@ -357,7 +357,7 @@ public final CompletableFuture health( * Returns basic information about the health of the cluster. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-health.html">Documentation * on elastic.co */ @@ -372,7 +372,7 @@ public CompletableFuture health() { * Returns different information about the cluster. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-info.html">Documentation * on elastic.co */ @@ -390,7 +390,7 @@ public CompletableFuture info(ClusterInfoRequest request) { * a function that initializes a builder to create the * {@link ClusterInfoRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-info.html">Documentation * on elastic.co */ @@ -406,7 +406,7 @@ public final CompletableFuture info( * mapping, allocate or fail shard) which have not yet been executed. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-pending.html">Documentation * on elastic.co */ @@ -425,7 +425,7 @@ public CompletableFuture pendingTasks(PendingTasksRequest * a function that initializes a builder to create the * {@link PendingTasksRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-pending.html">Documentation * on elastic.co */ @@ -439,7 +439,7 @@ public final CompletableFuture pendingTasks( * mapping, allocate or fail shard) which have not yet been executed. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-pending.html">Documentation * on elastic.co */ @@ -454,7 +454,7 @@ public CompletableFuture pendingTasks() { * Updates the cluster voting config exclusions by node ids or node names. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/voting-config-exclusions.html">Documentation * on elastic.co */ @@ -472,7 +472,7 @@ public CompletableFuture postVotingConfigExclusions(PostVotingC * a function that initializes a builder to create the * {@link PostVotingConfigExclusionsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/voting-config-exclusions.html">Documentation * on elastic.co */ @@ -485,7 +485,7 @@ public final CompletableFuture postVotingConfigExclusions( * Updates the cluster voting config exclusions by node ids or node names. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/voting-config-exclusions.html">Documentation * on elastic.co */ @@ -500,7 +500,7 @@ public CompletableFuture postVotingConfigExclusions() { * Creates or updates a component template * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-component-template.html">Documentation * on elastic.co */ @@ -518,7 +518,7 @@ public CompletableFuture putComponentTemplate(PutC * a function that initializes a builder to create the * {@link PutComponentTemplateRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-component-template.html">Documentation * on elastic.co */ @@ -533,7 +533,7 @@ public final CompletableFuture putComponentTemplat * Updates the cluster settings. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-update-settings.html">Documentation * on elastic.co */ @@ -551,7 +551,7 @@ public CompletableFuture putSettings(PutClusterSetti * a function that initializes a builder to create the * {@link PutClusterSettingsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-update-settings.html">Documentation * on elastic.co */ @@ -564,7 +564,7 @@ public final CompletableFuture putSettings( * Updates the cluster settings. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-update-settings.html">Documentation * on elastic.co */ @@ -579,7 +579,7 @@ public CompletableFuture putSettings() { * Returns the information about configured remote clusters. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-remote-info.html">Documentation * on elastic.co */ public CompletableFuture remoteInfo() { @@ -593,7 +593,7 @@ public CompletableFuture remoteInfo() { * Allows to manually change the allocation of individual shards in the cluster. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-reroute.html">Documentation * on elastic.co */ @@ -611,7 +611,7 @@ public CompletableFuture reroute(RerouteRequest request) { * a function that initializes a builder to create the * {@link RerouteRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-reroute.html">Documentation * on elastic.co */ @@ -624,7 +624,7 @@ public final CompletableFuture reroute( * Allows to manually change the allocation of individual shards in the cluster. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-reroute.html">Documentation * on elastic.co */ @@ -639,7 +639,7 @@ public CompletableFuture reroute() { * Returns a comprehensive information about the state of the cluster. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-state.html">Documentation * on elastic.co */ @@ -657,7 +657,7 @@ public CompletableFuture state(StateRequest request) { * a function that initializes a builder to create the * {@link StateRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-state.html">Documentation * on elastic.co */ @@ -670,7 +670,7 @@ public final CompletableFuture state( * Returns a comprehensive information about the state of the cluster. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-state.html">Documentation * on elastic.co */ @@ -685,7 +685,7 @@ public CompletableFuture state() { * Returns high-level overview of cluster statistics. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-stats.html">Documentation * on elastic.co */ @@ -703,7 +703,7 @@ public CompletableFuture stats(ClusterStatsRequest request * a function that initializes a builder to create the * {@link ClusterStatsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-stats.html">Documentation * on elastic.co */ @@ -716,7 +716,7 @@ public final CompletableFuture stats( * Returns high-level overview of cluster statistics. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-stats.html">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/ElasticsearchClusterClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/ElasticsearchClusterClient.java index b67362cce..001a8ef11 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/ElasticsearchClusterClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/ElasticsearchClusterClient.java @@ -72,7 +72,7 @@ public ElasticsearchClusterClient withTransportOptions(@Nullable TransportOption * Provides explanations for shard allocations in the cluster. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-allocation-explain.html">Documentation * on elastic.co */ @@ -91,7 +91,7 @@ public AllocationExplainResponse allocationExplain(AllocationExplainRequest requ * a function that initializes a builder to create the * {@link AllocationExplainRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-allocation-explain.html">Documentation * on elastic.co */ @@ -105,7 +105,7 @@ public final AllocationExplainResponse allocationExplain( * Provides explanations for shard allocations in the cluster. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-allocation-explain.html">Documentation * on elastic.co */ @@ -120,7 +120,7 @@ public AllocationExplainResponse allocationExplain() throws IOException, Elastic * Deletes a component template * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-component-template.html">Documentation * on elastic.co */ @@ -139,7 +139,7 @@ public DeleteComponentTemplateResponse deleteComponentTemplate(DeleteComponentTe * a function that initializes a builder to create the * {@link DeleteComponentTemplateRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-component-template.html">Documentation * on elastic.co */ @@ -155,7 +155,7 @@ public final DeleteComponentTemplateResponse deleteComponentTemplate( * Clears cluster voting config exclusions. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/voting-config-exclusions.html">Documentation * on elastic.co */ @@ -174,7 +174,7 @@ public BooleanResponse deleteVotingConfigExclusions(DeleteVotingConfigExclusions * a function that initializes a builder to create the * {@link DeleteVotingConfigExclusionsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/voting-config-exclusions.html">Documentation * on elastic.co */ @@ -188,7 +188,7 @@ public final BooleanResponse deleteVotingConfigExclusions( * Clears cluster voting config exclusions. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/voting-config-exclusions.html">Documentation * on elastic.co */ @@ -203,7 +203,7 @@ public BooleanResponse deleteVotingConfigExclusions() throws IOException, Elasti * Returns information about whether a particular component template exist * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-component-template.html">Documentation * on elastic.co */ @@ -222,7 +222,7 @@ public BooleanResponse existsComponentTemplate(ExistsComponentTemplateRequest re * a function that initializes a builder to create the * {@link ExistsComponentTemplateRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-component-template.html">Documentation * on elastic.co */ @@ -238,7 +238,7 @@ public final BooleanResponse existsComponentTemplate( * Returns one or more component templates * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-component-template.html">Documentation * on elastic.co */ @@ -257,7 +257,7 @@ public GetComponentTemplateResponse getComponentTemplate(GetComponentTemplateReq * a function that initializes a builder to create the * {@link GetComponentTemplateRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-component-template.html">Documentation * on elastic.co */ @@ -271,7 +271,7 @@ public final GetComponentTemplateResponse getComponentTemplate( * Returns one or more component templates * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-component-template.html">Documentation * on elastic.co */ @@ -286,7 +286,7 @@ public GetComponentTemplateResponse getComponentTemplate() throws IOException, E * Returns cluster settings. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-get-settings.html">Documentation * on elastic.co */ @@ -305,7 +305,7 @@ public GetClusterSettingsResponse getSettings(GetClusterSettingsRequest request) * a function that initializes a builder to create the * {@link GetClusterSettingsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-get-settings.html">Documentation * on elastic.co */ @@ -319,7 +319,7 @@ public final GetClusterSettingsResponse getSettings( * Returns cluster settings. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-get-settings.html">Documentation * on elastic.co */ @@ -334,7 +334,7 @@ public GetClusterSettingsResponse getSettings() throws IOException, Elasticsearc * Returns basic information about the health of the cluster. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-health.html">Documentation * on elastic.co */ @@ -352,7 +352,7 @@ public HealthResponse health(HealthRequest request) throws IOException, Elastics * a function that initializes a builder to create the * {@link HealthRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-health.html">Documentation * on elastic.co */ @@ -365,7 +365,7 @@ public final HealthResponse health(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-health.html">Documentation * on elastic.co */ @@ -380,7 +380,7 @@ public HealthResponse health() throws IOException, ElasticsearchException { * Returns different information about the cluster. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-info.html">Documentation * on elastic.co */ @@ -398,7 +398,7 @@ public ClusterInfoResponse info(ClusterInfoRequest request) throws IOException, * a function that initializes a builder to create the * {@link ClusterInfoRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-info.html">Documentation * on elastic.co */ @@ -414,7 +414,7 @@ public final ClusterInfoResponse info(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-pending.html">Documentation * on elastic.co */ @@ -433,7 +433,7 @@ public PendingTasksResponse pendingTasks(PendingTasksRequest request) throws IOE * a function that initializes a builder to create the * {@link PendingTasksRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-pending.html">Documentation * on elastic.co */ @@ -448,7 +448,7 @@ public final PendingTasksResponse pendingTasks( * mapping, allocate or fail shard) which have not yet been executed. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-pending.html">Documentation * on elastic.co */ @@ -463,7 +463,7 @@ public PendingTasksResponse pendingTasks() throws IOException, ElasticsearchExce * Updates the cluster voting config exclusions by node ids or node names. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/voting-config-exclusions.html">Documentation * on elastic.co */ @@ -482,7 +482,7 @@ public BooleanResponse postVotingConfigExclusions(PostVotingConfigExclusionsRequ * a function that initializes a builder to create the * {@link PostVotingConfigExclusionsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/voting-config-exclusions.html">Documentation * on elastic.co */ @@ -496,7 +496,7 @@ public final BooleanResponse postVotingConfigExclusions( * Updates the cluster voting config exclusions by node ids or node names. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/voting-config-exclusions.html">Documentation * on elastic.co */ @@ -511,7 +511,7 @@ public BooleanResponse postVotingConfigExclusions() throws IOException, Elastics * Creates or updates a component template * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-component-template.html">Documentation * on elastic.co */ @@ -530,7 +530,7 @@ public PutComponentTemplateResponse putComponentTemplate(PutComponentTemplateReq * a function that initializes a builder to create the * {@link PutComponentTemplateRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-component-template.html">Documentation * on elastic.co */ @@ -546,7 +546,7 @@ public final PutComponentTemplateResponse putComponentTemplate( * Updates the cluster settings. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-update-settings.html">Documentation * on elastic.co */ @@ -565,7 +565,7 @@ public PutClusterSettingsResponse putSettings(PutClusterSettingsRequest request) * a function that initializes a builder to create the * {@link PutClusterSettingsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-update-settings.html">Documentation * on elastic.co */ @@ -579,7 +579,7 @@ public final PutClusterSettingsResponse putSettings( * Updates the cluster settings. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-update-settings.html">Documentation * on elastic.co */ @@ -594,7 +594,7 @@ public PutClusterSettingsResponse putSettings() throws IOException, Elasticsearc * Returns the information about configured remote clusters. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-remote-info.html">Documentation * on elastic.co */ public RemoteInfoResponse remoteInfo() throws IOException, ElasticsearchException { @@ -608,7 +608,7 @@ public RemoteInfoResponse remoteInfo() throws IOException, ElasticsearchExceptio * Allows to manually change the allocation of individual shards in the cluster. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-reroute.html">Documentation * on elastic.co */ @@ -626,7 +626,7 @@ public RerouteResponse reroute(RerouteRequest request) throws IOException, Elast * a function that initializes a builder to create the * {@link RerouteRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-reroute.html">Documentation * on elastic.co */ @@ -639,7 +639,7 @@ public final RerouteResponse reroute(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-reroute.html">Documentation * on elastic.co */ @@ -654,7 +654,7 @@ public RerouteResponse reroute() throws IOException, ElasticsearchException { * Returns a comprehensive information about the state of the cluster. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-state.html">Documentation * on elastic.co */ @@ -672,7 +672,7 @@ public StateResponse state(StateRequest request) throws IOException, Elasticsear * a function that initializes a builder to create the * {@link StateRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-state.html">Documentation * on elastic.co */ @@ -685,7 +685,7 @@ public final StateResponse state(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-state.html">Documentation * on elastic.co */ @@ -700,7 +700,7 @@ public StateResponse state() throws IOException, ElasticsearchException { * Returns high-level overview of cluster statistics. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-stats.html">Documentation * on elastic.co */ @@ -718,7 +718,7 @@ public ClusterStatsResponse stats(ClusterStatsRequest request) throws IOExceptio * a function that initializes a builder to create the * {@link ClusterStatsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-stats.html">Documentation * on elastic.co */ @@ -732,7 +732,7 @@ public final ClusterStatsResponse stats( * Returns high-level overview of cluster statistics. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-stats.html">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/CommandAllocateReplicaAction.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/CommandAllocateReplicaAction.java index d3ae2429c..81fd72678 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/CommandAllocateReplicaAction.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/CommandAllocateReplicaAction.java @@ -56,7 +56,7 @@ /** * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/modules-cluster.html">Documentation * on elastic.co * @see API diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/FieldCapsRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/FieldCapsRequest.java index 64f85d865..1bc9ceb3c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/FieldCapsRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/FieldCapsRequest.java @@ -87,6 +87,9 @@ public class FieldCapsRequest extends RequestBase implements JsonpSerializable { @Nullable private final Boolean ignoreUnavailable; + @Nullable + private final Boolean includeEmptyFields; + @Nullable private final Boolean includeUnmapped; @@ -108,6 +111,7 @@ private FieldCapsRequest(Builder builder) { this.fields = ApiTypeHelper.unmodifiable(builder.fields); this.filters = builder.filters; this.ignoreUnavailable = builder.ignoreUnavailable; + this.includeEmptyFields = builder.includeEmptyFields; this.includeUnmapped = builder.includeUnmapped; this.index = ApiTypeHelper.unmodifiable(builder.index); this.indexFilter = builder.indexFilter; @@ -178,6 +182,16 @@ public final Boolean ignoreUnavailable() { return this.ignoreUnavailable; } + /** + * If false, empty fields are not included in the response. + *

+ * API name: {@code include_empty_fields} + */ + @Nullable + public final Boolean includeEmptyFields() { + return this.includeEmptyFields; + } + /** * If true, unmapped fields are included in the response. *

@@ -294,6 +308,9 @@ public static class Builder extends RequestBase.AbstractBuilder @Nullable private Boolean ignoreUnavailable; + @Nullable + private Boolean includeEmptyFields; + @Nullable private Boolean includeUnmapped; @@ -401,6 +418,16 @@ public final Builder ignoreUnavailable(@Nullable Boolean value) { return this; } + /** + * If false, empty fields are not included in the response. + *

+ * API name: {@code include_empty_fields} + */ + public final Builder includeEmptyFields(@Nullable Boolean value) { + this.includeEmptyFields = value; + return this; + } + /** * If true, unmapped fields are included in the response. *

@@ -634,6 +661,9 @@ protected static void setupFieldCapsRequestDeserializer(ObjectDeserializerDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/search-rank-eval.html#_discounted_cumulative_gain_dcg">Documentation * on elastic.co * @see API diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalMetricExpectedReciprocalRank.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalMetricExpectedReciprocalRank.java index 43236718b..f6142b716 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalMetricExpectedReciprocalRank.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalMetricExpectedReciprocalRank.java @@ -52,7 +52,7 @@ * Expected Reciprocal Rank (ERR) * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/search-rank-eval.html#_expected_reciprocal_rank_err">Documentation * on elastic.co * @see API diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalMetricMeanReciprocalRank.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalMetricMeanReciprocalRank.java index d640044fc..72fe31d6c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalMetricMeanReciprocalRank.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalMetricMeanReciprocalRank.java @@ -49,7 +49,7 @@ * Mean Reciprocal Rank * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/search-rank-eval.html#_mean_reciprocal_rank">Documentation * on elastic.co * @see API diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalMetricPrecision.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalMetricPrecision.java index 6425e1c25..e636452c0 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalMetricPrecision.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalMetricPrecision.java @@ -52,7 +52,7 @@ * Precision at K (P@k) * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/search-rank-eval.html#k-precision">Documentation * on elastic.co * @see API diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalMetricRecall.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalMetricRecall.java index bfdee4f06..dc727cbfa 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalMetricRecall.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalMetricRecall.java @@ -49,7 +49,7 @@ * Recall at K (R@k) * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/search-rank-eval.html#k-recall">Documentation * on elastic.co * @see API diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/Context.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/Context.java index 781f83485..120558a1a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/Context.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/Context.java @@ -62,7 +62,7 @@ * document's field for the text. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/query-dsl-mlt-query.html#_document_input_parameters">Documentation * on elastic.co * @see API 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 be68cd217..b596510e3 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 @@ -39,7 +39,7 @@ '_global.explain.Request': '_global/explain/ExplainRequest.ts#L26-L105', '_global.explain.Response': '_global/explain/ExplainResponse.ts#L23-L31', '_global.field_caps.FieldCapability': '_global/field_caps/types.ts#L23-L81', -'_global.field_caps.Request': '_global/field_caps/FieldCapabilitiesRequest.ts#L25-L99', +'_global.field_caps.Request': '_global/field_caps/FieldCapabilitiesRequest.ts#L25-L106', '_global.field_caps.Response': '_global/field_caps/FieldCapabilitiesResponse.ts#L24-L35', '_global.get.GetResult': '_global/get/types.ts#L25-L35', '_global.get.Request': '_global/get/GetRequest.ts#L31-L91', @@ -707,7 +707,7 @@ '_types.analysis.TokenChar': '_types/analysis/tokenizers.ts#L47-L54', '_types.analysis.TokenFilter': '_types/analysis/token_filters.ts#L344-L346', '_types.analysis.TokenFilterBase': '_types/analysis/token_filters.ts#L40-L42', -'_types.analysis.TokenFilterDefinition': '_types/analysis/token_filters.ts#L348-L401', +'_types.analysis.TokenFilterDefinition': '_types/analysis/token_filters.ts#L348-L400', '_types.analysis.Tokenizer': '_types/analysis/tokenizers.ts#L120-L122', '_types.analysis.TokenizerBase': '_types/analysis/tokenizers.ts#L27-L29', '_types.analysis.TokenizerDefinition': '_types/analysis/tokenizers.ts#L124-L142', @@ -1234,7 +1234,7 @@ 'ilm.stop.Response': 'ilm/stop/StopIlmResponse.ts#L22-L24', 'indices._types.Alias': 'indices/_types/Alias.ts#L23-L53', 'indices._types.AliasDefinition': 'indices/_types/AliasDefinition.ts#L22-L54', -'indices._types.CacheQueries': 'indices/_types/IndexSettings.ts#L397-L399', +'indices._types.CacheQueries': 'indices/_types/IndexSettings.ts#L401-L403', 'indices._types.DataStream': 'indices/_types/DataStream.ts#L39-L112', 'indices._types.DataStreamIndex': 'indices/_types/DataStream.ts#L121-L142', 'indices._types.DataStreamLifecycle': 'indices/_types/DataStreamLifecycle.ts#L25-L31', @@ -1246,7 +1246,7 @@ 'indices._types.DownsampleConfig': 'indices/_types/Downsample.ts#L22-L27', 'indices._types.DownsamplingRound': 'indices/_types/DownsamplingRound.ts#L23-L32', 'indices._types.FielddataFrequencyFilter': 'indices/_types/FielddataFrequencyFilter.ts#L22-L26', -'indices._types.IndexCheckOnStartup': 'indices/_types/IndexSettings.ts#L252-L259', +'indices._types.IndexCheckOnStartup': 'indices/_types/IndexSettings.ts#L256-L263', 'indices._types.IndexRouting': 'indices/_types/IndexRouting.ts#L22-L25', 'indices._types.IndexRoutingAllocation': 'indices/_types/IndexRouting.ts#L27-L32', 'indices._types.IndexRoutingAllocationDisk': 'indices/_types/IndexRouting.ts#L62-L64', @@ -1256,61 +1256,61 @@ 'indices._types.IndexRoutingRebalance': 'indices/_types/IndexRouting.ts#L34-L36', 'indices._types.IndexRoutingRebalanceOptions': 'indices/_types/IndexRouting.ts#L45-L50', 'indices._types.IndexSegmentSort': 'indices/_types/IndexSegmentSort.ts#L22-L27', -'indices._types.IndexSettingBlocks': 'indices/_types/IndexSettings.ts#L244-L250', +'indices._types.IndexSettingBlocks': 'indices/_types/IndexSettings.ts#L248-L254', 'indices._types.IndexSettings': 'indices/_types/IndexSettings.ts#L69-L167', -'indices._types.IndexSettingsAnalysis': 'indices/_types/IndexSettings.ts#L309-L315', -'indices._types.IndexSettingsLifecycle': 'indices/_types/IndexSettings.ts#L266-L299', -'indices._types.IndexSettingsLifecycleStep': 'indices/_types/IndexSettings.ts#L301-L307', -'indices._types.IndexSettingsTimeSeries': 'indices/_types/IndexSettings.ts#L317-L320', +'indices._types.IndexSettingsAnalysis': 'indices/_types/IndexSettings.ts#L313-L319', +'indices._types.IndexSettingsLifecycle': 'indices/_types/IndexSettings.ts#L270-L303', +'indices._types.IndexSettingsLifecycleStep': 'indices/_types/IndexSettings.ts#L305-L311', +'indices._types.IndexSettingsTimeSeries': 'indices/_types/IndexSettings.ts#L321-L324', 'indices._types.IndexState': 'indices/_types/IndexState.ts#L27-L40', 'indices._types.IndexTemplate': 'indices/_types/IndexTemplate.ts#L31-L70', 'indices._types.IndexTemplateDataStreamConfiguration': 'indices/_types/IndexTemplate.ts#L72-L83', 'indices._types.IndexTemplateSummary': 'indices/_types/IndexTemplate.ts#L85-L107', -'indices._types.IndexVersioning': 'indices/_types/IndexSettings.ts#L261-L264', -'indices._types.IndexingPressure': 'indices/_types/IndexSettings.ts#L533-L535', -'indices._types.IndexingPressureMemory': 'indices/_types/IndexSettings.ts#L537-L544', -'indices._types.IndexingSlowlogSettings': 'indices/_types/IndexSettings.ts#L546-L551', -'indices._types.IndexingSlowlogTresholds': 'indices/_types/IndexSettings.ts#L553-L560', +'indices._types.IndexVersioning': 'indices/_types/IndexSettings.ts#L265-L268', +'indices._types.IndexingPressure': 'indices/_types/IndexSettings.ts#L537-L539', +'indices._types.IndexingPressureMemory': 'indices/_types/IndexSettings.ts#L541-L548', +'indices._types.IndexingSlowlogSettings': 'indices/_types/IndexSettings.ts#L550-L555', +'indices._types.IndexingSlowlogTresholds': 'indices/_types/IndexSettings.ts#L557-L564', 'indices._types.ManagedBy': 'indices/_types/DataStream.ts#L32-L37', -'indices._types.MappingLimitSettings': 'indices/_types/IndexSettings.ts#L401-L414', -'indices._types.MappingLimitSettingsDepth': 'indices/_types/IndexSettings.ts#L426-L433', -'indices._types.MappingLimitSettingsDimensionFields': 'indices/_types/IndexSettings.ts#L463-L469', -'indices._types.MappingLimitSettingsFieldNameLength': 'indices/_types/IndexSettings.ts#L454-L461', -'indices._types.MappingLimitSettingsNestedFields': 'indices/_types/IndexSettings.ts#L435-L443', -'indices._types.MappingLimitSettingsNestedObjects': 'indices/_types/IndexSettings.ts#L445-L452', -'indices._types.MappingLimitSettingsTotalFields': 'indices/_types/IndexSettings.ts#L416-L424', -'indices._types.Merge': 'indices/_types/IndexSettings.ts#L322-L324', -'indices._types.MergeScheduler': 'indices/_types/IndexSettings.ts#L326-L329', +'indices._types.MappingLimitSettings': 'indices/_types/IndexSettings.ts#L405-L418', +'indices._types.MappingLimitSettingsDepth': 'indices/_types/IndexSettings.ts#L430-L437', +'indices._types.MappingLimitSettingsDimensionFields': 'indices/_types/IndexSettings.ts#L467-L473', +'indices._types.MappingLimitSettingsFieldNameLength': 'indices/_types/IndexSettings.ts#L458-L465', +'indices._types.MappingLimitSettingsNestedFields': 'indices/_types/IndexSettings.ts#L439-L447', +'indices._types.MappingLimitSettingsNestedObjects': 'indices/_types/IndexSettings.ts#L449-L456', +'indices._types.MappingLimitSettingsTotalFields': 'indices/_types/IndexSettings.ts#L420-L428', +'indices._types.Merge': 'indices/_types/IndexSettings.ts#L326-L328', +'indices._types.MergeScheduler': 'indices/_types/IndexSettings.ts#L330-L333', 'indices._types.NumericFielddata': 'indices/_types/NumericFielddata.ts#L22-L24', 'indices._types.NumericFielddataFormat': 'indices/_types/NumericFielddataFormat.ts#L20-L23', -'indices._types.Queries': 'indices/_types/IndexSettings.ts#L393-L395', +'indices._types.Queries': 'indices/_types/IndexSettings.ts#L397-L399', 'indices._types.RetentionLease': 'indices/_types/IndexSettings.ts#L65-L67', -'indices._types.SearchIdle': 'indices/_types/IndexSettings.ts#L235-L238', +'indices._types.SearchIdle': 'indices/_types/IndexSettings.ts#L239-L242', 'indices._types.SegmentSortMissing': 'indices/_types/IndexSegmentSort.ts#L43-L46', 'indices._types.SegmentSortMode': 'indices/_types/IndexSegmentSort.ts#L36-L41', 'indices._types.SegmentSortOrder': 'indices/_types/IndexSegmentSort.ts#L29-L34', -'indices._types.SettingsAnalyze': 'indices/_types/IndexSettings.ts#L225-L228', -'indices._types.SettingsHighlight': 'indices/_types/IndexSettings.ts#L220-L223', -'indices._types.SettingsQueryString': 'indices/_types/IndexSettings.ts#L240-L242', -'indices._types.SettingsSearch': 'indices/_types/IndexSettings.ts#L230-L233', -'indices._types.SettingsSimilarity': 'indices/_types/IndexSettings.ts#L169-L177', -'indices._types.SettingsSimilarityBm25': 'indices/_types/IndexSettings.ts#L179-L184', -'indices._types.SettingsSimilarityDfi': 'indices/_types/IndexSettings.ts#L186-L189', -'indices._types.SettingsSimilarityDfr': 'indices/_types/IndexSettings.ts#L191-L196', -'indices._types.SettingsSimilarityIb': 'indices/_types/IndexSettings.ts#L198-L203', -'indices._types.SettingsSimilarityLmd': 'indices/_types/IndexSettings.ts#L205-L208', -'indices._types.SettingsSimilarityLmj': 'indices/_types/IndexSettings.ts#L210-L213', -'indices._types.SettingsSimilarityScriptedTfidf': 'indices/_types/IndexSettings.ts#L215-L218', -'indices._types.SlowlogSettings': 'indices/_types/IndexSettings.ts#L471-L476', -'indices._types.SlowlogTresholdLevels': 'indices/_types/IndexSettings.ts#L483-L488', -'indices._types.SlowlogTresholds': 'indices/_types/IndexSettings.ts#L478-L481', +'indices._types.SettingsAnalyze': 'indices/_types/IndexSettings.ts#L229-L232', +'indices._types.SettingsHighlight': 'indices/_types/IndexSettings.ts#L224-L227', +'indices._types.SettingsQueryString': 'indices/_types/IndexSettings.ts#L244-L246', +'indices._types.SettingsSearch': 'indices/_types/IndexSettings.ts#L234-L237', +'indices._types.SettingsSimilarity': 'indices/_types/IndexSettings.ts#L169-L181', +'indices._types.SettingsSimilarityBm25': 'indices/_types/IndexSettings.ts#L183-L188', +'indices._types.SettingsSimilarityDfi': 'indices/_types/IndexSettings.ts#L190-L193', +'indices._types.SettingsSimilarityDfr': 'indices/_types/IndexSettings.ts#L195-L200', +'indices._types.SettingsSimilarityIb': 'indices/_types/IndexSettings.ts#L202-L207', +'indices._types.SettingsSimilarityLmd': 'indices/_types/IndexSettings.ts#L209-L212', +'indices._types.SettingsSimilarityLmj': 'indices/_types/IndexSettings.ts#L214-L217', +'indices._types.SettingsSimilarityScriptedTfidf': 'indices/_types/IndexSettings.ts#L219-L222', +'indices._types.SlowlogSettings': 'indices/_types/IndexSettings.ts#L475-L480', +'indices._types.SlowlogTresholdLevels': 'indices/_types/IndexSettings.ts#L487-L492', +'indices._types.SlowlogTresholds': 'indices/_types/IndexSettings.ts#L482-L485', 'indices._types.SoftDeletes': 'indices/_types/IndexSettings.ts#L50-L63', -'indices._types.Storage': 'indices/_types/IndexSettings.ts#L490-L499', -'indices._types.StorageType': 'indices/_types/IndexSettings.ts#L501-L531', +'indices._types.Storage': 'indices/_types/IndexSettings.ts#L494-L503', +'indices._types.StorageType': 'indices/_types/IndexSettings.ts#L505-L535', 'indices._types.TemplateMapping': 'indices/_types/TemplateMapping.ts#L27-L34', -'indices._types.Translog': 'indices/_types/IndexSettings.ts#L331-L353', -'indices._types.TranslogDurability': 'indices/_types/IndexSettings.ts#L355-L370', -'indices._types.TranslogRetention': 'indices/_types/IndexSettings.ts#L372-L391', +'indices._types.Translog': 'indices/_types/IndexSettings.ts#L335-L357', +'indices._types.TranslogDurability': 'indices/_types/IndexSettings.ts#L359-L374', +'indices._types.TranslogRetention': 'indices/_types/IndexSettings.ts#L376-L395', 'indices.add_block.IndicesBlockOptions': 'indices/add_block/IndicesAddBlockRequest.ts#L43-L48', 'indices.add_block.IndicesBlockStatus': 'indices/add_block/IndicesAddBlockResponse.ts#L30-L33', 'indices.add_block.Request': 'indices/add_block/IndicesAddBlockRequest.ts#L24-L41', @@ -1516,49 +1516,49 @@ 'inference.put_model.Request': 'inference/put_model/PutModelRequest.ts#L25-L44', 'inference.put_model.Response': 'inference/put_model/PutModelResponse.ts#L22-L24', 'ingest._types.AppendProcessor': 'ingest/_types/Processors.ts#L279-L294', -'ingest._types.AttachmentProcessor': 'ingest/_types/Processors.ts#L296-L332', -'ingest._types.BytesProcessor': 'ingest/_types/Processors.ts#L387-L403', -'ingest._types.CircleProcessor': 'ingest/_types/Processors.ts#L405-L428', -'ingest._types.ConvertProcessor': 'ingest/_types/Processors.ts#L440-L460', -'ingest._types.ConvertType': 'ingest/_types/Processors.ts#L430-L438', -'ingest._types.CsvProcessor': 'ingest/_types/Processors.ts#L462-L495', -'ingest._types.DateIndexNameProcessor': 'ingest/_types/Processors.ts#L497-L535', -'ingest._types.DateProcessor': 'ingest/_types/Processors.ts#L537-L564', -'ingest._types.DissectProcessor': 'ingest/_types/Processors.ts#L566-L585', -'ingest._types.DotExpanderProcessor': 'ingest/_types/Processors.ts#L587-L598', -'ingest._types.DropProcessor': 'ingest/_types/Processors.ts#L600-L600', -'ingest._types.EnrichProcessor': 'ingest/_types/Processors.ts#L602-L641', -'ingest._types.FailProcessor': 'ingest/_types/Processors.ts#L643-L649', -'ingest._types.ForeachProcessor': 'ingest/_types/Processors.ts#L651-L665', -'ingest._types.GeoIpProcessor': 'ingest/_types/Processors.ts#L334-L363', -'ingest._types.GrokProcessor': 'ingest/_types/Processors.ts#L667-L692', -'ingest._types.GsubProcessor': 'ingest/_types/Processors.ts#L694-L718', -'ingest._types.InferenceConfig': 'ingest/_types/Processors.ts#L741-L753', -'ingest._types.InferenceConfigClassification': 'ingest/_types/Processors.ts#L768-L794', -'ingest._types.InferenceConfigRegression': 'ingest/_types/Processors.ts#L755-L766', -'ingest._types.InferenceProcessor': 'ingest/_types/Processors.ts#L720-L739', -'ingest._types.JoinProcessor': 'ingest/_types/Processors.ts#L796-L811', -'ingest._types.JsonProcessor': 'ingest/_types/Processors.ts#L813-L842', -'ingest._types.JsonProcessorConflictStrategy': 'ingest/_types/Processors.ts#L844-L849', -'ingest._types.KeyValueProcessor': 'ingest/_types/Processors.ts#L851-L903', -'ingest._types.LowercaseProcessor': 'ingest/_types/Processors.ts#L905-L921', +'ingest._types.AttachmentProcessor': 'ingest/_types/Processors.ts#L296-L337', +'ingest._types.BytesProcessor': 'ingest/_types/Processors.ts#L392-L408', +'ingest._types.CircleProcessor': 'ingest/_types/Processors.ts#L410-L433', +'ingest._types.ConvertProcessor': 'ingest/_types/Processors.ts#L445-L465', +'ingest._types.ConvertType': 'ingest/_types/Processors.ts#L435-L443', +'ingest._types.CsvProcessor': 'ingest/_types/Processors.ts#L467-L500', +'ingest._types.DateIndexNameProcessor': 'ingest/_types/Processors.ts#L502-L540', +'ingest._types.DateProcessor': 'ingest/_types/Processors.ts#L542-L569', +'ingest._types.DissectProcessor': 'ingest/_types/Processors.ts#L571-L590', +'ingest._types.DotExpanderProcessor': 'ingest/_types/Processors.ts#L592-L603', +'ingest._types.DropProcessor': 'ingest/_types/Processors.ts#L605-L605', +'ingest._types.EnrichProcessor': 'ingest/_types/Processors.ts#L607-L646', +'ingest._types.FailProcessor': 'ingest/_types/Processors.ts#L648-L654', +'ingest._types.ForeachProcessor': 'ingest/_types/Processors.ts#L656-L670', +'ingest._types.GeoIpProcessor': 'ingest/_types/Processors.ts#L339-L368', +'ingest._types.GrokProcessor': 'ingest/_types/Processors.ts#L672-L697', +'ingest._types.GsubProcessor': 'ingest/_types/Processors.ts#L699-L723', +'ingest._types.InferenceConfig': 'ingest/_types/Processors.ts#L746-L758', +'ingest._types.InferenceConfigClassification': 'ingest/_types/Processors.ts#L773-L799', +'ingest._types.InferenceConfigRegression': 'ingest/_types/Processors.ts#L760-L771', +'ingest._types.InferenceProcessor': 'ingest/_types/Processors.ts#L725-L744', +'ingest._types.JoinProcessor': 'ingest/_types/Processors.ts#L801-L816', +'ingest._types.JsonProcessor': 'ingest/_types/Processors.ts#L818-L847', +'ingest._types.JsonProcessorConflictStrategy': 'ingest/_types/Processors.ts#L849-L854', +'ingest._types.KeyValueProcessor': 'ingest/_types/Processors.ts#L856-L908', +'ingest._types.LowercaseProcessor': 'ingest/_types/Processors.ts#L910-L926', 'ingest._types.Pipeline': 'ingest/_types/Pipeline.ts#L23-L45', -'ingest._types.PipelineProcessor': 'ingest/_types/Processors.ts#L923-L934', +'ingest._types.PipelineProcessor': 'ingest/_types/Processors.ts#L928-L939', 'ingest._types.ProcessorBase': 'ingest/_types/Processors.ts#L241-L264', 'ingest._types.ProcessorContainer': 'ingest/_types/Processors.ts#L27-L239', -'ingest._types.RemoveProcessor': 'ingest/_types/Processors.ts#L936-L946', -'ingest._types.RenameProcessor': 'ingest/_types/Processors.ts#L948-L964', -'ingest._types.RerouteProcessor': 'ingest/_types/Processors.ts#L966-L994', -'ingest._types.ScriptProcessor': 'ingest/_types/Processors.ts#L996-L1016', -'ingest._types.SetProcessor': 'ingest/_types/Processors.ts#L1018-L1052', -'ingest._types.SetSecurityUserProcessor': 'ingest/_types/Processors.ts#L1054-L1063', -'ingest._types.ShapeType': 'ingest/_types/Processors.ts#L1065-L1068', -'ingest._types.SortProcessor': 'ingest/_types/Processors.ts#L1070-L1086', -'ingest._types.SplitProcessor': 'ingest/_types/Processors.ts#L1088-L1113', -'ingest._types.TrimProcessor': 'ingest/_types/Processors.ts#L1115-L1131', -'ingest._types.UppercaseProcessor': 'ingest/_types/Processors.ts#L1133-L1149', -'ingest._types.UrlDecodeProcessor': 'ingest/_types/Processors.ts#L1151-L1167', -'ingest._types.UserAgentProcessor': 'ingest/_types/Processors.ts#L365-L385', +'ingest._types.RemoveProcessor': 'ingest/_types/Processors.ts#L941-L951', +'ingest._types.RenameProcessor': 'ingest/_types/Processors.ts#L953-L969', +'ingest._types.RerouteProcessor': 'ingest/_types/Processors.ts#L971-L999', +'ingest._types.ScriptProcessor': 'ingest/_types/Processors.ts#L1001-L1021', +'ingest._types.SetProcessor': 'ingest/_types/Processors.ts#L1023-L1057', +'ingest._types.SetSecurityUserProcessor': 'ingest/_types/Processors.ts#L1059-L1068', +'ingest._types.ShapeType': 'ingest/_types/Processors.ts#L1070-L1073', +'ingest._types.SortProcessor': 'ingest/_types/Processors.ts#L1075-L1091', +'ingest._types.SplitProcessor': 'ingest/_types/Processors.ts#L1093-L1118', +'ingest._types.TrimProcessor': 'ingest/_types/Processors.ts#L1120-L1136', +'ingest._types.UppercaseProcessor': 'ingest/_types/Processors.ts#L1138-L1154', +'ingest._types.UrlDecodeProcessor': 'ingest/_types/Processors.ts#L1156-L1172', +'ingest._types.UserAgentProcessor': 'ingest/_types/Processors.ts#L370-L390', 'ingest._types.UserAgentProperty': 'ingest/_types/Processors.ts#L266-L277', 'ingest.delete_pipeline.Request': 'ingest/delete_pipeline/DeletePipelineRequest.ts#L24-L52', 'ingest.delete_pipeline.Response': 'ingest/delete_pipeline/DeletePipelineResponse.ts#L22-L24', @@ -2025,54 +2025,54 @@ 'nodes.hot_threads.HotThread': 'nodes/hot_threads/types.ts#L23-L28', 'nodes.hot_threads.Request': 'nodes/hot_threads/NodesHotThreadsRequest.ts#L25-L83', 'nodes.hot_threads.Response': 'nodes/hot_threads/NodesHotThreadsResponse.ts#L22-L24', -'nodes.info.DeprecationIndexing': 'nodes/info/types.ts#L143-L145', -'nodes.info.NodeInfo': 'nodes/info/types.ts#L30-L66', -'nodes.info.NodeInfoAction': 'nodes/info/types.ts#L176-L178', -'nodes.info.NodeInfoAggregation': 'nodes/info/types.ts#L227-L229', -'nodes.info.NodeInfoBootstrap': 'nodes/info/types.ts#L196-L198', -'nodes.info.NodeInfoClient': 'nodes/info/types.ts#L180-L182', -'nodes.info.NodeInfoDiscover': 'nodes/info/types.ts#L172-L174', -'nodes.info.NodeInfoHttp': 'nodes/info/types.ts#L298-L303', -'nodes.info.NodeInfoIngest': 'nodes/info/types.ts#L219-L221', -'nodes.info.NodeInfoIngestDownloader': 'nodes/info/types.ts#L127-L129', -'nodes.info.NodeInfoIngestInfo': 'nodes/info/types.ts#L123-L125', -'nodes.info.NodeInfoIngestProcessor': 'nodes/info/types.ts#L223-L225', -'nodes.info.NodeInfoJvmMemory': 'nodes/info/types.ts#L305-L316', -'nodes.info.NodeInfoMemory': 'nodes/info/types.ts#L318-L321', -'nodes.info.NodeInfoNetwork': 'nodes/info/types.ts#L323-L326', -'nodes.info.NodeInfoNetworkInterface': 'nodes/info/types.ts#L328-L332', -'nodes.info.NodeInfoOSCPU': 'nodes/info/types.ts#L334-L343', -'nodes.info.NodeInfoPath': 'nodes/info/types.ts#L157-L162', -'nodes.info.NodeInfoRepositories': 'nodes/info/types.ts#L164-L166', -'nodes.info.NodeInfoRepositoriesUrl': 'nodes/info/types.ts#L168-L170', -'nodes.info.NodeInfoScript': 'nodes/info/types.ts#L276-L279', -'nodes.info.NodeInfoSearch': 'nodes/info/types.ts#L281-L283', -'nodes.info.NodeInfoSearchRemote': 'nodes/info/types.ts#L285-L287', -'nodes.info.NodeInfoSettings': 'nodes/info/types.ts#L68-L84', -'nodes.info.NodeInfoSettingsCluster': 'nodes/info/types.ts#L131-L141', -'nodes.info.NodeInfoSettingsClusterElection': 'nodes/info/types.ts#L147-L149', -'nodes.info.NodeInfoSettingsHttp': 'nodes/info/types.ts#L184-L189', -'nodes.info.NodeInfoSettingsHttpType': 'nodes/info/types.ts#L191-L194', -'nodes.info.NodeInfoSettingsIngest': 'nodes/info/types.ts#L86-L121', -'nodes.info.NodeInfoSettingsNetwork': 'nodes/info/types.ts#L215-L217', -'nodes.info.NodeInfoSettingsNode': 'nodes/info/types.ts#L151-L155', -'nodes.info.NodeInfoSettingsTransport': 'nodes/info/types.ts#L200-L204', -'nodes.info.NodeInfoSettingsTransportFeatures': 'nodes/info/types.ts#L211-L213', -'nodes.info.NodeInfoSettingsTransportType': 'nodes/info/types.ts#L206-L209', -'nodes.info.NodeInfoTransport': 'nodes/info/types.ts#L345-L349', -'nodes.info.NodeInfoXpack': 'nodes/info/types.ts#L231-L235', -'nodes.info.NodeInfoXpackLicense': 'nodes/info/types.ts#L268-L270', -'nodes.info.NodeInfoXpackLicenseType': 'nodes/info/types.ts#L272-L274', -'nodes.info.NodeInfoXpackSecurity': 'nodes/info/types.ts#L237-L242', -'nodes.info.NodeInfoXpackSecurityAuthc': 'nodes/info/types.ts#L248-L251', -'nodes.info.NodeInfoXpackSecurityAuthcRealms': 'nodes/info/types.ts#L253-L257', -'nodes.info.NodeInfoXpackSecurityAuthcRealmsStatus': 'nodes/info/types.ts#L263-L266', -'nodes.info.NodeInfoXpackSecurityAuthcToken': 'nodes/info/types.ts#L259-L261', -'nodes.info.NodeInfoXpackSecuritySsl': 'nodes/info/types.ts#L244-L246', -'nodes.info.NodeJvmInfo': 'nodes/info/types.ts#L351-L365', -'nodes.info.NodeOperatingSystemInfo': 'nodes/info/types.ts#L367-L384', -'nodes.info.NodeProcessInfo': 'nodes/info/types.ts#L386-L393', -'nodes.info.NodeThreadPoolInfo': 'nodes/info/types.ts#L289-L296', +'nodes.info.DeprecationIndexing': 'nodes/info/types.ts#L145-L147', +'nodes.info.NodeInfo': 'nodes/info/types.ts#L32-L68', +'nodes.info.NodeInfoAction': 'nodes/info/types.ts#L180-L182', +'nodes.info.NodeInfoAggregation': 'nodes/info/types.ts#L231-L233', +'nodes.info.NodeInfoBootstrap': 'nodes/info/types.ts#L200-L202', +'nodes.info.NodeInfoClient': 'nodes/info/types.ts#L184-L186', +'nodes.info.NodeInfoDiscover': 'nodes/info/types.ts#L174-L178', +'nodes.info.NodeInfoHttp': 'nodes/info/types.ts#L302-L307', +'nodes.info.NodeInfoIngest': 'nodes/info/types.ts#L223-L225', +'nodes.info.NodeInfoIngestDownloader': 'nodes/info/types.ts#L129-L131', +'nodes.info.NodeInfoIngestInfo': 'nodes/info/types.ts#L125-L127', +'nodes.info.NodeInfoIngestProcessor': 'nodes/info/types.ts#L227-L229', +'nodes.info.NodeInfoJvmMemory': 'nodes/info/types.ts#L309-L320', +'nodes.info.NodeInfoMemory': 'nodes/info/types.ts#L322-L325', +'nodes.info.NodeInfoNetwork': 'nodes/info/types.ts#L327-L330', +'nodes.info.NodeInfoNetworkInterface': 'nodes/info/types.ts#L332-L336', +'nodes.info.NodeInfoOSCPU': 'nodes/info/types.ts#L338-L347', +'nodes.info.NodeInfoPath': 'nodes/info/types.ts#L159-L164', +'nodes.info.NodeInfoRepositories': 'nodes/info/types.ts#L166-L168', +'nodes.info.NodeInfoRepositoriesUrl': 'nodes/info/types.ts#L170-L172', +'nodes.info.NodeInfoScript': 'nodes/info/types.ts#L280-L283', +'nodes.info.NodeInfoSearch': 'nodes/info/types.ts#L285-L287', +'nodes.info.NodeInfoSearchRemote': 'nodes/info/types.ts#L289-L291', +'nodes.info.NodeInfoSettings': 'nodes/info/types.ts#L70-L86', +'nodes.info.NodeInfoSettingsCluster': 'nodes/info/types.ts#L133-L143', +'nodes.info.NodeInfoSettingsClusterElection': 'nodes/info/types.ts#L149-L151', +'nodes.info.NodeInfoSettingsHttp': 'nodes/info/types.ts#L188-L193', +'nodes.info.NodeInfoSettingsHttpType': 'nodes/info/types.ts#L195-L198', +'nodes.info.NodeInfoSettingsIngest': 'nodes/info/types.ts#L88-L123', +'nodes.info.NodeInfoSettingsNetwork': 'nodes/info/types.ts#L219-L221', +'nodes.info.NodeInfoSettingsNode': 'nodes/info/types.ts#L153-L157', +'nodes.info.NodeInfoSettingsTransport': 'nodes/info/types.ts#L204-L208', +'nodes.info.NodeInfoSettingsTransportFeatures': 'nodes/info/types.ts#L215-L217', +'nodes.info.NodeInfoSettingsTransportType': 'nodes/info/types.ts#L210-L213', +'nodes.info.NodeInfoTransport': 'nodes/info/types.ts#L349-L353', +'nodes.info.NodeInfoXpack': 'nodes/info/types.ts#L235-L239', +'nodes.info.NodeInfoXpackLicense': 'nodes/info/types.ts#L272-L274', +'nodes.info.NodeInfoXpackLicenseType': 'nodes/info/types.ts#L276-L278', +'nodes.info.NodeInfoXpackSecurity': 'nodes/info/types.ts#L241-L246', +'nodes.info.NodeInfoXpackSecurityAuthc': 'nodes/info/types.ts#L252-L255', +'nodes.info.NodeInfoXpackSecurityAuthcRealms': 'nodes/info/types.ts#L257-L261', +'nodes.info.NodeInfoXpackSecurityAuthcRealmsStatus': 'nodes/info/types.ts#L267-L270', +'nodes.info.NodeInfoXpackSecurityAuthcToken': 'nodes/info/types.ts#L263-L265', +'nodes.info.NodeInfoXpackSecuritySsl': 'nodes/info/types.ts#L248-L250', +'nodes.info.NodeJvmInfo': 'nodes/info/types.ts#L355-L369', +'nodes.info.NodeOperatingSystemInfo': 'nodes/info/types.ts#L371-L388', +'nodes.info.NodeProcessInfo': 'nodes/info/types.ts#L390-L397', +'nodes.info.NodeThreadPoolInfo': 'nodes/info/types.ts#L293-L300', 'nodes.info.Request': 'nodes/info/NodesInfoRequest.ts#L24-L55', 'nodes.info.Response': 'nodes/info/NodesInfoResponse.ts#L30-L32', 'nodes.info.ResponseBase': 'nodes/info/NodesInfoResponse.ts#L25-L28', @@ -2688,10 +2688,10 @@ if (hash.length > 1) { hash = hash.substring(1); } - window.location = "https://github.com/elastic/elasticsearch-specification/tree/4cb84340eb2908f2e67b44123fe0af08cfb89f9b/specification/" + (paths[hash] || ""); + window.location = "https://github.com/elastic/elasticsearch-specification/tree/d792c326a393769cc783482cf209435750d45029/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/enrich/ElasticsearchEnrichAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/ElasticsearchEnrichAsyncClient.java index ae116a523..243ccf945 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/ElasticsearchEnrichAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/ElasticsearchEnrichAsyncClient.java @@ -104,7 +104,7 @@ public final CompletableFuture deletePolicy( * Creates the enrich index for an existing enrich policy. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/execute-enrich-policy-api.html">Documentation * on elastic.co */ @@ -122,7 +122,7 @@ public CompletableFuture executePolicy(ExecutePolicyReque * a function that initializes a builder to create the * {@link ExecutePolicyRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/execute-enrich-policy-api.html">Documentation * on elastic.co */ @@ -183,7 +183,7 @@ public CompletableFuture getPolicy() { * Creates a new enrich policy. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/put-enrich-policy-api.html">Documentation * on elastic.co */ @@ -201,7 +201,7 @@ public CompletableFuture putPolicy(PutPolicyRequest request) * a function that initializes a builder to create the * {@link PutPolicyRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/put-enrich-policy-api.html">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/ElasticsearchEnrichClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/ElasticsearchEnrichClient.java index d17976e12..0dc4febe4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/ElasticsearchEnrichClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/ElasticsearchEnrichClient.java @@ -105,7 +105,7 @@ public final DeletePolicyResponse deletePolicy( * Creates the enrich index for an existing enrich policy. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/execute-enrich-policy-api.html">Documentation * on elastic.co */ @@ -124,7 +124,7 @@ public ExecutePolicyResponse executePolicy(ExecutePolicyRequest request) * a function that initializes a builder to create the * {@link ExecutePolicyRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/execute-enrich-policy-api.html">Documentation * on elastic.co */ @@ -186,7 +186,7 @@ public GetPolicyResponse getPolicy() throws IOException, ElasticsearchException * Creates a new enrich policy. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/put-enrich-policy-api.html">Documentation * on elastic.co */ @@ -204,7 +204,7 @@ public PutPolicyResponse putPolicy(PutPolicyRequest request) throws IOException, * a function that initializes a builder to create the * {@link PutPolicyRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/put-enrich-policy-api.html">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/ElasticsearchEqlAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/ElasticsearchEqlAsyncClient.java index ae0c911fa..01f0b7d37 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/ElasticsearchEqlAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/ElasticsearchEqlAsyncClient.java @@ -108,7 +108,7 @@ public final CompletableFuture delete( * search * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/get-async-eql-search-api.html">Documentation * on elastic.co */ @@ -129,7 +129,7 @@ public CompletableFuture> get(EqlGetRequest requ * a function that initializes a builder to create the * {@link EqlGetRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/get-async-eql-search-api.html">Documentation * on elastic.co */ @@ -143,7 +143,7 @@ public final CompletableFuture> get( * search * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/get-async-eql-search-api.html">Documentation * on elastic.co */ @@ -164,7 +164,7 @@ public CompletableFuture> get(EqlGetRequest requ * a function that initializes a builder to create the * {@link EqlGetRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/get-async-eql-search-api.html">Documentation * on elastic.co */ @@ -180,7 +180,7 @@ public final CompletableFuture> get( * Language (EQL) search * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/get-async-eql-status-api.html">Documentation * on elastic.co */ @@ -199,7 +199,7 @@ public CompletableFuture getStatus(GetEqlStatusRequest req * a function that initializes a builder to create the * {@link GetEqlStatusRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/get-async-eql-status-api.html">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/ElasticsearchEqlClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/ElasticsearchEqlClient.java index 7cfd2420f..0625c876d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/ElasticsearchEqlClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/ElasticsearchEqlClient.java @@ -109,7 +109,7 @@ public final EqlDeleteResponse delete(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/get-async-eql-search-api.html">Documentation * on elastic.co */ @@ -131,7 +131,7 @@ public EqlGetResponse get(EqlGetRequest request, Class * a function that initializes a builder to create the * {@link EqlGetRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/get-async-eql-search-api.html">Documentation * on elastic.co */ @@ -145,7 +145,7 @@ public final EqlGetResponse get(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/get-async-eql-search-api.html">Documentation * on elastic.co */ @@ -167,7 +167,7 @@ public EqlGetResponse get(EqlGetRequest request, Type tEventTyp * a function that initializes a builder to create the * {@link EqlGetRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/get-async-eql-search-api.html">Documentation * on elastic.co */ @@ -183,7 +183,7 @@ public final EqlGetResponse get(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/get-async-eql-status-api.html">Documentation * on elastic.co */ @@ -202,7 +202,7 @@ public GetEqlStatusResponse getStatus(GetEqlStatusRequest request) throws IOExce * a function that initializes a builder to create the * {@link GetEqlStatusRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/get-async-eql-status-api.html">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/esql/ElasticsearchEsqlAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/esql/ElasticsearchEsqlAsyncClient.java index 43034ea3e..023e943fb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/esql/ElasticsearchEsqlAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/esql/ElasticsearchEsqlAsyncClient.java @@ -71,7 +71,7 @@ public ElasticsearchEsqlAsyncClient withTransportOptions(@Nullable TransportOpti * Executes an ESQL request * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/esql-rest.html">Documentation * on elastic.co */ @@ -89,7 +89,7 @@ public CompletableFuture query(QueryRequest request) { * a function that initializes a builder to create the * {@link QueryRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/esql-rest.html">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/esql/ElasticsearchEsqlClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/esql/ElasticsearchEsqlClient.java index ef7b531d7..d1f81c92f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/esql/ElasticsearchEsqlClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/esql/ElasticsearchEsqlClient.java @@ -72,7 +72,7 @@ public ElasticsearchEsqlClient withTransportOptions(@Nullable TransportOptions t * Executes an ESQL request * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/esql-rest.html">Documentation * on elastic.co */ @@ -90,7 +90,7 @@ public BinaryResponse query(QueryRequest request) throws IOException, Elasticsea * a function that initializes a builder to create the * {@link QueryRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/esql-rest.html">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/ElasticsearchGraphAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/ElasticsearchGraphAsyncClient.java index 4ec0027ef..a48523077 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/ElasticsearchGraphAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/ElasticsearchGraphAsyncClient.java @@ -72,7 +72,7 @@ public ElasticsearchGraphAsyncClient withTransportOptions(@Nullable TransportOpt * an index. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/graph-explore-api.html">Documentation * on elastic.co */ @@ -91,7 +91,7 @@ public CompletableFuture explore(ExploreRequest request) { * a function that initializes a builder to create the * {@link ExploreRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/graph-explore-api.html">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/ElasticsearchGraphClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/ElasticsearchGraphClient.java index e4ac20955..aa7640956 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/ElasticsearchGraphClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/ElasticsearchGraphClient.java @@ -72,7 +72,7 @@ public ElasticsearchGraphClient withTransportOptions(@Nullable TransportOptions * an index. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/graph-explore-api.html">Documentation * on elastic.co */ @@ -91,7 +91,7 @@ public ExploreResponse explore(ExploreRequest request) throws IOException, Elast * a function that initializes a builder to create the * {@link ExploreRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/graph-explore-api.html">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ElasticsearchIndicesAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ElasticsearchIndicesAsyncClient.java index 433316e9b..37a14dd21 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ElasticsearchIndicesAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ElasticsearchIndicesAsyncClient.java @@ -108,7 +108,7 @@ public final CompletableFuture addBlock( * the text. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-analyze.html">Documentation * on elastic.co */ @@ -127,7 +127,7 @@ public CompletableFuture analyze(AnalyzeRequest request) { * a function that initializes a builder to create the * {@link AnalyzeRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-analyze.html">Documentation * on elastic.co */ @@ -141,7 +141,7 @@ public final CompletableFuture analyze( * the text. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-analyze.html">Documentation * on elastic.co */ @@ -235,7 +235,7 @@ public final CompletableFuture clone( * Closes an index. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-close.html">Documentation * on elastic.co */ @@ -253,7 +253,7 @@ public CompletableFuture close(CloseIndexRequest request) { * a function that initializes a builder to create the * {@link CloseIndexRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-close.html">Documentation * on elastic.co */ @@ -268,7 +268,7 @@ public final CompletableFuture close( * Creates an index with optional settings and mappings. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-create-index.html">Documentation * on elastic.co */ @@ -286,7 +286,7 @@ public CompletableFuture create(CreateIndexRequest request) * a function that initializes a builder to create the * {@link CreateIndexRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-create-index.html">Documentation * on elastic.co */ @@ -578,7 +578,7 @@ public final CompletableFuture deleteTemplate( * Analyzes the disk usage of each field of an index or data stream * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-disk-usage.html">Documentation * on elastic.co */ @@ -596,7 +596,7 @@ public CompletableFuture diskUsage(DiskUsageRequest request) * a function that initializes a builder to create the * {@link DiskUsageRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-disk-usage.html">Documentation * on elastic.co */ @@ -611,7 +611,7 @@ public final CompletableFuture diskUsage( * Downsample an index * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-downsample-data-stream.html">Documentation * on elastic.co */ @@ -629,7 +629,7 @@ public CompletableFuture downsample(DownsampleRequest reques * a function that initializes a builder to create the * {@link DownsampleRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-downsample-data-stream.html">Documentation * on elastic.co */ @@ -844,7 +844,7 @@ public final CompletableFuture fieldUsageStats( * Performs the flush operation on one or more indices. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-flush.html">Documentation * on elastic.co */ @@ -862,7 +862,7 @@ public CompletableFuture flush(FlushRequest request) { * a function that initializes a builder to create the * {@link FlushRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-flush.html">Documentation * on elastic.co */ @@ -875,7 +875,7 @@ public final CompletableFuture flush( * Performs the flush operation on one or more indices. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-flush.html">Documentation * on elastic.co */ @@ -1815,7 +1815,7 @@ public final CompletableFuture resolveIndex( * considered to be too large or too old. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-rollover-index.html">Documentation * on elastic.co */ @@ -1834,7 +1834,7 @@ public CompletableFuture rollover(RolloverRequest request) { * a function that initializes a builder to create the * {@link RolloverRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-rollover-index.html">Documentation * on elastic.co */ @@ -1941,7 +1941,7 @@ public CompletableFuture shardStores() { * Allow to shrink an existing index into a new index with fewer primary shards. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-shrink-index.html">Documentation * on elastic.co */ @@ -1959,7 +1959,7 @@ public CompletableFuture shrink(ShrinkRequest request) { * a function that initializes a builder to create the * {@link ShrinkRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-shrink-index.html">Documentation * on elastic.co */ @@ -2057,7 +2057,7 @@ public CompletableFuture simulateTemplate() { * shards. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-split-index.html">Documentation * on elastic.co */ @@ -2076,7 +2076,7 @@ public CompletableFuture split(SplitRequest request) { * a function that initializes a builder to create the * {@link SplitRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-split-index.html">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ElasticsearchIndicesClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ElasticsearchIndicesClient.java index 219a066a3..74071de73 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ElasticsearchIndicesClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ElasticsearchIndicesClient.java @@ -106,7 +106,7 @@ public final AddBlockResponse addBlock(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-analyze.html">Documentation * on elastic.co */ @@ -125,7 +125,7 @@ public AnalyzeResponse analyze(AnalyzeRequest request) throws IOException, Elast * a function that initializes a builder to create the * {@link AnalyzeRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-analyze.html">Documentation * on elastic.co */ @@ -139,7 +139,7 @@ public final AnalyzeResponse analyze(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-analyze.html">Documentation * on elastic.co */ @@ -233,7 +233,7 @@ public final CloneIndexResponse clone(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-close.html">Documentation * on elastic.co */ @@ -251,7 +251,7 @@ public CloseIndexResponse close(CloseIndexRequest request) throws IOException, E * a function that initializes a builder to create the * {@link CloseIndexRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-close.html">Documentation * on elastic.co */ @@ -266,7 +266,7 @@ public final CloseIndexResponse close(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-create-index.html">Documentation * on elastic.co */ @@ -284,7 +284,7 @@ public CreateIndexResponse create(CreateIndexRequest request) throws IOException * a function that initializes a builder to create the * {@link CreateIndexRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-create-index.html">Documentation * on elastic.co */ @@ -589,7 +589,7 @@ public final DeleteTemplateResponse deleteTemplate( * Analyzes the disk usage of each field of an index or data stream * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-disk-usage.html">Documentation * on elastic.co */ @@ -607,7 +607,7 @@ public DiskUsageResponse diskUsage(DiskUsageRequest request) throws IOException, * a function that initializes a builder to create the * {@link DiskUsageRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-disk-usage.html">Documentation * on elastic.co */ @@ -622,7 +622,7 @@ public final DiskUsageResponse diskUsage(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-downsample-data-stream.html">Documentation * on elastic.co */ @@ -640,7 +640,7 @@ public DownsampleResponse downsample(DownsampleRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link DownsampleRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-downsample-data-stream.html">Documentation * on elastic.co */ @@ -862,7 +862,7 @@ public final FieldUsageStatsResponse fieldUsageStats( * Performs the flush operation on one or more indices. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-flush.html">Documentation * on elastic.co */ @@ -880,7 +880,7 @@ public FlushResponse flush(FlushRequest request) throws IOException, Elasticsear * a function that initializes a builder to create the * {@link FlushRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-flush.html">Documentation * on elastic.co */ @@ -893,7 +893,7 @@ public final FlushResponse flush(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-flush.html">Documentation * on elastic.co */ @@ -1860,7 +1860,7 @@ public final ResolveIndexResponse resolveIndex( * considered to be too large or too old. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-rollover-index.html">Documentation * on elastic.co */ @@ -1879,7 +1879,7 @@ public RolloverResponse rollover(RolloverRequest request) throws IOException, El * a function that initializes a builder to create the * {@link RolloverRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-rollover-index.html">Documentation * on elastic.co */ @@ -1987,7 +1987,7 @@ public ShardStoresResponse shardStores() throws IOException, ElasticsearchExcept * Allow to shrink an existing index into a new index with fewer primary shards. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-shrink-index.html">Documentation * on elastic.co */ @@ -2005,7 +2005,7 @@ public ShrinkResponse shrink(ShrinkRequest request) throws IOException, Elastics * a function that initializes a builder to create the * {@link ShrinkRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-shrink-index.html">Documentation * on elastic.co */ @@ -2106,7 +2106,7 @@ public SimulateTemplateResponse simulateTemplate() throws IOException, Elasticse * shards. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-split-index.html">Documentation * on elastic.co */ @@ -2125,7 +2125,7 @@ public SplitResponse split(SplitRequest request) throws IOException, Elasticsear * a function that initializes a builder to create the * {@link SplitRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/indices-split-index.html">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexSettings.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexSettings.java index edaf0ce75..f13e79d5c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexSettings.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexSettings.java @@ -64,7 +64,7 @@ /** * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/index-modules.html#index-modules-settings">Documentation * on elastic.co * @see API * specification diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MappingLimitSettings.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MappingLimitSettings.java index acbb13c0e..82b500380 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MappingLimitSettings.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MappingLimitSettings.java @@ -55,7 +55,7 @@ * Mapping Limit Settings * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/mapping-settings-limit.html">Documentation * on elastic.co * @see API diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarity.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarity.java index 7f3110357..319cc2eb7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarity.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarity.java @@ -19,6 +19,8 @@ package co.elastic.clients.elasticsearch.indices; +import co.elastic.clients.json.JsonData; +import co.elastic.clients.json.JsonEnum; import co.elastic.clients.json.JsonpDeserializable; import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; @@ -26,9 +28,13 @@ import co.elastic.clients.json.JsonpUtils; 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 co.elastic.clients.util.OpenTaggedUnion; +import co.elastic.clients.util.TaggedUnionUtils; import co.elastic.clients.util.WithJsonObjectBuilderBase; import jakarta.json.stream.JsonGenerator; +import java.lang.Object; import java.util.Objects; import java.util.function.Function; import javax.annotation.Nullable; @@ -57,39 +63,74 @@ * specification */ @JsonpDeserializable -public class SettingsSimilarity implements JsonpSerializable { - @Nullable - private final SettingsSimilarityBm25 bm25; +public class SettingsSimilarity implements OpenTaggedUnion, JsonpSerializable { - @Nullable - private final SettingsSimilarityDfi dfi; + /** + * {@link SettingsSimilarity} variant kinds. + * + * @see API + * specification + */ - @Nullable - private final SettingsSimilarityDfr dfr; + public enum Kind implements JsonEnum { + Bm25("bm25"), - @Nullable - private final SettingsSimilarityIb ib; + Dfi("dfi"), - @Nullable - private final SettingsSimilarityLmd lmd; + Dfr("dfr"), - @Nullable - private final SettingsSimilarityLmj lmj; + Ib("ib"), - @Nullable - private final SettingsSimilarityScriptedTfidf scriptedTfidf; + Lmd("lmd"), + + Lmj("lmj"), + + ScriptedTfidf("scripted_tfidf"), + + /** A custom {@code SettingsSimilarity} defined by a plugin */ + _Custom(null) + + ; + + private final String jsonValue; + + Kind(String jsonValue) { + this.jsonValue = jsonValue; + } + + public String jsonValue() { + return this.jsonValue; + } - // --------------------------------------------------------------------------------------------- + } + + private final Kind _kind; + private final Object _value; + + @Override + public final Kind _kind() { + return _kind; + } + + @Override + public final Object _get() { + return _value; + } + + public SettingsSimilarity(SettingsSimilarityVariant value) { + + this._kind = ApiTypeHelper.requireNonNull(value._settingsSimilarityKind(), this, ""); + this._value = ApiTypeHelper.requireNonNull(value, this, ""); + this._customKind = null; + + } private SettingsSimilarity(Builder builder) { - this.bm25 = builder.bm25; - this.dfi = builder.dfi; - this.dfr = builder.dfr; - this.ib = builder.ib; - this.lmd = builder.lmd; - this.lmj = builder.lmj; - this.scriptedTfidf = builder.scriptedTfidf; + this._kind = ApiTypeHelper.requireNonNull(builder._kind, builder, ""); + this._value = ApiTypeHelper.requireNonNull(builder._value, builder, ""); + this._customKind = builder._customKind; } @@ -98,278 +139,285 @@ public static SettingsSimilarity of(Function - implements - ObjectBuilder { - @Nullable - private SettingsSimilarityBm25 bm25; + @Override + @SuppressWarnings("unchecked") + public void serialize(JsonGenerator generator, JsonpMapper mapper) { - @Nullable - private SettingsSimilarityDfi dfi; + generator.writeStartObject(); - @Nullable - private SettingsSimilarityDfr dfr; + generator.writeKey(_kind == Kind._Custom ? _customKind : _kind.jsonValue()); + if (_value instanceof JsonpSerializable) { + ((JsonpSerializable) _value).serialize(generator, mapper); + } - @Nullable - private SettingsSimilarityIb ib; + generator.writeEnd(); - @Nullable - private SettingsSimilarityLmd lmd; + } - @Nullable - private SettingsSimilarityLmj lmj; + @Override + public String toString() { + return JsonpUtils.toString(this); + } - @Nullable - private SettingsSimilarityScriptedTfidf scriptedTfidf; + public static class Builder extends WithJsonObjectBuilderBase + implements + ObjectBuilder { + private Kind _kind; + private Object _value; + private String _customKind; - /** - * API name: {@code bm25} - */ - public final Builder bm25(@Nullable SettingsSimilarityBm25 value) { - this.bm25 = value; + @Override + protected Builder self() { + return this; + } + public ObjectBuilder bm25(SettingsSimilarityBm25 v) { + this._kind = Kind.Bm25; + this._value = v; return this; } - /** - * API name: {@code bm25} - */ - public final Builder bm25(Function> fn) { + public ObjectBuilder bm25( + Function> fn) { return this.bm25(fn.apply(new SettingsSimilarityBm25.Builder()).build()); } - /** - * API name: {@code dfi} - */ - public final Builder dfi(@Nullable SettingsSimilarityDfi value) { - this.dfi = value; + public ObjectBuilder dfi(SettingsSimilarityDfi v) { + this._kind = Kind.Dfi; + this._value = v; return this; } - /** - * API name: {@code dfi} - */ - public final Builder dfi(Function> fn) { + public ObjectBuilder dfi( + Function> fn) { return this.dfi(fn.apply(new SettingsSimilarityDfi.Builder()).build()); } - /** - * API name: {@code dfr} - */ - public final Builder dfr(@Nullable SettingsSimilarityDfr value) { - this.dfr = value; + public ObjectBuilder dfr(SettingsSimilarityDfr v) { + this._kind = Kind.Dfr; + this._value = v; return this; } - /** - * API name: {@code dfr} - */ - public final Builder dfr(Function> fn) { + public ObjectBuilder dfr( + Function> fn) { return this.dfr(fn.apply(new SettingsSimilarityDfr.Builder()).build()); } - /** - * API name: {@code ib} - */ - public final Builder ib(@Nullable SettingsSimilarityIb value) { - this.ib = value; + public ObjectBuilder ib(SettingsSimilarityIb v) { + this._kind = Kind.Ib; + this._value = v; return this; } - /** - * API name: {@code ib} - */ - public final Builder ib(Function> fn) { + public ObjectBuilder ib( + Function> fn) { return this.ib(fn.apply(new SettingsSimilarityIb.Builder()).build()); } - /** - * API name: {@code lmd} - */ - public final Builder lmd(@Nullable SettingsSimilarityLmd value) { - this.lmd = value; + public ObjectBuilder lmd(SettingsSimilarityLmd v) { + this._kind = Kind.Lmd; + this._value = v; return this; } - /** - * API name: {@code lmd} - */ - public final Builder lmd(Function> fn) { + public ObjectBuilder lmd( + Function> fn) { return this.lmd(fn.apply(new SettingsSimilarityLmd.Builder()).build()); } - /** - * API name: {@code lmj} - */ - public final Builder lmj(@Nullable SettingsSimilarityLmj value) { - this.lmj = value; + public ObjectBuilder lmj(SettingsSimilarityLmj v) { + this._kind = Kind.Lmj; + this._value = v; return this; } - /** - * API name: {@code lmj} - */ - public final Builder lmj(Function> fn) { + public ObjectBuilder lmj( + Function> fn) { return this.lmj(fn.apply(new SettingsSimilarityLmj.Builder()).build()); } - /** - * API name: {@code scripted_tfidf} - */ - public final Builder scriptedTfidf(@Nullable SettingsSimilarityScriptedTfidf value) { - this.scriptedTfidf = value; + public ObjectBuilder scriptedTfidf(SettingsSimilarityScriptedTfidf v) { + this._kind = Kind.ScriptedTfidf; + this._value = v; return this; } - /** - * API name: {@code scripted_tfidf} - */ - public final Builder scriptedTfidf( + public ObjectBuilder scriptedTfidf( Function> fn) { return this.scriptedTfidf(fn.apply(new SettingsSimilarityScriptedTfidf.Builder()).build()); } - @Override - protected Builder self() { - return this; - } - /** - * Builds a {@link SettingsSimilarity}. + * Define this {@code SettingsSimilarity} as a plugin-defined variant. * - * @throws NullPointerException - * if some of the required fields are null. + * @param name + * the plugin-defined identifier + * @param data + * the data for this custom {@code SettingsSimilarity}. It is + * converted internally to {@link JsonData}. */ + public ObjectBuilder _custom(String name, Object data) { + this._kind = Kind._Custom; + this._customKind = name; + this._value = JsonData.of(data); + return this; + } + public SettingsSimilarity build() { _checkSingleUse(); - return new SettingsSimilarity(this); } - } - - // --------------------------------------------------------------------------------------------- - /** - * Json deserializer for {@link SettingsSimilarity} - */ - public static final JsonpDeserializer _DESERIALIZER = ObjectBuilderDeserializer - .lazy(Builder::new, SettingsSimilarity::setupSettingsSimilarityDeserializer); + } - protected static void setupSettingsSimilarityDeserializer(ObjectDeserializer op) { + protected static void setupSettingsSimilarityDeserializer(ObjectDeserializer op) { op.add(Builder::bm25, SettingsSimilarityBm25._DESERIALIZER, "bm25"); op.add(Builder::dfi, SettingsSimilarityDfi._DESERIALIZER, "dfi"); @@ -379,6 +427,13 @@ protected static void setupSettingsSimilarityDeserializer(ObjectDeserializer { + JsonpUtils.ensureCustomVariantsAllowed(parser, mapper); + builder._custom(name, JsonData._DESERIALIZER.deserialize(parser, mapper)); + }); + } + public static final JsonpDeserializer _DESERIALIZER = ObjectBuilderDeserializer + .lazy(Builder::new, SettingsSimilarity::setupSettingsSimilarityDeserializer, Builder::build); } diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityBm25.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityBm25.java index e9cf76fb4..addd2cfb5 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityBm25.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityBm25.java @@ -59,7 +59,7 @@ * specification */ @JsonpDeserializable -public class SettingsSimilarityBm25 implements JsonpSerializable { +public class SettingsSimilarityBm25 implements SettingsSimilarityVariant, JsonpSerializable { private final double b; private final boolean discountOverlaps; @@ -80,6 +80,14 @@ public static SettingsSimilarityBm25 of(Function> fn) { + SettingsSimilarity.Builder builder = new SettingsSimilarity.Builder(); + builder.bm25(fn.apply(new SettingsSimilarityBm25.Builder()).build()); + return builder.build(); + } + + /** + * Creates a builder for the {@link SettingsSimilarityDfi dfi} + * {@code SettingsSimilarity} variant. + */ + public static SettingsSimilarityDfi.Builder dfi() { + return new SettingsSimilarityDfi.Builder(); + } + + /** + * Creates a SettingsSimilarity of the {@link SettingsSimilarityDfi dfi} + * {@code SettingsSimilarity} variant. + */ + public static SettingsSimilarity dfi( + Function> fn) { + SettingsSimilarity.Builder builder = new SettingsSimilarity.Builder(); + builder.dfi(fn.apply(new SettingsSimilarityDfi.Builder()).build()); + return builder.build(); + } + + /** + * Creates a builder for the {@link SettingsSimilarityDfr dfr} + * {@code SettingsSimilarity} variant. + */ + public static SettingsSimilarityDfr.Builder dfr() { + return new SettingsSimilarityDfr.Builder(); + } + + /** + * Creates a SettingsSimilarity of the {@link SettingsSimilarityDfr dfr} + * {@code SettingsSimilarity} variant. + */ + public static SettingsSimilarity dfr( + Function> fn) { + SettingsSimilarity.Builder builder = new SettingsSimilarity.Builder(); + builder.dfr(fn.apply(new SettingsSimilarityDfr.Builder()).build()); + return builder.build(); + } + + /** + * Creates a builder for the {@link SettingsSimilarityIb ib} + * {@code SettingsSimilarity} variant. + */ + public static SettingsSimilarityIb.Builder ib() { + return new SettingsSimilarityIb.Builder(); + } + + /** + * Creates a SettingsSimilarity of the {@link SettingsSimilarityIb ib} + * {@code SettingsSimilarity} variant. + */ + public static SettingsSimilarity ib( + Function> fn) { + SettingsSimilarity.Builder builder = new SettingsSimilarity.Builder(); + builder.ib(fn.apply(new SettingsSimilarityIb.Builder()).build()); + return builder.build(); + } + + /** + * Creates a builder for the {@link SettingsSimilarityLmd lmd} + * {@code SettingsSimilarity} variant. + */ + public static SettingsSimilarityLmd.Builder lmd() { + return new SettingsSimilarityLmd.Builder(); + } + + /** + * Creates a SettingsSimilarity of the {@link SettingsSimilarityLmd lmd} + * {@code SettingsSimilarity} variant. + */ + public static SettingsSimilarity lmd( + Function> fn) { + SettingsSimilarity.Builder builder = new SettingsSimilarity.Builder(); + builder.lmd(fn.apply(new SettingsSimilarityLmd.Builder()).build()); + return builder.build(); + } + + /** + * Creates a builder for the {@link SettingsSimilarityLmj lmj} + * {@code SettingsSimilarity} variant. + */ + public static SettingsSimilarityLmj.Builder lmj() { + return new SettingsSimilarityLmj.Builder(); + } + + /** + * Creates a SettingsSimilarity of the {@link SettingsSimilarityLmj lmj} + * {@code SettingsSimilarity} variant. + */ + public static SettingsSimilarity lmj( + Function> fn) { + SettingsSimilarity.Builder builder = new SettingsSimilarity.Builder(); + builder.lmj(fn.apply(new SettingsSimilarityLmj.Builder()).build()); + return builder.build(); + } + + /** + * Creates a builder for the {@link SettingsSimilarityScriptedTfidf + * scripted_tfidf} {@code SettingsSimilarity} variant. + */ + public static SettingsSimilarityScriptedTfidf.Builder scriptedTfidf() { + return new SettingsSimilarityScriptedTfidf.Builder(); + } + + /** + * Creates a SettingsSimilarity of the {@link SettingsSimilarityScriptedTfidf + * scripted_tfidf} {@code SettingsSimilarity} variant. + */ + public static SettingsSimilarity scriptedTfidf( + Function> fn) { + SettingsSimilarity.Builder builder = new SettingsSimilarity.Builder(); + builder.scriptedTfidf(fn.apply(new SettingsSimilarityScriptedTfidf.Builder()).build()); + return builder.build(); + } + +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityDfi.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityDfi.java index 400b33b01..acc0cfb49 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityDfi.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityDfi.java @@ -59,7 +59,7 @@ * specification */ @JsonpDeserializable -public class SettingsSimilarityDfi implements JsonpSerializable { +public class SettingsSimilarityDfi implements SettingsSimilarityVariant, JsonpSerializable { private final DFIIndependenceMeasure independenceMeasure; // --------------------------------------------------------------------------------------------- @@ -75,6 +75,14 @@ public static SettingsSimilarityDfi of(Function */ @JsonpDeserializable -public class SettingsSimilarityDfr implements JsonpSerializable { +public class SettingsSimilarityDfr implements SettingsSimilarityVariant, JsonpSerializable { private final DFRAfterEffect afterEffect; private final DFRBasicModel basicModel; @@ -82,6 +82,14 @@ public static SettingsSimilarityDfr of(Function */ @JsonpDeserializable -public class SettingsSimilarityIb implements JsonpSerializable { +public class SettingsSimilarityIb implements SettingsSimilarityVariant, JsonpSerializable { private final IBDistribution distribution; private final IBLambda lambda; @@ -82,6 +82,14 @@ public static SettingsSimilarityIb of(Function */ @JsonpDeserializable -public class SettingsSimilarityLmd implements JsonpSerializable { +public class SettingsSimilarityLmd implements SettingsSimilarityVariant, JsonpSerializable { private final int mu; // --------------------------------------------------------------------------------------------- @@ -73,6 +73,14 @@ public static SettingsSimilarityLmd of(Function */ @JsonpDeserializable -public class SettingsSimilarityLmj implements JsonpSerializable { +public class SettingsSimilarityLmj implements SettingsSimilarityVariant, JsonpSerializable { private final double lambda; // --------------------------------------------------------------------------------------------- @@ -73,6 +73,14 @@ public static SettingsSimilarityLmj of(Function */ @JsonpDeserializable -public class SettingsSimilarityScriptedTfidf implements JsonpSerializable { +public class SettingsSimilarityScriptedTfidf implements SettingsSimilarityVariant, JsonpSerializable { private final Script script; // --------------------------------------------------------------------------------------------- @@ -75,6 +75,14 @@ public static SettingsSimilarityScriptedTfidf of( return fn.apply(new Builder()).build(); } + /** + * SettingsSimilarity variant kind. + */ + @Override + public SettingsSimilarity.Kind _settingsSimilarityKind() { + return SettingsSimilarity.Kind.ScriptedTfidf; + } + /** * Required - API name: {@code script} */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityVariant.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityVariant.java new file mode 100644 index 000000000..badfa9446 --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityVariant.java @@ -0,0 +1,48 @@ +/* + * 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.indices; + +//---------------------------------------------------------------- +// 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. +// +//---------------------------------------------------------------- + +/** + * Base interface for {@link SettingsSimilarity} variants. + */ +public interface SettingsSimilarityVariant { + + SettingsSimilarity.Kind _settingsSimilarityKind(); + + default SettingsSimilarity _toSettingsSimilarity() { + return new SettingsSimilarity(this); + } + +} diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/AttachmentProcessor.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/AttachmentProcessor.java index 145985311..4cabffb36 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/AttachmentProcessor.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/AttachmentProcessor.java @@ -76,6 +76,9 @@ public class AttachmentProcessor extends ProcessorBase implements ProcessorVaria @Nullable private final String targetField; + @Nullable + private final Boolean removeBinary; + @Nullable private final String resourceName; @@ -90,6 +93,7 @@ private AttachmentProcessor(Builder builder) { this.indexedCharsField = builder.indexedCharsField; this.properties = ApiTypeHelper.unmodifiable(builder.properties); this.targetField = builder.targetField; + this.removeBinary = builder.removeBinary; this.resourceName = builder.resourceName; } @@ -170,6 +174,16 @@ public final String targetField() { return this.targetField; } + /** + * If true, the binary field will be removed from the document + *

+ * API name: {@code remove_binary} + */ + @Nullable + public final Boolean removeBinary() { + return this.removeBinary; + } + /** * Field containing the name of the resource to decode. If specified, the * processor passes this resource name to the underlying Tika library to enable @@ -217,6 +231,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { generator.writeKey("target_field"); generator.write(this.targetField); + } + if (this.removeBinary != null) { + generator.writeKey("remove_binary"); + generator.write(this.removeBinary); + } if (this.resourceName != null) { generator.writeKey("resource_name"); @@ -252,6 +271,9 @@ public static class Builder extends ProcessorBase.AbstractBuilder @Nullable private String targetField; + @Nullable + private Boolean removeBinary; + @Nullable private String resourceName; @@ -338,6 +360,16 @@ public final Builder targetField(@Nullable String value) { return this; } + /** + * If true, the binary field will be removed from the document + *

+ * API name: {@code remove_binary} + */ + public final Builder removeBinary(@Nullable Boolean value) { + this.removeBinary = value; + return this; + } + /** * Field containing the name of the resource to decode. If specified, the * processor passes this resource name to the underlying Tika library to enable @@ -385,6 +417,7 @@ protected static void setupAttachmentProcessorDeserializer(ObjectDeserializer deletePipeline( * Returns statistical information about geoip databases * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/geoip-processor.html">Documentation * on elastic.co */ public CompletableFuture geoIpStats() { @@ -164,7 +164,7 @@ public CompletableFuture getPipeline() { * Returns a list of the built-in patterns. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/grok-processor.html">Documentation * on elastic.co */ public CompletableFuture processorGrok() { @@ -178,7 +178,7 @@ public CompletableFuture processorGrok() { * Creates or updates a pipeline. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ingest.html">Documentation * on elastic.co */ @@ -196,7 +196,7 @@ public CompletableFuture putPipeline(PutPipelineRequest req * a function that initializes a builder to create the * {@link PutPipelineRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ingest.html">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/ElasticsearchIngestClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/ElasticsearchIngestClient.java index 62bcabee4..e5ca22f4f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/ElasticsearchIngestClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/ElasticsearchIngestClient.java @@ -106,7 +106,7 @@ public final DeletePipelineResponse deletePipeline( * Returns statistical information about geoip databases * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/geoip-processor.html">Documentation * on elastic.co */ public GeoIpStatsResponse geoIpStats() throws IOException, ElasticsearchException { @@ -167,7 +167,7 @@ public GetPipelineResponse getPipeline() throws IOException, ElasticsearchExcept * Returns a list of the built-in patterns. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/grok-processor.html">Documentation * on elastic.co */ public ProcessorGrokResponse processorGrok() throws IOException, ElasticsearchException { @@ -181,7 +181,7 @@ public ProcessorGrokResponse processorGrok() throws IOException, ElasticsearchEx * Creates or updates a pipeline. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ingest.html">Documentation * on elastic.co */ @@ -199,7 +199,7 @@ public PutPipelineResponse putPipeline(PutPipelineRequest request) throws IOExce * a function that initializes a builder to create the * {@link PutPipelineRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ingest.html">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ElasticsearchMlAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ElasticsearchMlAsyncClient.java index 0bfd251bd..dd2422d43 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ElasticsearchMlAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ElasticsearchMlAsyncClient.java @@ -108,7 +108,7 @@ public final CompletableFuture clearTr * multiple times throughout its lifecycle. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ml-close-job.html">Documentation * on elastic.co */ @@ -127,7 +127,7 @@ public CompletableFuture closeJob(CloseJobRequest request) { * a function that initializes a builder to create the * {@link CloseJobRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ml-close-job.html">Documentation * on elastic.co */ @@ -142,7 +142,7 @@ public final CompletableFuture closeJob( * Deletes a calendar. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ml-delete-calendar.html">Documentation * on elastic.co */ @@ -160,7 +160,7 @@ public CompletableFuture deleteCalendar(DeleteCalendarRe * a function that initializes a builder to create the * {@link DeleteCalendarRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ml-delete-calendar.html">Documentation * on elastic.co */ @@ -175,7 +175,7 @@ public final CompletableFuture deleteCalendar( * Deletes scheduled events from a calendar. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ml-delete-calendar-event.html">Documentation * on elastic.co */ @@ -193,7 +193,7 @@ public CompletableFuture deleteCalendarEvent(Delete * a function that initializes a builder to create the * {@link DeleteCalendarEventRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ml-delete-calendar-event.html">Documentation * on elastic.co */ @@ -208,7 +208,7 @@ public final CompletableFuture deleteCalendarEvent( * Deletes anomaly detection jobs from a calendar. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ml-delete-calendar-job.html">Documentation * on elastic.co */ @@ -226,7 +226,7 @@ public CompletableFuture deleteCalendarJob(DeleteCale * a function that initializes a builder to create the * {@link DeleteCalendarJobRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ml-delete-calendar-job.html">Documentation * on elastic.co */ @@ -241,7 +241,7 @@ public final CompletableFuture deleteCalendarJob( * Deletes an existing data frame analytics job. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/delete-dfanalytics.html">Documentation * on elastic.co */ @@ -260,7 +260,7 @@ public CompletableFuture deleteDataFrameAnalyt * a function that initializes a builder to create the * {@link DeleteDataFrameAnalyticsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/delete-dfanalytics.html">Documentation * on elastic.co */ @@ -275,7 +275,7 @@ public final CompletableFuture deleteDataFrame * Deletes an existing datafeed. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ml-delete-datafeed.html">Documentation * on elastic.co */ @@ -293,7 +293,7 @@ public CompletableFuture deleteDatafeed(DeleteDatafeedRe * a function that initializes a builder to create the * {@link DeleteDatafeedRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ml-delete-datafeed.html">Documentation * on elastic.co */ @@ -1857,7 +1857,7 @@ public final CompletableFuture putCalendarJob( * Instantiates a data frame analytics job. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/put-dfanalytics.html">Documentation * on elastic.co */ @@ -1876,7 +1876,7 @@ public CompletableFuture putDataFrameAnalytics( * a function that initializes a builder to create the * {@link PutDataFrameAnalyticsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/put-dfanalytics.html">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ElasticsearchMlClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ElasticsearchMlClient.java index 6ee820417..713253154 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ElasticsearchMlClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ElasticsearchMlClient.java @@ -110,7 +110,7 @@ public final ClearTrainedModelDeploymentCacheResponse clearTrainedModelDeploymen * multiple times throughout its lifecycle. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ml-close-job.html">Documentation * on elastic.co */ @@ -129,7 +129,7 @@ public CloseJobResponse closeJob(CloseJobRequest request) throws IOException, El * a function that initializes a builder to create the * {@link CloseJobRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ml-close-job.html">Documentation * on elastic.co */ @@ -144,7 +144,7 @@ public final CloseJobResponse closeJob(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ml-delete-calendar.html">Documentation * on elastic.co */ @@ -163,7 +163,7 @@ public DeleteCalendarResponse deleteCalendar(DeleteCalendarRequest request) * a function that initializes a builder to create the * {@link DeleteCalendarRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ml-delete-calendar.html">Documentation * on elastic.co */ @@ -179,7 +179,7 @@ public final DeleteCalendarResponse deleteCalendar( * Deletes scheduled events from a calendar. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ml-delete-calendar-event.html">Documentation * on elastic.co */ @@ -198,7 +198,7 @@ public DeleteCalendarEventResponse deleteCalendarEvent(DeleteCalendarEventReques * a function that initializes a builder to create the * {@link DeleteCalendarEventRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ml-delete-calendar-event.html">Documentation * on elastic.co */ @@ -214,7 +214,7 @@ public final DeleteCalendarEventResponse deleteCalendarEvent( * Deletes anomaly detection jobs from a calendar. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ml-delete-calendar-job.html">Documentation * on elastic.co */ @@ -233,7 +233,7 @@ public DeleteCalendarJobResponse deleteCalendarJob(DeleteCalendarJobRequest requ * a function that initializes a builder to create the * {@link DeleteCalendarJobRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ml-delete-calendar-job.html">Documentation * on elastic.co */ @@ -249,7 +249,7 @@ public final DeleteCalendarJobResponse deleteCalendarJob( * Deletes an existing data frame analytics job. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/delete-dfanalytics.html">Documentation * on elastic.co */ @@ -268,7 +268,7 @@ public DeleteDataFrameAnalyticsResponse deleteDataFrameAnalytics(DeleteDataFrame * a function that initializes a builder to create the * {@link DeleteDataFrameAnalyticsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/delete-dfanalytics.html">Documentation * on elastic.co */ @@ -284,7 +284,7 @@ public final DeleteDataFrameAnalyticsResponse deleteDataFrameAnalytics( * Deletes an existing datafeed. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ml-delete-datafeed.html">Documentation * on elastic.co */ @@ -303,7 +303,7 @@ public DeleteDatafeedResponse deleteDatafeed(DeleteDatafeedRequest request) * a function that initializes a builder to create the * {@link DeleteDatafeedRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/ml-delete-datafeed.html">Documentation * on elastic.co */ @@ -1916,7 +1916,7 @@ public final PutCalendarJobResponse putCalendarJob( * Instantiates a data frame analytics job. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/put-dfanalytics.html">Documentation * on elastic.co */ @@ -1935,7 +1935,7 @@ public PutDataFrameAnalyticsResponse putDataFrameAnalytics(PutDataFrameAnalytics * a function that initializes a builder to create the * {@link PutDataFrameAnalyticsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/put-dfanalytics.html">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ElasticsearchNodesAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ElasticsearchNodesAsyncClient.java index d08c79d72..ed64b0b64 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ElasticsearchNodesAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ElasticsearchNodesAsyncClient.java @@ -142,7 +142,7 @@ public final CompletableFuture getRepositor * Returns information about hot threads on each node in the cluster. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-nodes-hot-threads.html">Documentation * on elastic.co */ @@ -160,7 +160,7 @@ public CompletableFuture hotThreads(HotThreadsRequest reques * a function that initializes a builder to create the * {@link HotThreadsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-nodes-hot-threads.html">Documentation * on elastic.co */ @@ -173,7 +173,7 @@ public final CompletableFuture hotThreads( * Returns information about hot threads on each node in the cluster. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-nodes-hot-threads.html">Documentation * on elastic.co */ @@ -188,7 +188,7 @@ public CompletableFuture hotThreads() { * Returns information about nodes in the cluster. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-nodes-info.html">Documentation * on elastic.co */ @@ -206,7 +206,7 @@ public CompletableFuture info(NodesInfoRequest request) { * a function that initializes a builder to create the * {@link NodesInfoRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-nodes-info.html">Documentation * on elastic.co */ @@ -219,7 +219,7 @@ public final CompletableFuture info( * Returns information about nodes in the cluster. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-nodes-info.html">Documentation * on elastic.co */ @@ -280,7 +280,7 @@ public CompletableFuture reloadSecureSettings() { * Returns statistical information about nodes in the cluster. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-nodes-stats.html">Documentation * on elastic.co */ @@ -298,7 +298,7 @@ public CompletableFuture stats(NodesStatsRequest request) { * a function that initializes a builder to create the * {@link NodesStatsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-nodes-stats.html">Documentation * on elastic.co */ @@ -311,7 +311,7 @@ public final CompletableFuture stats( * Returns statistical information about nodes in the cluster. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-nodes-stats.html">Documentation * on elastic.co */ @@ -326,7 +326,7 @@ public CompletableFuture stats() { * Returns low-level information about REST actions usage on nodes. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-nodes-usage.html">Documentation * on elastic.co */ @@ -344,7 +344,7 @@ public CompletableFuture usage(NodesUsageRequest request) { * a function that initializes a builder to create the * {@link NodesUsageRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-nodes-usage.html">Documentation * on elastic.co */ @@ -357,7 +357,7 @@ public final CompletableFuture usage( * Returns low-level information about REST actions usage on nodes. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-nodes-usage.html">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ElasticsearchNodesClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ElasticsearchNodesClient.java index 84db36838..ccbb4850b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ElasticsearchNodesClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ElasticsearchNodesClient.java @@ -144,7 +144,7 @@ public final GetRepositoriesMeteringInfoResponse getRepositoriesMeteringInfo( * Returns information about hot threads on each node in the cluster. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-nodes-hot-threads.html">Documentation * on elastic.co */ @@ -162,7 +162,7 @@ public HotThreadsResponse hotThreads(HotThreadsRequest request) throws IOExcepti * a function that initializes a builder to create the * {@link HotThreadsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-nodes-hot-threads.html">Documentation * on elastic.co */ @@ -175,7 +175,7 @@ public final HotThreadsResponse hotThreads(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-nodes-hot-threads.html">Documentation * on elastic.co */ @@ -190,7 +190,7 @@ public HotThreadsResponse hotThreads() throws IOException, ElasticsearchExceptio * Returns information about nodes in the cluster. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-nodes-info.html">Documentation * on elastic.co */ @@ -208,7 +208,7 @@ public NodesInfoResponse info(NodesInfoRequest request) throws IOException, Elas * a function that initializes a builder to create the * {@link NodesInfoRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-nodes-info.html">Documentation * on elastic.co */ @@ -221,7 +221,7 @@ public final NodesInfoResponse info(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-nodes-info.html">Documentation * on elastic.co */ @@ -284,7 +284,7 @@ public ReloadSecureSettingsResponse reloadSecureSettings() throws IOException, E * Returns statistical information about nodes in the cluster. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-nodes-stats.html">Documentation * on elastic.co */ @@ -302,7 +302,7 @@ public NodesStatsResponse stats(NodesStatsRequest request) throws IOException, E * a function that initializes a builder to create the * {@link NodesStatsRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-nodes-stats.html">Documentation * on elastic.co */ @@ -315,7 +315,7 @@ public final NodesStatsResponse stats(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-nodes-stats.html">Documentation * on elastic.co */ @@ -330,7 +330,7 @@ public NodesStatsResponse stats() throws IOException, ElasticsearchException { * Returns low-level information about REST actions usage on nodes. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-nodes-usage.html">Documentation * on elastic.co */ @@ -348,7 +348,7 @@ public NodesUsageResponse usage(NodesUsageRequest request) throws IOException, E * a function that initializes a builder to create the * {@link NodesUsageRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-nodes-usage.html">Documentation * on elastic.co */ @@ -361,7 +361,7 @@ public final NodesUsageResponse usage(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/cluster-nodes-usage.html">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoDiscover.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoDiscover.java index 6c8ee6b99..11e06bac8 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoDiscover.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoDiscover.java @@ -19,6 +19,7 @@ package co.elastic.clients.elasticsearch.nodes.info; +import co.elastic.clients.json.JsonData; import co.elastic.clients.json.JsonpDeserializable; import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; @@ -31,6 +32,9 @@ import co.elastic.clients.util.WithJsonObjectBuilderBase; import jakarta.json.stream.JsonGenerator; import java.lang.String; +import java.util.HashMap; +import java.util.List; +import java.util.Map; import java.util.Objects; import java.util.function.Function; import javax.annotation.Nullable; @@ -59,13 +63,24 @@ */ @JsonpDeserializable public class NodeInfoDiscover implements JsonpSerializable { - private final String seedHosts; + private final Map settings; + + private final List seedHosts; + + @Nullable + private final String type; + + private final List seedProviders; // --------------------------------------------------------------------------------------------- private NodeInfoDiscover(Builder builder) { - this.seedHosts = ApiTypeHelper.requireNonNull(builder.seedHosts, this, "seedHosts"); + this.settings = ApiTypeHelper.unmodifiable(builder.settings); + + this.seedHosts = ApiTypeHelper.unmodifiable(builder.seedHosts); + this.type = builder.type; + this.seedProviders = ApiTypeHelper.unmodifiable(builder.seedProviders); } @@ -74,12 +89,34 @@ public static NodeInfoDiscover of(Function settings() { + return this.settings; + } + + /** + * API name: {@code seed_hosts} */ - public final String seedHosts() { + public final List seedHosts() { return this.seedHosts; } + /** + * API name: {@code type} + */ + @Nullable + public final String type() { + return this.type; + } + + /** + * API name: {@code seed_providers} + */ + public final List seedProviders() { + return this.seedProviders; + } + /** * Serialize this object to JSON. */ @@ -91,8 +128,37 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { - generator.writeKey("seed_hosts"); - generator.write(this.seedHosts); + for (Map.Entry item0 : this.settings.entrySet()) { + generator.writeKey(item0.getKey()); + item0.getValue().serialize(generator, mapper); + + } + + if (ApiTypeHelper.isDefined(this.seedHosts)) { + generator.writeKey("seed_hosts"); + generator.writeStartArray(); + for (String item0 : this.seedHosts) { + generator.write(item0); + + } + generator.writeEnd(); + + } + if (this.type != null) { + generator.writeKey("type"); + generator.write(this.type); + + } + if (ApiTypeHelper.isDefined(this.seedProviders)) { + generator.writeKey("seed_providers"); + generator.writeStartArray(); + for (String item0 : this.seedProviders) { + generator.write(item0); + + } + generator.writeEnd(); + + } } @@ -108,13 +174,83 @@ public String toString() { */ public static class Builder extends WithJsonObjectBuilderBase implements ObjectBuilder { - private String seedHosts; + @Nullable + private Map settings = new HashMap<>(); /** - * Required - API name: {@code seed_hosts} + * Additional or alternative settings + *

+ * Adds all entries of map to settings. */ - public final Builder seedHosts(String value) { - this.seedHosts = value; + public final Builder settings(Map map) { + this.settings = _mapPutAll(this.settings, map); + return this; + } + + /** + * Additional or alternative settings + *

+ * Adds an entry to settings. + */ + public final Builder settings(String key, JsonData value) { + this.settings = _mapPut(this.settings, key, value); + return this; + } + + @Nullable + private List seedHosts; + + @Nullable + private String type; + + @Nullable + private List seedProviders; + + /** + * API name: {@code seed_hosts} + *

+ * Adds all elements of list to seedHosts. + */ + public final Builder seedHosts(List list) { + this.seedHosts = _listAddAll(this.seedHosts, list); + return this; + } + + /** + * API name: {@code seed_hosts} + *

+ * Adds one or more values to seedHosts. + */ + public final Builder seedHosts(String value, String... values) { + this.seedHosts = _listAdd(this.seedHosts, value, values); + return this; + } + + /** + * API name: {@code type} + */ + public final Builder type(@Nullable String value) { + this.type = value; + return this; + } + + /** + * API name: {@code seed_providers} + *

+ * Adds all elements of list to seedProviders. + */ + public final Builder seedProviders(List list) { + this.seedProviders = _listAddAll(this.seedProviders, list); + return this; + } + + /** + * API name: {@code seed_providers} + *

+ * Adds one or more values to seedProviders. + */ + public final Builder seedProviders(String value, String... values) { + this.seedProviders = _listAdd(this.seedProviders, value, values); return this; } @@ -146,7 +282,15 @@ public NodeInfoDiscover build() { protected static void setupNodeInfoDiscoverDeserializer(ObjectDeserializer op) { - op.add(Builder::seedHosts, JsonpDeserializer.stringDeserializer(), "seed_hosts"); + op.add(Builder::seedHosts, JsonpDeserializer.arrayDeserializer(JsonpDeserializer.stringDeserializer()), + "seed_hosts"); + op.add(Builder::type, JsonpDeserializer.stringDeserializer(), "type"); + op.add(Builder::seedProviders, JsonpDeserializer.arrayDeserializer(JsonpDeserializer.stringDeserializer()), + "seed_providers"); + + op.setUnknownFieldHandler((builder, name, parser, mapper) -> { + builder.settings(name, JsonData._DESERIALIZER.deserialize(parser, mapper)); + }); } diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoPath.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoPath.java index 1074b0778..1cb88dc98 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoPath.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoPath.java @@ -60,8 +60,10 @@ */ @JsonpDeserializable public class NodeInfoPath implements JsonpSerializable { + @Nullable private final String logs; + @Nullable private final String home; private final List repo; @@ -72,9 +74,9 @@ public class NodeInfoPath implements JsonpSerializable { private NodeInfoPath(Builder builder) { - this.logs = ApiTypeHelper.requireNonNull(builder.logs, this, "logs"); - this.home = ApiTypeHelper.requireNonNull(builder.home, this, "home"); - this.repo = ApiTypeHelper.unmodifiableRequired(builder.repo, this, "repo"); + this.logs = builder.logs; + this.home = builder.home; + this.repo = ApiTypeHelper.unmodifiable(builder.repo); this.data = ApiTypeHelper.unmodifiable(builder.data); } @@ -84,21 +86,23 @@ public static NodeInfoPath of(Function> fn) } /** - * Required - API name: {@code logs} + * API name: {@code logs} */ + @Nullable public final String logs() { return this.logs; } /** - * Required - API name: {@code home} + * API name: {@code home} */ + @Nullable public final String home() { return this.home; } /** - * Required - API name: {@code repo} + * API name: {@code repo} */ public final List repo() { return this.repo; @@ -122,12 +126,16 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { - generator.writeKey("logs"); - generator.write(this.logs); + if (this.logs != null) { + generator.writeKey("logs"); + generator.write(this.logs); - generator.writeKey("home"); - generator.write(this.home); + } + if (this.home != null) { + generator.writeKey("home"); + generator.write(this.home); + } if (ApiTypeHelper.isDefined(this.repo)) { generator.writeKey("repo"); generator.writeStartArray(); @@ -163,33 +171,36 @@ public String toString() { */ public static class Builder extends WithJsonObjectBuilderBase implements ObjectBuilder { + @Nullable private String logs; + @Nullable private String home; + @Nullable private List repo; @Nullable private List data; /** - * Required - API name: {@code logs} + * API name: {@code logs} */ - public final Builder logs(String value) { + public final Builder logs(@Nullable String value) { this.logs = value; return this; } /** - * Required - API name: {@code home} + * API name: {@code home} */ - public final Builder home(String value) { + public final Builder home(@Nullable String value) { this.home = value; return this; } /** - * Required - API name: {@code repo} + * API name: {@code repo} *

* Adds all elements of list to repo. */ @@ -199,7 +210,7 @@ public final Builder repo(List list) { } /** - * Required - API name: {@code repo} + * API name: {@code repo} *

* Adds one or more values to repo. */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettings.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettings.java index de50a5480..f2caa5182 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettings.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettings.java @@ -62,6 +62,7 @@ public class NodeInfoSettings implements JsonpSerializable { private final NodeInfoSettingsNode node; + @Nullable private final NodeInfoPath path; @Nullable @@ -103,7 +104,7 @@ private NodeInfoSettings(Builder builder) { this.cluster = ApiTypeHelper.requireNonNull(builder.cluster, this, "cluster"); this.node = ApiTypeHelper.requireNonNull(builder.node, this, "node"); - this.path = ApiTypeHelper.requireNonNull(builder.path, this, "path"); + this.path = builder.path; this.repositories = builder.repositories; this.discovery = builder.discovery; this.action = builder.action; @@ -138,8 +139,9 @@ public final NodeInfoSettingsNode node() { } /** - * Required - API name: {@code path} + * API name: {@code path} */ + @Nullable public final NodeInfoPath path() { return this.path; } @@ -254,9 +256,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { generator.writeKey("node"); this.node.serialize(generator, mapper); - generator.writeKey("path"); - this.path.serialize(generator, mapper); + if (this.path != null) { + generator.writeKey("path"); + this.path.serialize(generator, mapper); + } if (this.repositories != null) { generator.writeKey("repositories"); this.repositories.serialize(generator, mapper); @@ -330,6 +334,7 @@ public static class Builder extends WithJsonObjectBuilderBase implement private NodeInfoSettingsNode node; + @Nullable private NodeInfoPath path; @Nullable @@ -397,15 +402,15 @@ public final Builder node(Function> fn) { return this.path(fn.apply(new NodeInfoPath.Builder()).build()); diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsCluster.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsCluster.java index fa83093b4..17c3f2bed 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsCluster.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsCluster.java @@ -32,6 +32,7 @@ import co.elastic.clients.util.WithJsonObjectBuilderBase; import jakarta.json.stream.JsonGenerator; import java.lang.String; +import java.util.List; import java.util.Objects; import java.util.function.Function; import javax.annotation.Nullable; @@ -68,8 +69,7 @@ public class NodeInfoSettingsCluster implements JsonpSerializable { private final NodeInfoSettingsClusterElection election; - @Nullable - private final String initialMasterNodes; + private final List initialMasterNodes; @Nullable private final DeprecationIndexing deprecationIndexing; @@ -81,7 +81,7 @@ private NodeInfoSettingsCluster(Builder builder) { this.name = ApiTypeHelper.requireNonNull(builder.name, this, "name"); this.routing = builder.routing; this.election = ApiTypeHelper.requireNonNull(builder.election, this, "election"); - this.initialMasterNodes = builder.initialMasterNodes; + this.initialMasterNodes = ApiTypeHelper.unmodifiable(builder.initialMasterNodes); this.deprecationIndexing = builder.deprecationIndexing; } @@ -115,8 +115,7 @@ public final NodeInfoSettingsClusterElection election() { /** * API name: {@code initial_master_nodes} */ - @Nullable - public final String initialMasterNodes() { + public final List initialMasterNodes() { return this.initialMasterNodes; } @@ -150,9 +149,14 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { generator.writeKey("election"); this.election.serialize(generator, mapper); - if (this.initialMasterNodes != null) { + if (ApiTypeHelper.isDefined(this.initialMasterNodes)) { generator.writeKey("initial_master_nodes"); - generator.write(this.initialMasterNodes); + generator.writeStartArray(); + for (String item0 : this.initialMasterNodes) { + generator.write(item0); + + } + generator.writeEnd(); } if (this.deprecationIndexing != null) { @@ -185,7 +189,7 @@ public static class Builder extends WithJsonObjectBuilderBase private NodeInfoSettingsClusterElection election; @Nullable - private String initialMasterNodes; + private List initialMasterNodes; @Nullable private DeprecationIndexing deprecationIndexing; @@ -231,9 +235,21 @@ public final Builder election( /** * API name: {@code initial_master_nodes} + *

+ * Adds all elements of list to initialMasterNodes. + */ + public final Builder initialMasterNodes(List list) { + this.initialMasterNodes = _listAddAll(this.initialMasterNodes, list); + return this; + } + + /** + * API name: {@code initial_master_nodes} + *

+ * Adds one or more values to initialMasterNodes. */ - public final Builder initialMasterNodes(@Nullable String value) { - this.initialMasterNodes = value; + public final Builder initialMasterNodes(String value, String... values) { + this.initialMasterNodes = _listAdd(this.initialMasterNodes, value, values); return this; } @@ -285,7 +301,8 @@ protected static void setupNodeInfoSettingsClusterDeserializer( op.add(Builder::name, JsonpDeserializer.stringDeserializer(), "name"); op.add(Builder::routing, IndexRouting._DESERIALIZER, "routing"); op.add(Builder::election, NodeInfoSettingsClusterElection._DESERIALIZER, "election"); - op.add(Builder::initialMasterNodes, JsonpDeserializer.stringDeserializer(), "initial_master_nodes"); + op.add(Builder::initialMasterNodes, JsonpDeserializer.arrayDeserializer(JsonpDeserializer.stringDeserializer()), + "initial_master_nodes"); op.add(Builder::deprecationIndexing, DeprecationIndexing._DESERIALIZER, "deprecation_indexing"); } diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/ElasticsearchTasksAsyncClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/ElasticsearchTasksAsyncClient.java index a917a44f3..f392fa1fe 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/ElasticsearchTasksAsyncClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/ElasticsearchTasksAsyncClient.java @@ -71,7 +71,7 @@ public ElasticsearchTasksAsyncClient withTransportOptions(@Nullable TransportOpt * Cancels a task, if it can be cancelled through an API. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/tasks.html">Documentation * on elastic.co */ @@ -89,7 +89,7 @@ public CompletableFuture cancel(CancelRequest request) { * a function that initializes a builder to create the * {@link CancelRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/tasks.html">Documentation * on elastic.co */ @@ -102,7 +102,7 @@ public final CompletableFuture cancel( * Cancels a task, if it can be cancelled through an API. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/tasks.html">Documentation * on elastic.co */ @@ -117,7 +117,7 @@ public CompletableFuture cancel() { * Returns information about a task. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/tasks.html">Documentation * on elastic.co */ @@ -135,7 +135,7 @@ public CompletableFuture get(GetTasksRequest request) { * a function that initializes a builder to create the * {@link GetTasksRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/tasks.html">Documentation * on elastic.co */ @@ -150,7 +150,7 @@ public final CompletableFuture get( * Returns a list of tasks. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/tasks.html">Documentation * on elastic.co */ @@ -168,7 +168,7 @@ public CompletableFuture list(ListRequest request) { * a function that initializes a builder to create the * {@link ListRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/tasks.html">Documentation * on elastic.co */ @@ -180,7 +180,7 @@ public final CompletableFuture list(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/tasks.html">Documentation * on elastic.co */ diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/ElasticsearchTasksClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/ElasticsearchTasksClient.java index 6c0f8dd4e..046d69827 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/ElasticsearchTasksClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/ElasticsearchTasksClient.java @@ -71,7 +71,7 @@ public ElasticsearchTasksClient withTransportOptions(@Nullable TransportOptions * Cancels a task, if it can be cancelled through an API. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/tasks.html">Documentation * on elastic.co */ @@ -89,7 +89,7 @@ public CancelResponse cancel(CancelRequest request) throws IOException, Elastics * a function that initializes a builder to create the * {@link CancelRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/tasks.html">Documentation * on elastic.co */ @@ -102,7 +102,7 @@ public final CancelResponse cancel(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/tasks.html">Documentation * on elastic.co */ @@ -117,7 +117,7 @@ public CancelResponse cancel() throws IOException, ElasticsearchException { * Returns information about a task. * * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/tasks.html">Documentation * on elastic.co */ @@ -135,7 +135,7 @@ public GetTasksResponse get(GetTasksRequest request) throws IOException, Elastic * a function that initializes a builder to create the * {@link GetTasksRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/tasks.html">Documentation * on elastic.co */ @@ -150,7 +150,7 @@ public final GetTasksResponse get(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/tasks.html">Documentation * on elastic.co */ @@ -168,7 +168,7 @@ public ListResponse list(ListRequest request) throws IOException, ElasticsearchE * a function that initializes a builder to create the * {@link ListRequest} * @see Documentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/tasks.html">Documentation * on elastic.co */ @@ -181,7 +181,7 @@ public final ListResponse list(FunctionDocumentation + * "https://www.elastic.co/guide/en/elasticsearch/reference/8.14/tasks.html">Documentation * on elastic.co */