Commit c1b48f9f authored by lixiaofang's avatar lixiaofang

合并hera_search

parents e2e7ab49 2bb97a47
......@@ -1002,7 +1002,20 @@ class TopicUtils(object):
}
}
})
elif k == "drop_score":
if v == "0":
f.append({
"term": {k: v}
})
else:
f.append({
"range": {
"drop_score": {
"gte": v,
}
}
})
else:
if isinstance(v, list):
......
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