Commit 4abb0c80 authored by 高雅喆's avatar 高雅喆

问答新smart_rank全量

parent 885d619c
......@@ -217,6 +217,7 @@ if __name__ == "__main__":
redis_client.rpush(light_clinic_beauty_topic_queue_key, *light_clinic_beauty_topic_queue)
redis_client.rpush(light_clinic_beauty_topic_queue_grey_key, *light_clinic_beauty_topic_grey_queue)
print("轻医美词更新的帖子队列长度:%s" % str(len(light_clinic_beauty_topic_queue)))
print("轻医美词更新的灰度帖子队列长度:%s" % str(len(light_clinic_beauty_topic_grey_queue)))
light_clinic_beauty_qa_queue = search_qa_by_match_phrase(light_clinic_beauty)
light_clinic_beauty_qa_grey_queue = search_qa_by_match_phrase(light_clinic_beauty, version=1)
......@@ -236,4 +237,4 @@ if __name__ == "__main__":
diary_queue = search_diary_by_match_phrase(light_clinic_beauty, city_tag_id, version=1)
light_clinic_beauty_diary_queue.update({city_tag_id: json.dumps(diary_queue)})
redis_client.hmset(light_clinic_beauty_diary_queue_key2, light_clinic_beauty_diary_queue)
print("轻医美词更新的日记队列长度:%s" % str(len(diary_queue)))
print("轻医美词更新的灰度日记队列长度:%s" % str(len(diary_queue)))
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