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.
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 supported for 5.x.
So, I guess there might be other things which wont work.
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 itself.
If you're using Elasticsearch 5.x, you really should upgrade NEST and 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 1.x currently, along with the Json.NET Elasticsearch.Net package, I would recommend moving over to NEST 5.x major version and using the the 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 for serialization.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.