Commit 814b565f authored by 高雅喆's avatar 高雅喆

首页feed新smart rank灰度实验

parent d713224f
......@@ -32,7 +32,7 @@ def search_diary_by_match_phrase(tag_names, city_tag_id, version):
if version:
sort_list += [
{'has_video_cover': {'order': 'asc'}},
{'offline_score': {'order': 'desc'}},
{'offline_score_v1': {'order': 'desc'}},
{"good_click": {"order": "desc"}},
{'last_update_time': {'order': 'desc'}}
]
......@@ -100,7 +100,7 @@ def search_topic_by_match_phrase(tag_names, version=0):
if version:
q["sort"] = [
{"is_video": {"order": "asc"}},
{"tractate_score": {"order": "desc"}},
{"good_click_tractate_score": {"order": "desc"}},
{"good_click": {"order": "desc"}}
]
else:
......@@ -120,7 +120,7 @@ def search_qa_by_match_phrase(tag_names, version=0):
if version:
sort_list = [
{'has_picture': {'order': 'desc'}},
{'smart_rank_v2': {'order': 'desc'}},
{'smart_rank_v3': {'order': 'desc'}},
{"good_click": {"order": "desc"}}
]
else:
......
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