我使用ES-6,默认情况下,candidateCreationTime在Kibana中被索引为number。如何将其映射到日期值?
{
"_index": "candidatesources",
"_type": "candidatesource",
"_id": "5c08b8930bcfe318ca2a00f4",
"_version": 3,
"_score": 1,
"_source": {
"candidateNotes": "Some Notes",
"candidateCreationTime": 1544066189124,
"state": "verified"
}
}我试过了
PUT candidatesources/_mapping/csdate
{
"properties": {
"candidateCreationTime": {
"type": "date"
}
}
}但是它给出了如下的错误
Rejecting mapping update to [candidatesources] as the final mapping would have more than 1 type: [candidatesource, csdate]我该如何使它成为date而不是number
https://stackoverflow.com/questions/53749763
复制相似问题