{
"size": 0,
"query": {
"bool": {
"must": [
{
"match": {
"cid": {
"query": "AFM"
}
}
},
{
"match": {
"web_code": "P"
}
}
],
"filter": [
{
"not": { // "type": "parsing_exception","reason": "unknown query [not]"
"term": {
"web_code": "PS"
}
}
}
]
}
}
}
1条答案
按热度按时间izj3ouym1#
你只需要使用
bool/must_not
查询: