NEST v1.0.2 compatibility with elasticsearch 1.4 - elasticsearch

I am currently using NEST v1.0.2 with elasticsearch v1.3.2. I would like to upgrade elasticsearch to 1.4 without having to change my application's NEST dependencies, but I am having trouble finding any information about compatibility of the client APIs with more mature versions of elasticsearch. Does anyone know if these two different versions of the products will be compatible?

For the most part, yes, but it isn't recommended. Any 1.x version of NEST should, in theory, be compatible with any 1.x version of Elasticsearch. However, we don't guarantee this as we do not continually test older versions of the client against newer versions of Elasticsearch. Any breaking change introduced in Elasticsearch may break the client as well.
However, we do guarantee backwards compatibility between minor versions of NEST. So upgrading to NEST 1.4 will not break anything in your application, and would also allow you to take advantage of all the new Elasticsearch 1.4 features.
I highly recommend upgrading to NEST 1.4 as well.

Related

Elasticsearch Version Supported with Rally

Does all features of Rally work with Elasticsearch 2.3.x or 5.0.0 is the minimum ES version for rally?
I could not find anything related to this in the doc.
Disclaimer: I am the main author of Rally.
The earliest version that works with Rally is Elasticsearch 1.7 (actually, even earlier 1.x versions should work). These features will not work with earlier versions of Elasticsearch:
Benchmarking with plugins works only with 5.x or later: As you might have noted, you can have Rally set up the cluster for you before benchmark or you can use Rally just as a load generator and set up the cluster yourself. In the latter case, you can install plugins on older cluster versions as you see fit and use Rally to generate load. It's just that you cannot use Rally to set up the cluster for you in that case.
Benchmarking source builds works only with 5.x or later: The reason is that Elasticsearch has switched from Maven to Gradle as a build tool with 5.0 and there is no point in supporting two build tools.
In general, there is not much code in Rally that is depending on the version of Elasticsearch. This is rather covered in tracks and cars (see https://github.com/elastic/rally-tracks and https://github.com/elastic/rally-teams respectively) which use dedicated git branches to account for differences between Elasticsearch versions.
Having that said, Elasticsearch 1.x is end of life since January 2017 and in the interest of maintainability, Rally will drop support for older versions of Elasticsearch at some point. However, as long as it is feasible, I want to keep it around.

Elastic search version 2.3 to 5.1

My projects java version runs on 1.7.0_71. and my elastic search version is 1.4.3 . Now we want to upgrade the es to 2.3.5. Is it ok to simply upgrade the elastic search version from 1.4.3 to 2.3.5. or should i upgrade the java to 1.8 then migrate it to 5.1 .. because my ultimate target is to for elastic search 5.1 version.
It should be ok to upgrade from 1.4 to 2.3, but it will be trickier (impossible) to go straight from 1.4 to 5.1 or 1.4->2.3->5.x without reindexing.
Segments created two Lucene major versions back are not supported.
So, even if you updgrade to 2.3, there still might be old segments (created in 1.4) when you upgrade to 5.x. There is an upgrade indices API, but as the documentation says it will not be useful for a 1.x -> 5.x upgrade.
Regarding the Java version, yes, you need Java 1.8, at least update 73: https://www.elastic.co/guide/en/elasticsearch/reference/5.1/setup.html#jvm-version

Nest for elasticsearch 2.1.1 version

What version of NEST should i use for latest Elasticsearch version (2.1.1). We are planning to release our product in another 2 months and we are releasing with Elasticsearch 2.1.1 and wanted to know the right version of NEST to use
Nest has currently released version 2.0.0-alpha1 which should be compatible with Elasticsearch 2.x. I'm not sure when they will make Nest 2.0 generally available. You can download the pre-release version from here.

NEST version 1.3.1 supported Elasticsearch version(s)

I'm looking to upgrade my Elasticsearch cluster to 1.4.5 or 1.5 and was curious if this upgrade will break my current codebase.
We are using NEST 1.3.1 in our code and I want to see if this version supports Elasticsearch 1.4.5 and higher? If you could link some documentation regarding this support, that would help me tremendously. Thank you all!
Did you consider upgrading Nest? Within the same major version, it is pretty much always backward compatible. With an older version of Nest and newer version of Elasticsearch, you would miss out on being able to use any new features that the newer version of Elasticsearch may provide. Anyways, you can read about the release notes of Nest here.

Upgrade version of elasticsearch from 0.90.7 to 1.6.1

I am new in elasticsearch and I have by mistake installed 0.90.7 version in my server. Now I want to install shield for this I have to upgrade my elasticsearch version to 1.5 or above. So I need to Upgrade version without loosing existing data. Can anybody help me how to upgrade version to 1.6.1?
You can upgrade your Elasticsearch version from 0.90.x to 1.x in the following way
Cluster restart upgrade process
Before upgrading Elasticsearch, it is a good idea to consult the breaking changes docs.
As per Elasticsearch Documentation before performing an upgrade, it’s a good idea to back up the data on your system.

Resources