문제

I'm trying to check the connection status, but there is an exception when checking.

var node = new Uri("http://myhost:9200");       
var settings = new ConnectionSettings(node);

ElasticClient client = new ElasticClient(settings);
IStatusResponse status = client.Status();

After calling client.Status() throws an exception Newtonsoft.Json.JsonReaderException

JSON integer 12500348306 is too large or small for an Int32. Path 'indices.companyindx.index.primary_size_in_bytes', line 1, position 37862.

If i do not check the status of call, then everything works fine.

I'm using C # and Nest 1.0.0-beta1

What could be the reason?

도움이 되었습니까?

해결책

This is actually a bug in NEST, more info here. Should be fixed in the next release if that PR is merged. Good find!

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top