Commit 7afbc29c authored by 高雅喆's avatar 高雅喆

update

parent 308d9161
......@@ -440,9 +440,9 @@ class ESPerform(object):
for item in result_dict["hits"]:
topic_id_dict[str(item["_source"]["id"])] = item["_source"]["user_id"]
topic_id_dict_latest_reply_time = dict()
topic_id_dict_latest_reply_time = list()
for item in result_dict["hits"]:
topic_id_dict_latest_reply_time[str(item["_source"]["id"])] = item["_source"]["latest_reply_time"]
topic_id_dict_latest_reply_time.append([item["_source"]["id"], item["_source"]["latest_reply_time"]])
logging.info("topic_id_list:%s" % str(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