Nest 2.x with ES 1.x

Hi everyone!

I'm trying to find a compatibility table between different versions of Nest and Elasticsearch. I found one at https://github.com/elastic/elasticsearch-net#compatibility-matrix and it says that for ES 1.x I should use Nest 1.x. So Nest 2.x isn't compatible with ES 1.x?

This question looks pretty obvious since the table clearly shows compatibility between Nest and ES. However, I remember that it was suggested to use Nest 1.x with ES 2.x prior to Nest 2.x release. So Nest 1.x was compatible with ES2.x and maybe Nest 2.x is compatible with ES 1.x too?

Hey!

That's correct, as the compatibility matrix shows, NEST 2.x is not compatible with ES 1.x.

However, I remember that it was suggested to use Nest 1.x with ES 2.x prior to Nest 2.x release.

Bad advice :slight_smile: We definitely do not recommend nor support using NEST 1.x against ES 2.x. You may be able to get away with some things by chance (requests/responses that haven't changed in ES), but the majority of stuff will not work.

1 Like

@gmarz Thanks for the clarification!