Commit 03e0ee0b authored by 高雅喆's avatar 高雅喆

add log

parent 0e74ad4c
...@@ -412,7 +412,7 @@ class ESPerform(object): ...@@ -412,7 +412,7 @@ class ESPerform(object):
} }
}, },
"_source": { "_source": {
"include": ["id", "user_id", "latest_reply_time"] "include": ["id", "user_id", "latest_reply_time", "topic_ctr_30", "like_rate_30"]
}, },
"sort": [ "sort": [
{ {
...@@ -456,7 +456,7 @@ class ESPerform(object): ...@@ -456,7 +456,7 @@ class ESPerform(object):
logging.info("topic_id_list:%s" % str(topic_id_dict)) logging.info("topic_id_list:%s" % str(topic_id_dict))
logging.info("get_tag_topic_list_dict:" + str(q) + str(topic_id_list)) logging.info("get_tag_topic_list_dict:" + str(q) + str(result_dict))
logging.info("linucb_tag_id_list_2_same_tagset_ids_2_topics_detail:" + str(topic_id_dict_latest_reply_time)) logging.info("linucb_tag_id_list_2_same_tagset_ids_2_topics_detail:" + str(topic_id_dict_latest_reply_time))
return topic_id_list, topic_id_dict return topic_id_list, topic_id_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