es数据库,must和should嵌套使用和分组统计
es数据库,must和should嵌套使用和分组统计"query": { "bool": { "must": [ { "bool": { "should": [ {"match": {"look_user": "test1"}}, {"match": {"userId": "test2"}} ] } }, {"terms": {"status": 1}}, {"match": {"verify": 2}} ]
原创
2021-05-20 10:21:45 ·
4224 阅读 ·
0 评论