# ElasticSearch.Net comptability matrix with ElasticSearch versions

**URL:** <https://discuss.elastic.co/t/elasticsearch-net-comptability-matrix-with-elasticsearch-versions/75132>\
**Category:** Elasticsearch\
**Created:** [February 15, 2017, 4:41am UTC](https://discuss.elastic.co/t/elasticsearch-net-comptability-matrix-with-elasticsearch-versions/75132 "2017-02-15T04:41:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ImdotnetJunkie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/imdotnetjunkie/32/15514_2.png) [@ImdotnetJunkie](https://discuss.elastic.co/u/ImdotnetJunkie)\
**Post date:** [February 15, 2017, 4:41am UTC](https://discuss.elastic.co/t/elasticsearch-net-comptability-matrix-with-elasticsearch-versions/75132/1 "2017-02-15T04:41:55Z")

</div>

Do we have a [ElasticSearch.NET](http://ElasticSearch.NET) compatibility matrix with ElasticSearch versions ? or Latest [ElasticSearch.NET](http://ElasticSearch.NET) version is compatible with all ES versions ?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 15, 2017, 7:15am UTC](https://discuss.elastic.co/t/elasticsearch-net-comptability-matrix-with-elasticsearch-versions/75132/2 "2017-02-15T07:15:15Z")

</div>

The 5.X client is only compatible with 5.X of ES, this is due to the number of changes that were made to both the client and ES.

---

<div class="post-metadata">

**Author:** ![ImdotnetJunkie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/imdotnetjunkie/32/15514_2.png) [@ImdotnetJunkie](https://discuss.elastic.co/u/ImdotnetJunkie)\
**Post date:** [February 15, 2017, 8:41am UTC](https://discuss.elastic.co/t/elasticsearch-net-comptability-matrix-with-elasticsearch-versions/75132/3 "2017-02-15T08:41:45Z")

</div>

The reason I asked this question is , we are trying to upgrade our ES cluster from 1.7.5 to 5.x so just wanted to know which is the minimum version [ES.NET](http://ES.NET) supported for 5.x.

As far as index creation is concerned, i tried connecting [ES.NET](http://ES.NET)(5.0.1) with ES(1.7.5) and it worked fine. this is the only thing we are doing from [ES.NET](http://ES.NET) client.

So, I guess there might be other things which wont work.

Further, we were using Elasticsearch.Net.JsonNET (1.8.0) with [ES.NET](http://ES.NET) (1.8.0) which is no more available for latest version of [ES.NET](http://ES.NET).

So, would this (ES.NET.JsonNET) be available for latest versions of ES or we should should ServiceStack.Text or other serializer or should the default Serializer provide by [ES.NET](http://ES.NET) itself.

---

<div class="post-metadata">

**Author:** ![forloop](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/forloop/32/9021_2.png) [@forloop](https://discuss.elastic.co/u/forloop)\
**Post date:** [February 17, 2017, 3:45am UTC](https://discuss.elastic.co/t/elasticsearch-net-comptability-matrix-with-elasticsearch-versions/75132/4 "2017-02-17T03:45:32Z")

</div>

If you're using Elasticsearch 5.x, you really should upgrade NEST and [Elasticsearch.Net](http://Elasticsearch.Net) to 5.x too; while a major version of the client may partially work against a different major version of Elasticsearch, it is not supported and there are known breaking changes between major versions of Elasticsearch that are reflected in changes in major versions of the client.

If you're using [Elasticsearch.Net](http://Elasticsearch.Net) 1.x currently, along with the [Json.NET Elasticsearch.Net package](https://www.nuget.org/packages/Elasticsearch.Net.JsonNET/), I would recommend moving over to NEST 5.x major version and using the the [Elasticsearch.Net](http://Elasticsearch.Net) low level client that is exposed on the NEST high level client through the `.LowLevel` property. In doing this, the low level client will use the default serializer configured for NEST which by default uses [Json.NET](http://Json.NET) for serialization.

---

<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:** [March 17, 2017, 3:45am UTC](https://discuss.elastic.co/t/elasticsearch-net-comptability-matrix-with-elasticsearch-versions/75132/5 "2017-03-17T03:45:33Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
