弹性搜索和kibana版本6.4.3似乎将日期显示为数字。使用了弹性搜索Java API,并且JSON似乎格式正确
{
"_index": "check",
"_type": "Check",
"_id": "JCQ4fmcB4eP4HJ7ZcOXd",
"_version": 1,
"_score": null,
"_source": {
"expected": "2018-12-04",
"actual": "2018-12-04",
"remark": "GOOD",
"date": "2018-12-05"
},
"fields": {
"date": [
"2018-12-05T00:00:00.000Z"
]
},
"sort": [
1543968000000
]
}
然而,Kibana似乎认为这是一个数字(请参见GUI和JSON中的“实际”和“预期”字段)
任何建议/解决方法将不胜感激