Description
Using 5.2.0 gradle resolves co.elastic.clients:elasticsearch-java
to 8.10.4.
This 'some what' corresponds to #2729 which is also named in the changelog https://github.com/spring-projects/spring-data-elasticsearch/releases/tag/5.2.0 as
Upgrade to Elasticsearch REST Client 8.10.3 https://github.com/spring-projects/spring-data-elasticsearch/issues/2729
(it should have been 8.10.4 in the changelogs though).
Still, nexus reports 8.11.1 - https://mvnrepository.com/artifact/org.springframework.data/spring-data-elasticsearch/5.2.0
which is no suprise, since for the tag 5.2.0 in this repo we find https://github.com/spring-projects/spring-data-elasticsearch/blob/5.2.0/pom.xml#L24
So it should be 8.11.0.
In the end, when upgrading to 5.2.0 one will find an exception:
Since the 8.10.4 is not compatible with 5.2.0. One would need to override the dependency vai
co.elastic.clients:elasticsearch-java:8.11.1
If you find the above confusing, the reason is rather, it is confusing or a little mess. It seems like Changelog, Implementation and BOM are fairly out of sync, most probably due to a last minute upgrade of the elasticsearch-java library to 8.11.1 via d25fd52