# Compare Elasticsearch 2.2.0 vs Elasticsearch 1.5.2

**URL:** https://discuss.elastic.co/t/compare-elasticsearch-2-2-0-vs-elasticsearch-1-5-2/43729
**Category:** Elasticsearch
**Created:** [March 8, 2016, 5:32am UTC](https://discuss.elastic.co/t/compare-elasticsearch-2-2-0-vs-elasticsearch-1-5-2/43729 "2016-03-08T05:32:23Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![prashanthrd](https://avatars.discourse-cdn.com/v4/letter/p/50afbb/32.png) [@prashanthrd](https://discuss.elastic.co/u/prashanthrd)
#### Post date: [March 8, 2016, 5:32am UTC](https://discuss.elastic.co/t/compare-elasticsearch-2-2-0-vs-elasticsearch-1-5-2/43729/1 "2016-03-08T05:32:23Z")

</div>

Hi Friends,

As I am planning to use Spring Data Elasticsearch, I found that the Spring-data-elasticsearch (1.4.0.BUILD-SNAPSHOT) is compatible with elasticsearch 2.2. But I am not able to apply sparing-data-elasticsearch (1.4.0.BUILD-SNAPSHOT) , as maven is not able to download it. So, I am trying to explore the older versions of spring-data-elasticsearch with elasticsearch.

Therefore, please tell me the differences between Elasticsearch 2.2 vs Elasticsearch 1.5.2. I saw the release notes, but not able to figure out clearly. Please tell in simple words the difference between the two.

Thanks in advance...

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [March 8, 2016, 6:36am UTC](https://discuss.elastic.co/t/compare-elasticsearch-2-2-0-vs-elasticsearch-1-5-2/43729/2 "2016-03-08T06:36:45Z")

</div>

In simple words? Lot of thing changed. 🙂

Just update the elasticsearch dependency in the spring data project and you will see all the compiler issues you have to fix.

---

<div class="post-metadata">

### Author: ![prashanthrd](https://avatars.discourse-cdn.com/v4/letter/p/50afbb/32.png) [@prashanthrd](https://discuss.elastic.co/u/prashanthrd)
#### Post date: [March 8, 2016, 6:43am UTC](https://discuss.elastic.co/t/compare-elasticsearch-2-2-0-vs-elasticsearch-1-5-2/43729/3 "2016-03-08T06:43:14Z")

</div>

Thank you for your response.  
As I mentioned earlier in the post that Spring-data-elasticsearch (1.4.0.BUILD-SNAPSHOT) is compatible with elasticsearch 2.2.0. How to update the elasticsearch dependency in a Maven project, as Maven is not able to download the artifact. Please suggest.

---

<div class="post-metadata">

### Author: ![prashanthrd](https://avatars.discourse-cdn.com/v4/letter/p/50afbb/32.png) [@prashanthrd](https://discuss.elastic.co/u/prashanthrd)
#### Post date: [March 8, 2016, 6:55am UTC](https://discuss.elastic.co/t/compare-elasticsearch-2-2-0-vs-elasticsearch-1-5-2/43729/4 "2016-03-08T06:55:36Z")

</div>

Also, please clarify me if I can use the latest version of Elasticsearch 2.2.0 with Spring-data-elasticsearch (1.4.0.BUILD-SNAPSHOT) , to develop my java, spring application to interact with Elasticsearch, or I need to go with older versions of elasticsearch and spring-data-elasticsearch.

Thanks in advance..

---

<div class="post-metadata">

### Author: ![sushainc](https://avatars.discourse-cdn.com/v4/letter/s/b9e5f3/32.png) [@sushainc](https://discuss.elastic.co/u/sushainc)
#### Post date: [March 8, 2016, 10:34am UTC](https://discuss.elastic.co/t/compare-elasticsearch-2-2-0-vs-elasticsearch-1-5-2/43729/5 "2016-03-08T10:34:56Z")

</div>

Prashanth or anyone from "rescue team" - How about ES 2.2.0 with spring-boot-starter-data-elasticsearch? Is there any version that works ES 2.2.0 ?  
The current version of spring boot elasticsearch (1.3.3) gives the below exception. Do I need to downgrade my ES version?

[2016-03-08 02:15:36,438][WARN][transport.netty] [sushain-dev01] exception caught on transport layer [[id: 0x1cadc7af, /127.0.0.1:60054 =\> /127.0.0.1:9300]], closing connection  
java.lang.IllegalStateException: Message not fully read (request) for requestId [1], action [cluster/nodes/info], readerIndex [39] vs expected [57]; resetting

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [March 8, 2016, 6:56pm UTC](https://discuss.elastic.co/t/compare-elasticsearch-2-2-0-vs-elasticsearch-1-5-2/43729/6 "2016-03-08T18:56:15Z")

</div>

Clone the project and run

```
 mvn clean install 

```

Then you can use it in your project.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 5, 2017, 11:10pm UTC](https://discuss.elastic.co/t/compare-elasticsearch-2-2-0-vs-elasticsearch-1-5-2/43729/7 "2017-07-05T23:10:14Z")

</div>


