Commit c993d1ae authored by lixiaofang's avatar lixiaofang

add

parent 3b7819b6
......@@ -1040,8 +1040,14 @@ class TopicUtils(object):
else:
f.append({
"term": {k: v},
})
if isinstance(v, list):
f.append({
"terms": {k: v},
})
else:
f.append({
"term": {k: v},
})
return f
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