Commit e7d133d3 authored by lixiaofang's avatar lixiaofang

add

parent 6e1153b6
...@@ -976,6 +976,22 @@ class TopicUtils(object): ...@@ -976,6 +976,22 @@ class TopicUtils(object):
"match": {k: v} "match": {k: v}
}) })
if k in ["create_time_gte", "create_time_lte"]:
if k == "create_time_gte":
op = "gte"
elif k == "create_time_lte":
op = "lte"
f.append({
"range": {
"create_time_val": {
op: v,
}
}
})
elif k == "virtual_content_level": elif k == "virtual_content_level":
f.append({ f.append({
"match": {k: v} "match": {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