0
새로 가져온 프로젝트로 인해 NEST 버전 = "0.12.0.0"targetFramework = "net40"에서 version = "2.0.4"targetFramework = "net452"로 업그레이드해야했습니다. 그것을 필요로하는 어셈블리.더 이상 사용되지 않는 NEST 기능으로 인해 C#에서 문제가 발생했습니다
이전 버전의 Nest를 참조하는 기존 cs 클래스가 있는데 더 이상 솔루션을 빌드 할 수 없습니다. 동일한 프로젝트에서 두 버전의 NEST를 모두 참조 할 수있는 방법이 있습니까? 또는 최신 버전의 NEST를 사용하도록 이전 코드를 다시 작성할 수 있습니까? 더 이상 해결을 할 수있는 심볼은 특히, ElasticClient 관련이 있습니다
ElasticClient _client = new ElasticClient(_settings);
var clusterHealth = _client.Health(HealthLevel.Cluster);
var nodesHealth = _client.NodeInfo(NodesInfo.All);
var indicesHealth = _client.Health(HealthLevel.Indices);
var indicesStats = _client.Stats();
구체적으로는 건강, HealthLevel, nodeinfo의 및 통계
어떤 도움감사를 해결할 수없는 어디!