elasticsearch 提示Parse Failure [No mapping found for [filed] in order to sort on]] 的解决办法
排序代码如下:{ "sort": [ { "timestamp": { "order": "desc" } } ] }
修改后:{ "sort": [ { "timestamp": { "order": "desc", "ignore_unmapped": true } } ] }