0
我正在使用elasticsearch 5.2,但是當爲geo_point字段I'設置[geohash:true] m到處以下錯誤[位置]的映射定義具有不受支持的參數:[geohash:true]:Elasticsearch 5.X
{
"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字段類型店面地理散列?
這類似於從使用另一個源和儲存它明確elasticsearch生成地理散列。但是我需要從存儲的經緯度格式化geo_points自動生成geohash。 –
@AbhishekAdhikary查看更新的答案 –