Reputation: 43
We have an ES cluster running 6.8 and a C# .net core app that read/writes data using ElasticSearch.NET and NEST 6.8 libraries.
We're looking to upgrade the cluster to 7.17, but the ES.NET & NEST libraries have many breaking changes, as per the published breaking changes guide.
I am very new to the app and have no Elastic experience. The existing code is using many APIs that no longer exist in the v7.X library, and I am finding it very difficult updating the existing code to conform to the new API.
What would be the best place to look for information on replacing the use of deleted APIs to use the new APIs, preferably with examples? Something like "if you are currently using this, do that instead".
Upvotes: 0
Views: 874
Reputation: 125528
I recommend referencing NEST.7xUpgradeAssistant
to update from NEST 6.x to NEST 7.x.
The namespaces introduced in NEST 7.x are reintroduced in NEST.7xUpgradeAssistant
with [Obsolete]
attributes, that have descriptions of where to find the APIs in NEST 7.x. So, you can
Take a look at "The Upgrade Assistant" section in https://www.elastic.co/blog/nest-and-elasticsearch-net-7-0-now-ga for more details.
Upvotes: 2