Closed LiuGuBiGu closed 4 months ago
Hello! As stated in the compatibility section of the Readme:
The Java client is forward compatible; meaning that the client supports communicating with greater or equal minor versions of Elasticsearch without breaking
Forcing the compatibility header ignores the error, but does not guarantee that everything will function properly, so I suggest aligning the java client version with the elasticsearch server version by using the same major version (the current latest is 8.12.2) for both.
Hope this helps!
Java API client version
elasticsearch-java: 8.10.0
Java version
java: 11
Elasticsearch Version
Elasticsearch: 7.10.2
Problem description
When I execute the following code:
Error log:
If executing the following code is good