Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
ffm-baseline
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ML
ffm-baseline
Commits
814b565f
Commit
814b565f
authored
Jan 10, 2020
by
高雅喆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页feed新smart rank灰度实验
parent
d713224f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gm_feed_cold_start.py
eda/smart_rank/gm_feed_cold_start.py
+3
-3
No files found.
eda/smart_rank/gm_feed_cold_start.py
View file @
814b565f
...
...
@@ -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_v
2
'
:
{
'order'
:
'desc'
}},
{
'smart_rank_v
3
'
:
{
'order'
:
'desc'
}},
{
"good_click"
:
{
"order"
:
"desc"
}}
]
else
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment