You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
::::{dropdown} Added callbacks to Rest5Client builder
11
-
Rest5ClientBuilder now has the same level of in depth configuration the Legacy RestClientBuilder has, allowing to customize the underlying Apache HttpClient through callback functions; for example, this is how to configure the IOReactor's thread count:
10
+
There are no breaking changes in this version of the client.
11
+
12
+
## Features and enhancements [elasticsearch-java-client-904-features-enhancements]
13
+
14
+
### Added callbacks to Rest5ClientBuilder
15
+
`Rest5ClientBuilder` now has the same level of in-depth configuration as the legacy `RestClientBuilder`, allowing you to customize the underlying Apache `HttpClient` through callback functions. For example, here's how to configure the `IOReactor` thread count:
`fields` in `Highlight` was wrongly mapped as `List<Map>`, but the server doesn't actually accept more than one value, so the type has been changed to `List<NamedValue>`.
@@ -47,7 +47,7 @@ Example with `SearchRequest`:
47
47
**Action**<br> Replace the missing class with the new class name.
48
48
::::
49
49
50
-
### Features and enhancements [elasticsearch-java-client-910-features-enhancements]
50
+
## Features and enhancements [elasticsearch-java-client-910-features-enhancements]
51
51
52
52
::::{dropdown} Opentelemetry update to stable conventions
53
53
Following the stable release of Opentelemetry's database conventions, the client was updated to use the correct attribute names.
Copy file name to clipboardExpand all lines: docs/release-notes/index.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,10 +8,15 @@ mapped_pages:
8
8
9
9
Review the changes, fixes, and more in each version of Elasticsearch Java Client.
10
10
11
-
To check for security updates, go to [Security announcements for the Elastic stack](https://discuss.elastic.co/c/announcements/security-announcements/31).
11
+
To check for security updates, refer to [Security announcements for the Elastic stack](https://discuss.elastic.co/c/announcements/security-announcements/31).
12
12
13
-
## 9.0.0
14
-
[Release notes](../release-notes/9-0-0.md)
13
+
To check for issues, refer to [Known issues](../release-notes/known-issues.md).
# Elasticsearch Java Client known issues [elasticsearch-java-client-known-issues]
7
7
8
-
We handle all of our issues in our [Github repo](https://github.com/elastic/elasticsearch-java/issues).
8
+
For detailed issues, refer to the [Java client repo](https://github.com/elastic/elasticsearch-java/issues).
9
9
10
-
### 8.16.7 [known-issues-8-16-7]
11
10
12
-
8.16.7 is the first patch released without a matching rest-client version, so the `elasticsearch-rest-client` dependency is missing, causing the following exception:
The latest major version of the client doesn't depend on `elasticsearch-rest-client` anymore, as the new built in Rest5Client is available, but it does depend on the Apache `commons-logging` dependency, which is missing, causing the following exception:
13
+
The 9.0.0 version of the client uses the new built-in `Rest5Client`, instead of depending on `elasticsearch-rest-client`. But the 9.0.0 client still depends on Apache `commons-logging`, which causes the following exception when not available:
35
14
```
36
15
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
37
16
at co.elastic.clients.transport.rest5_client.low_level.Rest5Client.<clinit>(Rest5Client.java:115)
@@ -40,7 +19,9 @@ Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/lo
40
19
at co.elastic.clients.transport.ElasticsearchTransportConfig$Default.buildTransport(ElasticsearchTransportConfig.java:110)
41
20
at co.elastic.clients.elasticsearch.ElasticsearchClient.of(ElasticsearchClient.java:190)
42
21
```
43
-
To use the new Rest5Client, add the `commons-logging` dependency:
22
+
This problem was [fixed](https://github.com/elastic/elasticsearch-java/pull/1010) in 9.0.1.
23
+
24
+
To fix this issue in 9.0.0 and use the new `Rest5Client`, add the `commons-logging` dependency:
8.16.7 is the first patch released without a matching rest-client version. The `elasticsearch-rest-client` dependency is missing, causing the following exception:
0 commit comments