18
您推薦哪種elasticsearch c#/ .net客戶端?elasticsearch c#/ .net客戶端推薦
1 - 鳥巢:https://github.com/Mpdreamz/NEST/commits/master
2 - elasticsearch.net:https://github.com/medcl/ElasticSearch.Net/commits/master
您推薦哪種elasticsearch c#/ .net客戶端?elasticsearch c#/ .net客戶端推薦
1 - 鳥巢:https://github.com/Mpdreamz/NEST/commits/master
2 - elasticsearch.net:https://github.com/medcl/ElasticSearch.Net/commits/master
恕我直言,我認爲無論是仍然需要更多的工作,因爲他們沒有ElasticSearch REST API的全覆蓋,滲透和完整查詢DSL是最顯着的缺失。
曾使用NEST我認爲,如果你想強類型的結果是更適合: -
QueryResponse<Jobtitle> queryResults = _client.Search<Jobtitle>(search);
這裏作爲ElasticSearch.Net你回來是這樣的: -
var result = client.QueryDSL.Search(index, new string[] { "type" }, query, 0, 5);
foreach (var VARIABLE in result.GetHits().Hits)
{
Console.WriteLine(VARIABLE.Fields["name"]);
}
雖然這兩個API缺少的功能,他們在github上,所以你可以叉,並幫助填補缺少的功能。
我選擇到底從thrift IDL
產生我自己簡單的客戶端在這裏謝謝巢非常伊恩 – sirmak
作者,我認爲NEST是稍稍領先功能明智的,但也不是黃金時間準備好了沒有。我只能說NEST還在積極開發中。 –
謝謝,Nest很棒,現在也是我的選擇,很高興認識你。 – sirmak