Skip to content

Commit dfd0f8e

Browse files
committed
add dependency note in docs
1 parent 1824015 commit dfd0f8e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/release-notes/9-0-0.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,10 @@ ElasticsearchClient esClient = ElasticsearchClient.of(b -> b
329329
.apiKey(apiKey)
330330
);
331331
```
332-
The classic version of the builder is still available.
332+
The classic version of the builder is still available, both with the new `Rest5Client` and the legacy `RestClient`; while the `Rest5Client` is included with the java client's dependency, the legacy `RestClient` must be imported separately:
333+
```
334+
implementation("org.elasticsearch.client:elasticsearch-rest-client:9.0.0")
335+
```
333336
::::
334337

335338
::::{dropdown} New Rest5Client

0 commit comments

Comments
 (0)