"mainBody": {
"doc_count_error_upper_bound": 170,
"sum_other_doc_count": 2707283,
"buckets": [
{
"key": "",
"doc_count": 8678677,
"hit": {
"doc_count_error_upper_bound": 0,
"sum_other_doc_count": 0,
"buckets": [
{
"key": 0,
"doc_count": 8200412
}
,
{
"key": 1,
"doc_count": 478265
}
]
}
}
}
需求:如上所示,我想根据hit下,key=1来倒序排序,不知道如何实现,请大神们不吝赐教,抱拳了。
1 个回复
yunfeng
赞同来自: