私はelasticsearch 5.2を使用していますが、geo_pointフィールドに[geohash:true] M [geoshash]が償却されたかの文書を作成中geo_pointフィールドタイプからジオハッシュを生成し、保存するための別の方法がある場合は?次のエラーが[location]のマッピング定義にサポートされていないパラメータがあります:[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
}
誰も私を伝えることができ取得
これは、geohashを別のソースを使用して明示的に格納するようなものです。しかし、私は、自動生成されたgeohashをgeo_pointsに格納された緯度経度から生成する必要があります。 –
@AbhishekAdhikary更新された回答をご覧ください –