Commit f69d40b8 authored by 段英荣's avatar 段英荣

add must_not

parent 58dbf57e
...@@ -90,6 +90,9 @@ class GroupUtils(object): ...@@ -90,6 +90,9 @@ class GroupUtils(object):
{"term": {"is_online": True}}, {"term": {"is_online": True}},
{"term": {"is_deleted": False}}, {"term": {"is_deleted": False}},
{"term": {"effective": True}} {"term": {"effective": True}}
],
"must_not":[
{"term":{"is_default":1}}
] ]
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment