elasticsearch 在python代码中实现地理位置范围查询流程
1、建立索引结构,知名location 字段为geo_pointes = Elasticsearch()data={"mappings":{"re": {"properties": {"location": {"type": "geo_point"}}}}}es.indices.create(index='my_index', body=data
原创
2017-12-27 11:47:57 ·
773 阅读 ·
0 评论