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.
19
19
The {java-client} doesn't need this setting as compatibility mode is always
20
20
enabled.
21
21
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
+
22
34
[discrete]
23
35
==== Using the same http client with the HLRC and the Java API Client
24
36
You can’t perform that action at this time.
0 commit comments