es的复合查询 举例如下:
在bool标签下,使用must,should进行复合查询
GET _search
{
"query": {
"bool": {
"must": {
"match":{
"agentId": "9585"
}
},
"must": {
"match":{
"caseId": "10481"
}
}
}
}
}