我正在使用 NEST 连接到 elasticsearch 服务器:
var searchBoxUri = new Uri("xxx");
var elasticSettings = new ConnectionSettings(searchBoxUri).SetDefaultIndex("xxx");
var client = new ElasticClient(elasticSettings);
我收到了这个错误:
'ElasticClient' is a 'namespace' but is used like a 'type'