我正在尝试解决我的搜索查询的解析异常。 “type”:“x_content_parse_exception”,“reason”:“[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"
}
}
}
]
}
}
}