bool 查询可以实现组合过滤查询
{ "bool":{"must":[],"should":[],"must_not":[]}}
must:必须满足的条件---and
should:可以满足也可以不满足的条件---or
must_not:不需要满足的条件---not
bool 查询可以实现组合过滤查询
{ "bool":{"must":[],"should":[],"must_not":[]}}
must:必须满足的条件---and
should:可以满足也可以不满足的条件---or
must_not:不需要满足的条件---not