Commit 6ea026ed authored by lixiaofang's avatar lixiaofang

add

parent ddf4c872
......@@ -1293,12 +1293,19 @@ class TopicUtils(object):
}
})
elif k == "is_shadow":
f.append({
"term": {
"is_shadow": False
}
})
if v == 0:
f.append({
"term": {
"is_shadow": False
}
})
else:
f.append({
"term": {
"is_shadow": True
}
})
elif k == "virtual_content_level":
f.append({
"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