Commit d2152d81 authored by 高雅喆's avatar 高雅喆

增加8种冷启动的搜索词

parent 41f9acd6
......@@ -181,24 +181,19 @@ if __name__ == '__main__':
hot_search_words_portrait_portrait_key2 = "user:service_coldstart_tags2"
hot_search_words_portrait_dict = {i["id"]: 0.2 for i in hot_search_words}
# gm_kv_cli.hmset(hot_search_words_portrait_portrait_key2, hot_search_words_portrait_dict)
redis_client.delete(hot_search_words_portrait_portrait_key2)
redis_client.hmset(hot_search_words_portrait_portrait_key2, hot_search_words_portrait_dict)
hot_search_words_portrait_portrait_key2 = "user:service_coldstart_tags2_name"
hot_search_words_portrait_dict = {i["keywords"]: 0.2 for i in hot_search_words}
# gm_kv_cli.hmset(hot_search_words_portrait_portrait_key2, hot_search_words_portrait_dict)
redis_client.delete(hot_search_words_portrait_portrait_key2)
redis_client.hmset(hot_search_words_portrait_portrait_key2, hot_search_words_portrait_dict)
hot_search_words = ["明星娱乐", "网红扒一扒", "明星颜值打call", "颜商", "颜值高光时刻", "瘦脸针", "水光针", "光子嫩肤", "热玛吉", "瘦腿针", "超声刀", "瘦肩针", "皮秒", "果酸焕肤",
"热拉提", "微针", "超皮秒", "点阵激光", "小气泡", "玻尿酸丰下巴", "埋线双眼皮", "纹眉", "嗨体", "溶脂针瘦脸", "黄金微针", "点痣", "激光祛斑", "白瓷娃娃",
"除皱针注射", "微针祛痘坑", "玻尿酸", "大分子玻尿酸", "胶原蛋白", "肉毒素", "水杨酸", "果酸", "杏仁酸", "黑脸娃娃", "童颜针", "祛斑", "祛痣", "祛黑头", "祛疤",
"祛痘", "蜂巢皮秒", "深蓝射频", "美瞳", "孕睫", "婴儿针", "三文鱼针", "少女针", "素颜针", "熊猫针", "脱毛", "面部提升", "嫩肤", "镭射净肤", "红蓝光", "清洁",
"补水", "DPL", "抗衰", "针清", "美白", "冷光美白", "非剥落点阵"]
"补水", "DPL", "抗衰", "针清", "美白", "冷光美白", "非剥落点阵", "网红抗衰", "网红整形", "网红颜值", "网红婚恋", "明星抗衰", "明星整形", "明星婚恋"]
hot_search_words_portrait_portrait_key3 = "user:service_coldstart_tags3"
hot_search_words_portrait3_dict = {i: 0.2 for i in hot_search_words}
redis_client.delete(hot_search_words_portrait_portrait_key3)
redis_client.hmset(hot_search_words_portrait_portrait_key3, hot_search_words_portrait3_dict)
......
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