You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
K. Alex Mills edited this page Dec 17, 2018
·
6 revisions
Spring Boot Version (x)
Spring Data Elasticsearch Version (y)
Elasticsearch Version (z)
x <= 1.3.5
y <= 1.3.4
z <= 1.7.2*
x >= 1.4.x
2.0.0 <=y < 5.0.0**
2.0.0 <= z < 5.0.0**
(*) - require manual change in your project pom file (solution 2.)
(**) - Next big ES release with breaking changes
#Common questions:
##1. Why Spring Boot 1.x.x doesn't work with Elasticsearch 2.x.x?
Spring boot 1.x.x auto configuration is using ImmutableSettings class from Elasticsearch and that class has been removed in version 2.x.x of Elasticsearch.
Spring Boot has dedicated module to specify dependency versions.
To change version of ES from 1.5.2 to 1.7.2 add elasticsearch.version into your pom properties