我在连接到Elastic Search的Kibana中运行此查询
{
"sort": [
{
"date": {
"order": "asc"
}
}
]
}
并得到错误:query malformed, no start_object after query name
为什么?
您需要包含查询对象
{
"query": {
"match_all": {}
},
"sort": [
{
"date": {
"order": "asc"
}
}
]
}