ElasticSearch version supported in Spring Data - elasticsearch

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

Related

ApacheManifoldCF elasticsearch output connector version compatibility

I am trying to connect elasticsearch as output connector from apache ManifoldCF.Using elasticsearch 7.1.X version which is not working.
Can you suggest will maniFoldCF work with latest elasticsearch version ?
Tried configuring the repository and output plugin with elasticsearch. Executed a job but nothing turned up in elasticsearch.
Data should be crawled from repo to elasticsearch index. But its not happening with latest elasticsearch version.
The latest release of ManifoldCF was tested successfully for version 7.x. See this ticket:
https://issues.apache.org/jira/browse/CONNECTORS-1639
Looking at the output connector interoperability notes for version 2.15 (the latest as of this writing) the Elasticsearch connector was tested against 1.x instances Tested with ElasticSearch 1.0, 1.1, 1.2, 1.3 Included Connectors. Knowing of breaking changes in both ES 6.x and 7.x releases I would guess the connector will need some modifications to work with the latest 6, 7, and maybe even 5.x versions of Elasticsearch. Should be a relatively simple task to clone the default connector and make the changes to add support though.

Spring Data Version Compatibility VS Elasticsearch version Compatibility

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!

Elasticsearch and Spring Compatibility (March 2019)

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 Data Elasticsearch 3.0.6 - Compatibility

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

ElasticSearch 5.1.1 support on Spring Boot 1.4.1

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.

Resources