【发布时间】:2017-01-26 17:15:42
【问题描述】:
我有弹性多搜索查询,它返回 3 个文档列表。
有意义的响应看起来像:
{
"responses": [
{
...
"hits": {
"total": 0,
"max_score": null,
"hits": []
}
},
{
...
"hits": {
"total": 0,
"max_score": null,
"hits": []
}
},
{
...
"hits": {
"total": 0,
"max_score": null,
"hits": []
}
}
]
}
我通过“results.GetResponses()”获得了 c# 中的 3 个文档列表。
但我不知道如何获得每个列表的总数?即总数?
【问题讨论】:
-
我猜,你应该手动合并你的回复。
标签: c# elasticsearch nest