Question

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?

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top