Commit 34a89a76 authored by lixiaofang's avatar lixiaofang

add

parent 0e792077
......@@ -598,9 +598,6 @@ class TopicUtils(object):
return f
for k, v in filters.items():
logging.info("get fffffffff:%s" % k)
logging.info("get fffffffff:%s" % v)
if k == "is_complaint":
f.append({
"term": {k: v},
......@@ -641,16 +638,10 @@ class TopicUtils(object):
})
else:
if isinstance(v, list):
logging.info("get hhhhhhhhhh:%s"%k)
logging.info("get hhhhhhhhhh:%s"%v)
f.append({
"terms": {k: v},
})
else:
logging.info("get hhhhfffffffhhhhhh:%s"%k)
logging.info("get hhhhhhfffhhhh:%s"%v)
f.append({
"term": {k: v},
})
......
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