Commit 3acbf156 authored by 赵威's avatar 赵威

update content level

parent 7f5d5714
...@@ -80,7 +80,6 @@ def get_tractate_info_from_es(fields=["id"]): ...@@ -80,7 +80,6 @@ def get_tractate_info_from_es(fields=["id"]):
return results return results
# [6, 5, 4, 3.5, 3]
def get_answer_info_from_es(fields=["id"]): def get_answer_info_from_es(fields=["id"]):
q = { q = {
"query": { "query": {
...@@ -91,7 +90,7 @@ def get_answer_info_from_es(fields=["id"]): ...@@ -91,7 +90,7 @@ def get_answer_info_from_es(fields=["id"]):
} }
}, { }, {
"terms": { "terms": {
"content_level": [6] "content_level": [6, 5, 4, 3.5, 3]
} }
}, { }, {
"range": { "range": {
......
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