0
我试图运行,像这样定义的elasticsearch查询:弹性搜索布尔查询错误
query = {
"query": {
"bool": {
"should": [
{"term": {"a": "a1"}},
{"term": {"b": "b1"}},
{"term": {"c": "c1"}}
],
},
},
}
es.search("my_index", body=q1)
,但我得到了以下错误:
RequestError: TransportError(400, 'search_phase_execution_exception',
'failed to create query:
...
什么是与查询问题?