From 26eba45285e5d0c9e1a716a4e0cb0d53eef268fc Mon Sep 17 00:00:00 2001 From: Artur Konczak Date: Mon, 27 Jun 2016 11:03:08 +0100 Subject: [PATCH] Created Spring Data Elasticsearch + Spring Boot - version matrix (markdown) --- ...icsearch---Spring-Boot---version-matrix.md | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Spring-Data-Elasticsearch---Spring-Boot---version-matrix.md diff --git a/Spring-Data-Elasticsearch---Spring-Boot---version-matrix.md b/Spring-Data-Elasticsearch---Spring-Boot---version-matrix.md new file mode 100644 index 0000000..8f9a292 --- /dev/null +++ b/Spring-Data-Elasticsearch---Spring-Boot---version-matrix.md @@ -0,0 +1,37 @@ + +|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. + +For more information pleas look at that page: [Breaking changes in Elasticsearch 2.0](https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking_20_java_api_changes.html#_immutablesettings_removed) + +##2. Run Spring Boot 1.3.5 + ES 1.7.2 + +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 + +``` + + ... + 1.7.2 + ... + +``` + + + \ No newline at end of file