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
fb8d0f1f
Commit
fb8d0f1f
authored
Nov 11, 2019
by
高雅喆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
663be57f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
gm_feed_cold_start.py
eda/smart_rank/gm_feed_cold_start.py
+1
-6
No files found.
eda/smart_rank/gm_feed_cold_start.py
View file @
fb8d0f1f
...
...
@@ -175,7 +175,7 @@ if __name__ == "__main__":
redis_client
.
hmset
(
hot_search_word_diary_queue_key
,
hot_search_word_diary_queue
)
# 轻医美的候选队列
light_clinic_beauty_key
=
"
coldstart:
user:service_coldstart_tags3"
light_clinic_beauty_key
=
"user:service_coldstart_tags3"
light_clinic_beauty
=
redis_client
.
hgetall
(
light_clinic_beauty_key
)
light_clinic_beauty
=
[
str
(
tag
,
'utf-8'
)
for
tag
in
light_clinic_beauty
]
light_clinic_beauty_diary_queue
=
dict
()
...
...
@@ -191,8 +191,3 @@ if __name__ == "__main__":
diary_queue
=
search_diary_by_match_phrase
(
light_clinic_beauty
,
city_tag_id
)
light_clinic_beauty_diary_queue
.
update
({
city_tag_id
:
diary_queue
})
redis_client
.
hmset
(
light_clinic_beauty_diary_queue_key
,
light_clinic_beauty_diary_queue
)
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