我正在使用elasticsearch 5.2,但是在使用 [geohash:true] 为 geo_point 字段设置索引映射时,出现以下错误
{
"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
}
谁能告诉我 [ geoshash ] 是否已贬值,或者在创建文档时是否有另一种方法可以从 geo_point 字段类型生成和存储 geohash?