elasticsearch c#/.net client recommendation [closed] elasticsearch c#/.net client recommendation [closed] elasticsearch elasticsearch

elasticsearch c#/.net client recommendation [closed]


IMHO, I think both still need more work as they don't have complete coverage of the ElasticSearch REST API, percolate and complete Query DSLs being the most conspicuous missing.

Having used NEST I think that is more suitable if you want strongly typed results:-

QueryResponse<Jobtitle> queryResults = _client.Search<Jobtitle>(search);

where as ElasticSearch.Net you get back something like:-

var result = client.QueryDSL.Search(index, new string[] { "type" }, query, 0, 5);foreach (var VARIABLE in result.GetHits().Hits){Console.WriteLine(VARIABLE.Fields["name"]);}

Whilst both APIs are missing features, they are on github so you can fork and help fill in the missing features.

I chose in the end to generate my own simple client from the thrift IDL