【发布时间】:2017-02-22 07:40:45
【问题描述】:
我正在使用 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?
【问题讨论】:
标签: elasticsearch geopoints elasticsearch-5 geohashing