Hi,
I am getting error for geo_point type in kibana visualization because after every roll over of the index the destination.geo.location field changed to text type.(example roll over index name is my_index -000005)
PUT my_index-000005/_mapping
{
"properties" : {
"destination" : {
"properties" : {
"geo" : {
"properties" : {
"location" : {
"type" : "geo_point"
}
}
}
}
}
}
}
I want to change the type text to geo_point type in kibana devtool but showing below error.Please help me to how resolve the issue.
{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "mapper [destination.geo.location] of different type, current_type [text], merged_type [geo_point]"
}
],
"type": "illegal_argument_exception",
"reason": "mapper [destination.geo.location] of different type, current_type [text], merged_type [geo_point]"
},
"status": 400
}
Thank you.