File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,18 @@ additional headers that instruct {es} `8.x` to behave like a `7.x` server.
1919The {java-client} doesn't need this setting as compatibility mode is always
2020enabled.
2121
22+ You can use the HLRC version `7.x` with the {java-client} version `8.x`:
23+
24+ ["source","groovy",subs="attributes+"]
25+ --------------------------------------------------
26+ dependencies {
27+ implementation 'co.elastic.clients:elasticsearch-java:{version}'
28+ implementation 'org.elasticsearch.client:elasticsearch-rest-high-level-client:7.17.3'
29+ // other dependencies <1>
30+ }
31+ --------------------------------------------------
32+ <1> See <<installation>>
33+
2234[discrete]
2335==== Using the same http client with the HLRC and the Java API Client
2436
You can’t perform that action at this time.
0 commit comments