ElasticSearch:QueryParsingException: [my-index] failed to find geo_point field [position] 解决
在Spring 的实体里定义了一个属性private GeoPoint position;索引建立没有问题,但是查询是报错QueryParsingException: [my-index] failed to find geo_point field [position]然后Get /my-index/_mapping 发现position 的type并不是 g
原创
2016-10-09 16:42:28 ·
2513 阅读 ·
0 评论