PUT /test { "mappings": { "properties": { "location": { "type": "geo_point" } } } } POST /test/1 { "location": [ -71.34, 41.12 ] }
可参考:https://www.freesion.com/article/5892175420/