我想用弹性(6.2.4)表示小面。
一个方面应该为特定字段中的每个值提供一个值和包含这个值的文档数量(按文档的数量排序)。
根据文档,我认为我需要使用术语聚合。
这是我的代码:
var indexName = "newindx";
ElasticClient client = new ElasticClient(
new ConnectionSettings(
new SingleNodeConnectionPool(
new Uri(@"ht
我正在尝试使用elasticsearch实现自动完成功能。我正在研究的索引的结构是
"title": "blog post 1",
"body": "body of the blog post",
"category": "programming",
"locations": [
{"name": "united states"},
{"name": "new york"},
{"na