Commit 86d9f289 authored by 高雅喆's avatar 高雅喆

帖子good click放在smart rank之后

parent f30a3995
...@@ -100,8 +100,8 @@ def search_topic_by_match_phrase(tag_names): ...@@ -100,8 +100,8 @@ def search_topic_by_match_phrase(tag_names):
} }
q["sort"] = [ q["sort"] = [
{"is_video": {"order": "asc"}}, {"is_video": {"order": "asc"}},
{"good_click": {"order": "desc"}}, {"tractate_score": {"order": "desc"}},
{"tractate_score": {"order": "desc"}} {"good_click": {"order": "desc"}}
] ]
es_res = es_query("tractate", q, offset=0, size=200) es_res = es_query("tractate", q, offset=0, size=200)
topic_list = [] topic_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