spring-data-elasticsearch icon indicating copy to clipboard operation
spring-data-elasticsearch copied to clipboard

There is a conflict between the package types of the two versions.

Open aiYShen opened this issue 2 years ago • 1 comments

org.springframework.data spring-data-elasticsearch 5.3.2 co.elastic.clients elasticsearch-java 7.17.23 65A64D319DE99AB65FD6B36511BD7636 987FB4D647E725DF226AAA2DBD9B7A3A

aiYShen avatar Aug 07 '24 11:08 aiYShen

Spring Data Elasticsearch since version 5.3.2 is built against Elasticsearch 8.13.4. The parameter of these type obviously changed in the Elasticsearch client since version 7.17.23, that's nothing where Spring Data Elasticsearch could do anything. Some of these parameters in the Elasticsearch client library even changed with patch level changes.

The conflict you get is because you do not use the Elasticsearch library that Spring Data Elasticsearch is built against. You should use the Elasticsearch client libs in the correct versions, as defined by the Spring Data Elasticsearch pom and documented in the release notes (https://docs.spring.io/spring-data/elasticsearch/reference/elasticsearch/versions.html it seems I forgot to update this with 5.3.2)

sothawo avatar Aug 07 '24 16:08 sothawo