I have my Spring version as 3.0.5 and ElasticSearch version as 5.6.10.
Now, I want to migrate Elasticsearch version to 6.3. So, will my Spring be compatible with ElasticSearch 6.3 version.
Thank you
Concerning this README file on git project of spring-data-elasticsearch, you can use Elasticsearch 6.5.0 with Spring Data Elasticsearch 3.2.x.
I haven't tried it yet, but you can give it a try!
Related
I am going to start a Spring Data Elasticsearch project but looking on the net, I haven't managed to understand what versions I should use.
I want to use Elasticsearch 5.5.
What versions of Spring Boot and Spring Data Elasticsearch should I use?
Thank you!
On this Spring github page https://github.com/spring-projects/spring-data-elasticsearch/wiki/Spring-Data-Elasticsearch---Spring-Boot---version-matrix, you can find compatible versions of Spring Boot, Spring Data ElasticSearch and ElasticSearch.
Currently supported versions of ElasticSearch are < 5.0.0
Edit: This page I posted is probably outdated. I'm sorry for confusing.
On git project of spring-data-elasticsearch is in README that for using Elasticsearch 5.5.0 you can use Spring data elasticsearch 3.0.x https://github.com/spring-projects/spring-data-elasticsearch
Spring Boot 2.1.2 defines Elasticsearch version as 6.4.3 in https://github.com/spring-projects/spring-boot/blob/v2.1.2.RELEASE/spring-boot-project/spring-boot-dependencies/pom.xml.
However, Spring Data Elasticsearch defines version as 6.2.2 in https://github.com/spring-projects/spring-data-elasticsearch/blob/3.1.4.RELEASE/pom.xml
So if we do not force the version, Gradle will use the highest version 6.4.3 for Elasticsearch libraries. Is it required to downgrade Elasticsearch version to 6.2.2 manually as shown in compatible versions chart at https://github.com/spring-projects/spring-data-elasticsearch?
It is not required to downgrade the Elasticsearch 6.4.3 version provided by Spring Boot as Spring Data Elasticsearch 3.1.4 has passed the integration tests with the Elasticsearch version 6.4.3.
I am wondering which version of Elasticsearch does Spring Data Elasticsearch 3.0.6 support?
Currently I am working with Elasticsearch 6.2, is this compatible?
Right now I am using the Elasticsearch Rest Client for Java, but since I am using Spring I thought about using Spring Data Elasticsearch.
According to the POM of the 3.0.6 release, the supported version is 5.5.0
I'm trying to connect to ES cluster version 5.1.1 on AWS and I'm getting error
java.io.StreamCorruptedException: invalid internal transport message format, got (48,54,54,50)
The application is built using spring-boot-starter-data-elasticsearch. The same app works with ES 2.4 version so I'm thinking this is version compatibility issue. Is there a upgrade or support for ES 5.1.1 in Spring Boot and Spring Data ?
As of today the currently supported elastic search version is elaseticsearch 2.x(*<5) if you're using the available stable release of spring data elastic search(2.x) as you can see in this compatibility matrix link.
I believe that support for elastic search 5.x is planned for spring data elasticsearch(need confirmation) 3.x that is currently M1 but then I think you need to bump also your spring boot version.
I am using Spring Data ElasticSearch 1.3.2 release, which comes with ElasticSearch 1.5.2 by default. Is it possible to upgrade to the latest version of ES (2.0) without breaking the Spring Data ES repository API ?
No. Due to several changes in the ES API this is not possible. Please see DATAES-211 for details.
The current unstable working branch can be found here: tree/DATAES-211-ES2.0