I removed my nest 6.5 from asp.net core project , and add nest 7.1.0 ( package "Elasticsearch.Net/7.1.0")but i have error like ( 'IElasticClient' does not contain a definition for 'CreateIndex' ) . How Fix this error?
API methods have been namespaced on the client. For example,
in NEST 6.x
becomes the following in NEST 7.x
Check out the release notes and blog post on NEST 7.0.0 for more details. Whilst migrating to 7.x, the NEST.7xUpgradeAssistant nuget package can help, by providing the old API method names that will invoke the new namespaced methods, providing a compiler warning to allow you to migrate over.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.