It's more a question to be asked on Spring forums I guess?
May be you are looking for this? https://docs.spring.io/spring-data/elasticsearch/docs/4.0.0.M2/reference/html/#new-features
If you are not using Spring Data, then can you tell what is your problem exactly?
When using springboot with
elasticsearch, you need to be explicit with some transitive dependencies as SpringBoot declares a version 6.4...
Basically you can put this in your
See documentation here: https://docs.spring.io/spring-boot/docs/current/reference/html/howto-build.html#howto-customize-dependency-versions