diff --git a/docs/release-notes/release-highlights.asciidoc b/docs/release-notes/release-highlights.asciidoc index c5fd3f441..f76a6c1c8 100644 --- a/docs/release-notes/release-highlights.asciidoc +++ b/docs/release-notes/release-highlights.asciidoc @@ -9,6 +9,45 @@ For a list of detailed changes, including bug fixes, please see the https://gith ==== Version 8.16 * `ElasticsearchClient` is now `Closeable`. Closing a client object also closes the underlying transport - https://github.com/elastic/elasticsearch-java/pull/851[#851] +[discrete] +==== Version 8.15 + +* New https://www.elastic.co/guide/en/elasticsearch/reference/current/connector-apis.html[Connector API] available +* Fixed bug in BulkIngester - https://github.com/elastic/elasticsearch-java/pull/830[#830] +* Various bug fixes, among which are https://github.com/elastic/elasticsearch-java/pull/844[#844], https://github.com/elastic/elasticsearch-java/pull/847[#847] +* Changed builders for queries that use generic types, for example: + +** Old RangeQuery: ++ +[source,java] +---- +RangeQuery ra = RangeQuery.of(r -> r // no distinction between various types (date, term, number) + .field("day") + .gte(JsonData.of("2024-06-20")) // must use custom json for fields because there's no defined type + .lte(JsonData.of("2024-07-05")) + .boost(1.0F) + .format("yyyy-MM-dd") + .relation(RangeRelation.Contains)); +---- ++ +** New RangeQuery: ++ +[source,java] +---- +RangeQuery ra = RangeQuery.of(r -> r + .date(d -> d // choose query type before + .field("day") + .gte("20-06-24") // field now only accepts valid type for the specified query + .lte("20-07-24") + .boost(1.0F) + .format("yyyy-MM-dd") + .relation(RangeRelation.Contains))); +---- + +[discrete] +==== Version 8.14 +* No new feature. + [discrete] ==== Version 8.13 diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/AliasesRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/AliasesRequest.java index 11d0c52e0..22562342d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/AliasesRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/AliasesRequest.java @@ -62,7 +62,7 @@ *
* CAT APIs are only intended for human consumption using the command line or * the Kibana console. They are not intended for use by applications. For - * application consumption, use the /_alias endpoints. + * application consumption, use the aliases API. * * @see API * specification diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ComponentTemplatesRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ComponentTemplatesRequest.java index b1773870a..631a94d7c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ComponentTemplatesRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ComponentTemplatesRequest.java @@ -59,7 +59,7 @@ *
* CAT APIs are only intended for human consumption using the command line or * Kibana console. They are not intended for use by applications. For - * application consumption, use the /_component_template endpoints. + * application consumption, use the get component template API. * * @see API * specification diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/CountRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/CountRequest.java index b7a957b19..a1d6203c5 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/CountRequest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/CountRequest.java @@ -57,13 +57,13 @@ /** * Get a document count. Provides quick access to a document count for a data - * stream, an index, or an entire cluster.n/ The document count only includes - * live documents, not deleted documents which have not yet been removed by the - * merge process. + * stream, an index, or an entire cluster. The document count only includes live + * documents, not deleted documents which have not yet been removed by the merge + * process. *
* CAT APIs are only intended for human consumption using the command line or * Kibana console. They are not intended for use by applications. For - * application consumption, use /_count endpoints. + * application consumption, use the count API. * * @see API * specification 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 621102849..b21353b7c 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 @@ -72,7 +72,7 @@ public ElasticsearchCatAsyncClient withTransportOptions(@Nullable TransportOptio *
* CAT APIs are only intended for human consumption using the command line or
* the Kibana console. They are not intended for use by applications. For
- * application consumption, use the /_alias endpoints.
+ * application consumption, use the aliases API.
*
* @see Documentation
@@ -92,7 +92,7 @@ public CompletableFuture
* CAT APIs are only intended for human consumption using the command line or
* the Kibana console. They are not intended for use by applications. For
- * application consumption, use the /_alias endpoints.
+ * application consumption, use the aliases API.
*
* @param fn
* a function that initializes a builder to create the
@@ -113,7 +113,7 @@ public final CompletableFuture
* CAT APIs are only intended for human consumption using the command line or
* the Kibana console. They are not intended for use by applications. For
- * application consumption, use the /_alias endpoints.
+ * application consumption, use the aliases API.
*
* @see Documentation
@@ -189,7 +189,7 @@ public CompletableFuture
* CAT APIs are only intended for human consumption using the command line or
* Kibana console. They are not intended for use by applications. For
- * application consumption, use the /_component_template endpoints.
+ * application consumption, use the get component template API.
*
* @see Documentation
@@ -210,7 +210,7 @@ public CompletableFuture
* CAT APIs are only intended for human consumption using the command line or
* Kibana console. They are not intended for use by applications. For
- * application consumption, use the /_component_template endpoints.
+ * application consumption, use the get component template API.
*
* @param fn
* a function that initializes a builder to create the
@@ -232,7 +232,7 @@ public final CompletableFuture
* CAT APIs are only intended for human consumption using the command line or
* Kibana console. They are not intended for use by applications. For
- * application consumption, use the /_component_template endpoints.
+ * application consumption, use the get component template API.
*
* @see Documentation
@@ -248,13 +248,13 @@ public CompletableFuture
* CAT APIs are only intended for human consumption using the command line or
* Kibana console. They are not intended for use by applications. For
- * application consumption, use /_count endpoints.
+ * application consumption, use the count API.
*
* @see Documentation
@@ -270,13 +270,13 @@ public CompletableFuture
* CAT APIs are only intended for human consumption using the command line or
* Kibana console. They are not intended for use by applications. For
- * application consumption, use /_count endpoints.
+ * application consumption, use the count API.
*
* @param fn
* a function that initializes a builder to create the
@@ -293,13 +293,13 @@ public final CompletableFuture
* CAT APIs are only intended for human consumption using the command line or
* Kibana console. They are not intended for use by applications. For
- * application consumption, use /_count endpoints.
+ * application consumption, use the count API.
*
* @see Documentation
@@ -480,7 +480,7 @@ public CompletableFuture
* CAT APIs are only intended for human consumption using the command line or
* Kibana console. They are not intended for use by applications. For
@@ -515,7 +515,7 @@ public CompletableFuture
* CAT APIs are only intended for human consumption using the command line or
* Kibana console. They are not intended for use by applications. For
@@ -551,7 +551,7 @@ public final CompletableFuture
* CAT APIs are only intended for human consumption using the command line or
* Kibana console. They are not intended for use by applications. For
@@ -592,7 +592,7 @@ public CompletableFuture
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_ml/data_frame/analytics endpoints.
+ * consumption, use the get data frame analytics jobs statistics API.
*
* @see Documentation
@@ -612,7 +612,7 @@ public CompletableFuture
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_ml/data_frame/analytics endpoints.
+ * consumption, use the get data frame analytics jobs statistics API.
*
* @param fn
* a function that initializes a builder to create the
@@ -633,7 +633,7 @@ public final CompletableFuture
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_ml/data_frame/analytics endpoints.
+ * consumption, use the get data frame analytics jobs statistics API.
*
* @see Documentation
@@ -656,7 +656,7 @@ public CompletableFuture
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_ml/datafeeds endpoints.
+ * consumption, use the get datafeed statistics API.
*
* @see Documentation
@@ -679,7 +679,7 @@ public CompletableFuture
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_ml/datafeeds endpoints.
+ * consumption, use the get datafeed statistics API.
*
* @param fn
* a function that initializes a builder to create the
@@ -703,7 +703,7 @@ public final CompletableFuture
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_ml/datafeeds endpoints.
+ * consumption, use the get datafeed statistics API.
*
* @see Documentation
@@ -726,7 +726,7 @@ public CompletableFuture
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_ml/anomaly_detectors endpoints.
+ * consumption, use the get anomaly detection job statistics API.
*
* @see Documentation
@@ -749,7 +749,7 @@ public CompletableFuture
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_ml/anomaly_detectors endpoints.
+ * consumption, use the get anomaly detection job statistics API.
*
* @param fn
* a function that initializes a builder to create the
@@ -773,7 +773,7 @@ public final CompletableFuture
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_ml/anomaly_detectors endpoints.
+ * consumption, use the get anomaly detection job statistics API.
*
* @see Documentation
@@ -793,7 +793,7 @@ public CompletableFuture
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_ml/trained_models endpoints.
+ * consumption, use the get trained models statistics API.
*
* @see Documentation
@@ -813,7 +813,7 @@ public CompletableFuture
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_ml/trained_models endpoints.
+ * consumption, use the get trained models statistics API.
*
* @param fn
* a function that initializes a builder to create the
@@ -834,7 +834,7 @@ public final CompletableFuture
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_ml/trained_models endpoints.
+ * consumption, use the get trained models statistics API.
*
* @see Documentation
@@ -1388,7 +1388,7 @@ public CompletableFuture
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_transform endpoints.
+ * consumption, use the get transform statistics API.
*
* @see Documentation
@@ -1407,7 +1407,7 @@ public CompletableFuture
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_transform endpoints.
+ * consumption, use the get transform statistics API.
*
* @param fn
* a function that initializes a builder to create the
@@ -1427,7 +1427,7 @@ public final CompletableFuture
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_transform endpoints.
+ * consumption, use the get transform statistics API.
*
* @see Documentation
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 af37f1ab2..d967f8be0 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
@@ -73,7 +73,7 @@ public ElasticsearchCatClient withTransportOptions(@Nullable TransportOptions tr
*
* CAT APIs are only intended for human consumption using the command line or
* the Kibana console. They are not intended for use by applications. For
- * application consumption, use the /_alias endpoints.
+ * application consumption, use the aliases API.
*
* @see Documentation
@@ -93,7 +93,7 @@ public AliasesResponse aliases(AliasesRequest request) throws IOException, Elast
*
* CAT APIs are only intended for human consumption using the command line or
* the Kibana console. They are not intended for use by applications. For
- * application consumption, use the /_alias endpoints.
+ * application consumption, use the aliases API.
*
* @param fn
* a function that initializes a builder to create the
@@ -114,7 +114,7 @@ public final AliasesResponse aliases(Function
* CAT APIs are only intended for human consumption using the command line or
* Kibana console. They are not intended for use by applications. For
- * application consumption, use the /_component_template endpoints.
+ * application consumption, use the get component template API.
*
* @see Documentation
@@ -212,7 +212,7 @@ public ComponentTemplatesResponse componentTemplates(ComponentTemplatesRequest r
*
* CAT APIs are only intended for human consumption using the command line or
* Kibana console. They are not intended for use by applications. For
- * application consumption, use the /_component_template endpoints.
+ * application consumption, use the get component template API.
*
* @param fn
* a function that initializes a builder to create the
@@ -235,7 +235,7 @@ public final ComponentTemplatesResponse componentTemplates(
*
* CAT APIs are only intended for human consumption using the command line or
* Kibana console. They are not intended for use by applications. For
- * application consumption, use the /_component_template endpoints.
+ * application consumption, use the get component template API.
*
* @see Documentation
@@ -251,13 +251,13 @@ public ComponentTemplatesResponse componentTemplates() throws IOException, Elast
/**
* Get a document count. Provides quick access to a document count for a data
- * stream, an index, or an entire cluster.n/ The document count only includes
- * live documents, not deleted documents which have not yet been removed by the
- * merge process.
+ * stream, an index, or an entire cluster. The document count only includes live
+ * documents, not deleted documents which have not yet been removed by the merge
+ * process.
*
* CAT APIs are only intended for human consumption using the command line or
* Kibana console. They are not intended for use by applications. For
- * application consumption, use /_count endpoints.
+ * application consumption, use the count API.
*
* @see Documentation
@@ -273,13 +273,13 @@ public CountResponse count(CountRequest request) throws IOException, Elasticsear
/**
* Get a document count. Provides quick access to a document count for a data
- * stream, an index, or an entire cluster.n/ The document count only includes
- * live documents, not deleted documents which have not yet been removed by the
- * merge process.
+ * stream, an index, or an entire cluster. The document count only includes live
+ * documents, not deleted documents which have not yet been removed by the merge
+ * process.
*
* CAT APIs are only intended for human consumption using the command line or
* Kibana console. They are not intended for use by applications. For
- * application consumption, use /_count endpoints.
+ * application consumption, use the count API.
*
* @param fn
* a function that initializes a builder to create the
@@ -296,13 +296,13 @@ public final CountResponse count(Function
* CAT APIs are only intended for human consumption using the command line or
* Kibana console. They are not intended for use by applications. For
@@ -518,7 +518,7 @@ public IndicesResponse indices(IndicesRequest request) throws IOException, Elast
* These metrics are retrieved directly from Lucene, which Elasticsearch uses
* internally to power indexing and search. As a result, all document counts
* include hidden nested documents. To get an accurate count of Elasticsearch
- * documents, use the /_cat/count or _count endpoints.
+ * documents, use the cat count or count APIs.
*
* CAT APIs are only intended for human consumption using the command line or
* Kibana console. They are not intended for use by applications. For
@@ -554,7 +554,7 @@ public final IndicesResponse indices(Function
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_ml/data_frame/analytics endpoints.
+ * consumption, use the get data frame analytics jobs statistics API.
*
* @see Documentation
@@ -615,7 +615,7 @@ public MlDataFrameAnalyticsResponse mlDataFrameAnalytics(MlDataFrameAnalyticsReq
*
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_ml/data_frame/analytics endpoints.
+ * consumption, use the get data frame analytics jobs statistics API.
*
* @param fn
* a function that initializes a builder to create the
@@ -637,7 +637,7 @@ public final MlDataFrameAnalyticsResponse mlDataFrameAnalytics(
*
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_ml/data_frame/analytics endpoints.
+ * consumption, use the get data frame analytics jobs statistics API.
*
* @see Documentation
@@ -660,7 +660,7 @@ public MlDataFrameAnalyticsResponse mlDataFrameAnalytics() throws IOException, E
*
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_ml/datafeeds endpoints.
+ * consumption, use the get datafeed statistics API.
*
* @see Documentation
@@ -683,7 +683,7 @@ public MlDatafeedsResponse mlDatafeeds(MlDatafeedsRequest request) throws IOExce
*
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_ml/datafeeds endpoints.
+ * consumption, use the get datafeed statistics API.
*
* @param fn
* a function that initializes a builder to create the
@@ -708,7 +708,7 @@ public final MlDatafeedsResponse mlDatafeeds(
*
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_ml/datafeeds endpoints.
+ * consumption, use the get datafeed statistics API.
*
* @see Documentation
@@ -731,7 +731,7 @@ public MlDatafeedsResponse mlDatafeeds() throws IOException, ElasticsearchExcept
*
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_ml/anomaly_detectors endpoints.
+ * consumption, use the get anomaly detection job statistics API.
*
* @see Documentation
@@ -754,7 +754,7 @@ public MlJobsResponse mlJobs(MlJobsRequest request) throws IOException, Elastics
*
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_ml/anomaly_detectors endpoints.
+ * consumption, use the get anomaly detection job statistics API.
*
* @param fn
* a function that initializes a builder to create the
@@ -778,7 +778,7 @@ public final MlJobsResponse mlJobs(Function
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_ml/trained_models endpoints.
+ * consumption, use the get trained models statistics API.
*
* @see Documentation
@@ -819,7 +819,7 @@ public MlTrainedModelsResponse mlTrainedModels(MlTrainedModelsRequest request)
*
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_ml/trained_models endpoints.
+ * consumption, use the get trained models statistics API.
*
* @param fn
* a function that initializes a builder to create the
@@ -841,7 +841,7 @@ public final MlTrainedModelsResponse mlTrainedModels(
*
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_ml/trained_models endpoints.
+ * consumption, use the get trained models statistics API.
*
* @see Documentation
@@ -1394,7 +1394,7 @@ public ThreadPoolResponse threadPool() throws IOException, ElasticsearchExceptio
*
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_transform endpoints.
+ * consumption, use the get transform statistics API.
*
* @see Documentation
@@ -1413,7 +1413,7 @@ public TransformsResponse transforms(TransformsRequest request) throws IOExcepti
*
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_transform endpoints.
+ * consumption, use the get transform statistics API.
*
* @param fn
* a function that initializes a builder to create the
@@ -1433,7 +1433,7 @@ public final TransformsResponse transforms(Function
* CAT APIs are only intended for human consumption using the command line or
* Kibana console. They are not intended for use by applications. For
diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlDataFrameAnalyticsRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlDataFrameAnalyticsRequest.java
index 0ccaff14f..c257917f4 100644
--- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlDataFrameAnalyticsRequest.java
+++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlDataFrameAnalyticsRequest.java
@@ -64,7 +64,7 @@
*
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_ml/data_frame/analytics endpoints.
+ * consumption, use the get data frame analytics jobs statistics API.
*
* @see API
diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlDatafeedsRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlDatafeedsRequest.java
index 9f3c31540..c8972a2aa 100644
--- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlDatafeedsRequest.java
+++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlDatafeedsRequest.java
@@ -66,7 +66,7 @@
*
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_ml/datafeeds endpoints.
+ * consumption, use the get datafeed statistics API.
*
* @see API
* specification
diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlJobsRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlJobsRequest.java
index 04a6b7f8c..d217feb63 100644
--- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlJobsRequest.java
+++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlJobsRequest.java
@@ -67,7 +67,7 @@
*
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_ml/anomaly_detectors endpoints.
+ * consumption, use the get anomaly detection job statistics API.
*
* @see API
* specification
diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlTrainedModelsRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlTrainedModelsRequest.java
index f06ecc1bf..fe3bc8011 100644
--- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlTrainedModelsRequest.java
+++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlTrainedModelsRequest.java
@@ -64,7 +64,7 @@
*
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_ml/trained_models endpoints.
+ * consumption, use the get trained models statistics API.
*
* @see API
* specification
diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/TransformsRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/TransformsRequest.java
index c0beaae3e..095b25d87 100644
--- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/TransformsRequest.java
+++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/TransformsRequest.java
@@ -63,7 +63,7 @@
*
* CAT APIs are only intended for human consumption using the Kibana console or
* command line. They are not intended for use by applications. For application
- * consumption, use the /_transform endpoints.
+ * consumption, use the get transform statistics API.
*
* @see API
* specification
diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/HealthRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/HealthRequest.java
index 0c88e21d1..08bc59796 100644
--- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/HealthRequest.java
+++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/HealthRequest.java
@@ -148,8 +148,9 @@ public final List
* API name: {@code index}
*/
@@ -342,8 +343,9 @@ public final Builder expandWildcards(ExpandWildcard value, ExpandWildcard... val
/**
* Comma-separated list of data streams, indices, and index aliases used to
- * limit the request. Wildcard expressions (*) are supported. To target all data
- * streams and indices in a cluster, omit this parameter or use _all or *.
+ * limit the request. Wildcard expressions (
* API name: {@code index}
*
@@ -356,8 +358,9 @@ public final Builder index(List
* API name: {@code index}
*
diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/PutComponentTemplateRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/PutComponentTemplateRequest.java
index 0aa158666..82983238e 100644
--- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/PutComponentTemplateRequest.java
+++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/PutComponentTemplateRequest.java
@@ -175,8 +175,15 @@ public final Time masterTimeout() {
/**
* Required - Name of the component template to create. Elasticsearch includes
* the following built-in component templates:
* API name: {@code name}
*/
@@ -349,8 +356,15 @@ public final Builder masterTimeout(Function
* API name: {@code name}
*/
diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/MsearchRequest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/MsearchRequest.java
index 62f51f89e..a73479dbd 100644
--- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/MsearchRequest.java
+++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/MsearchRequest.java
@@ -578,9 +578,6 @@ public MsearchRequest build() {
request -> {
Map*
) are supported. To
+ * target all data streams and indices in a cluster, omit this parameter or use
+ * _all or *
.
* *
) are supported. To
+ * target all data streams and indices in a cluster, omit this parameter or use
+ * _all or *
.
* *
) are supported. To
+ * target all data streams and indices in a cluster, omit this parameter or use
+ * _all or *
.
* logs-mappings
;
- * 'logs-settings;
metrics-mappings;
metrics-settings;
synthetics-mapping;
synthetics-settings. Elastic Agent uses these templates to configure backing indices for its data streams. If you use Elastic Agent and want to overwrite one of these templates, set the
versionfor your replacement template higher than the current version. If you don’t use Elastic Agent and want to disable all built-in component and index templates, set
stack.templates.enabledto
false`
- * using the cluster update settings API.
+ * logs-settings
; metrics-mappings
;
+ * metrics-settings
;synthetics-mapping
;
+ * synthetics-settings
. Elastic Agent uses these templates to
+ * configure backing indices for its data streams. If you use Elastic Agent and
+ * want to overwrite one of these templates, set the version
for
+ * your replacement template higher than the current version. If you don’t use
+ * Elastic Agent and want to disable all built-in component and index templates,
+ * set stack.templates.enabled
to false
using the
+ * cluster update settings API.
* logs-mappings
;
- * 'logs-settings;
metrics-mappings;
metrics-settings;
synthetics-mapping;
synthetics-settings. Elastic Agent uses these templates to configure backing indices for its data streams. If you use Elastic Agent and want to overwrite one of these templates, set the
versionfor your replacement template higher than the current version. If you don’t use Elastic Agent and want to disable all built-in component and index templates, set
stack.templates.enabledto
false`
- * using the cluster update settings API.
+ * logs-settings
; metrics-mappings
;
+ * metrics-settings
;synthetics-mapping
;
+ * synthetics-settings
. Elastic Agent uses these templates to
+ * configure backing indices for its data streams. If you use Elastic Agent and
+ * want to overwrite one of these templates, set the version
for
+ * your replacement template higher than the current version. If you don’t use
+ * Elastic Agent and want to disable all built-in component and index templates,
+ * set stack.templates.enabled
to false
using the
+ * cluster update settings API.
*