根据此How to update a field type in elasticsearch,我添加了Put Mapping AP。然而,Kibana,我得到的财产是未知的(见下面的截图)。在排名字段中,有数值或0.
{
"tweet" : {
"properties" : {
"user" : {"type" : "string", "index" : "not_analyzed"},
"message" : {"type" : "string", "null_value" : "na"},
"postDate" : {"type" : "date"},
"priority" : {"type" : "integer"},
"rank" : {"type" : "float"}
}
}
}