I would like to use the spring data elastic search capability with spring 3.1.2. Does spring data elastic search works with spring 3.1.2 version.?
Spring elastic search is available under spring data release of 1.1x and 1.3x. Spring Data 1.1x required Java 1.6 or later. Spring Data 1.3x required Java 1.7 or later.
You are relating SpringData elastic search functionality with SpringFramework version. It does all dependent on which java version you are supposed going to using. Please find the detail and supporting link below for your reference.
Spring framework requirment noted below. You can find them under Mininum Requirment section in the Link
Minimum requirements of Spring Framework
•JDK 6+ for Spring Framework 4.x
•JDK 5+ for Spring Framework 3.x
Spring data elastic search minimun requrirment noted down. You can find them under note section of below Link
Minimum requirements for elastic search
Spring data elaticsearch until 1.0.0.RELEASE version is on
elasticsearch 1.1.x library, which uses java 1.6 or later version
From spring data elasticsearch 1.1.0.RELEASE the version of
elasticsearch is 1.3.x which is supporting java 1.7 or later
Next Time You Require any dependency information just go to mvnrepository.com and just select the project and its version it will show complete dependency list over there
http://mvnrepository.com/artifact/org.springframework.data/spring-data-elasticsearch/1.0.0.RELEASE
Now Answer to Your Question.
No Spring Data ElasticSearch does not work with Spring 3.1.2 it Requires Minimum Spring 4.2.5 RELEASE
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
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 need to use WiredTiger Engine in my application which is available in the latest mongodb version 3.2.2 and my Maven repository which is using the version Spring Data MongoDB version 1.8.4, Java driver version 2.13.3 and I've installed MongoDB version 2.6.11.
Which version of spring-data-mongodb should i use, in order to be compatible with Spring 3.2.2.RELEASE?
This is the duplicate of the following unanswered question :
Which version of Spring Data MongoDB is compatible with Spring 3.2.2.RELEASE?
But I don't have enough privilege to re-ask or comment on the Question.
The last Spring Data release train compatible with Spring 3.2 is Dijkstra and has seen its last service release January 27th, 2015. The Spring Data MongoDB version contained in it is 1.5.5.RELEASE.
Note that this version is not compatible with any MongoDB 3.x version. MongoDB 3.x support was introduced in the Fowler release train and is refined in even more current releases only. So I am strongly suggesting to upgrade to one of those versions if you want to work with a MongoDB of that generation.
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