elasticsearch 按子元素的个数排序
比如 questions
{
"title":"xxx",
"descriptions": "xxx",
"answers": [
{ "answer":"yyy"},
{ "answer":"zzz"}
]
}
就是 查询所有questions list 安answer的数量排序。怎么排序? 哪位知道?
Treed
11 years, 9 months ago