【发布时间】:2021-02-07 20:52:16
【问题描述】:
我正在尝试解决我的搜索查询的解析异常。 "type" : "x_content_parse_exception", “原因”:“[18:9] [bool] 无法解析字段 [filter]” 我希望有一个人可以帮助我 谢谢
GET /g20/_search
{ "query": {
"bool": {
"must": {
"match_all": {}
},
"filter": [
{"geo_shape": {
"location": {
"shape": {
"type": "envelope",
"coordinates": [
[39,-77],
[38,-76]
]
},
"relation": "within"
}
}
}
]
}
}
}
【问题讨论】:
标签: elasticsearch elasticsearch-query elasticsearch-geo-shape