Commit 7ce01874 authored by 段英荣's avatar 段英荣

modify

parent 7d8a861b
...@@ -26,10 +26,10 @@ def query_tag(query,offset,size): ...@@ -26,10 +26,10 @@ def query_tag(query,offset,size):
q = { q = {
"query":{ "query":{
"bool":{ "bool":{
"must":{ "must":[
"is_online":True, {"term":{"is_online":True}},
"is_deleted":False {"term": {"is_deleted": False}}
}, ],
"should":[ "should":[
{"match":{"name": query}} {"match":{"name": query}}
], ],
......
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