I'm using elasticsearch 5.2, but when setting up index mapping with [geohash:true] for a geo_point field I'm getting the following error
{
"error": {
"root_cause": [
{
"type": "mapper_parsing_exception",
"reason": "Mapping definition for [location] has unsupported parameters: [geohash : true]"
}
],
"type": "mapper_parsing_exception",
"reason": "Failed to parse mapping [jdloc]: Mapping definition for [location] has unsupported parameters: [geohash : true]",
"caused_by": {
"type": "mapper_parsing_exception",
"reason": "Mapping definition for [location] has unsupported parameters: [geohash : true]"
}
},
"status": 400
}
Can anyone tell me if [geoshash] has been depreciated or there is another way to generate and store geohash from geo_point field type while creating documents?