参考链接:https://github.com/elastic/elasticsearch/issues/32805
问题发现:
当我用下面的查询方法进行查询的时候,发现没有结果,但是index里面是有数据的
GET app_tzn_test_service_tzn_test3_kdm_ctserver/service_tzn_test3/_search
{
"query" : {
"bool" : {
"must" : [
{
"geo_shape" : {
"locationshape" : {
"shape" : {
"type" : "polygon",
"coordinates" : [
[
[
-179,
90
],
[
180.0,
90
],
[
180.0,
-90
],
[
-179,
-90
],
[
-179,
90
]