0
我嘗試使用以下代碼創建內存索引,但它會創建常規索引。 有什麼想法?使用Elasticsearch.net創建內存索引
var node = new Uri("http://localhost:9200");
var settings = new ConnectionSettings(node);
var client = new Elasticsearch.Net.ElasticsearchClient(settings);
var js = JsonConvert.SerializeObject("{settings: { index.store.type: memory}");
var index = client.IndicesCreate("sampleIndex", js);
非常感謝,它的工作原理! – SerhatTopkaya