Reputation: 11668
I have a .NET WebAPI and I recently moved to NEST2 and ElasticSearch2.
Before porting the code I had:
new InjectionConstructor(
new ResolvedParameter<IConnectionSettingsValues>(),
new OptionalParameter<IConnection>(),
new OptionalParameter<INestSerializer>(),
new OptionalParameter<ITransport>()));
to inject NEST into my WebAPI
Unfortunately the namespace
using Elasticsearch.Net.Connection;
doesn't exist anymore and I get three errors about IConnection
INestSerializer
ITransport
not being found
How can I fix that?
Upvotes: 0
Views: 227
Reputation: 125538
In Nest 2.x, namespaces have been simplified to put
Elasticsearch.Net
Nest
Upvotes: 1