-
Couldn't load subscription status.
- Fork 1.2k
Closed
Labels
Description
Hello, is new version of nuget should work with 8.15.4 ES instance?
It seems that there is some problem with calling Exists method on the index - I always got the error 400 (doesn't matter if index exists or not), so for example this code always show this error:
var settings = new ElasticsearchClientSettings(new Uri("http://localhost:9200"));
var client = new ElasticsearchClient(settings);
var output = client.Indices.Exists("anything");[EDIT]
as a workaround I see that when sending this header it's working fine:
var nvc = new System.Collections.Specialized.NameValueCollection
{
{ "Accept", "application/vnd.elasticsearch+json;compatible-with=8" }
};
GlobalHeaders(nvc);