
Elasticsearch - No mapping found for [field_name] in order to sort on
可能的原因:在mapping中没有数据,也就是被排序的字段Timestamp在mapping中不存在,或者说一个index对应的mapping是空的。"reason" : "No mapping found for [Timestamp] in order to sort on",没有mapping。根据返回信息,2022.log, 2023.log对应的mapping都是空的,es没有对这两个索引排序。"type" : "query_shard_exception"查询分片异常,找一个查询失败日志分析。























