Commit c997f9df authored by 段英荣's avatar 段英荣

modify

parent 1d8c7990
...@@ -207,13 +207,13 @@ class TypeInfo(object): ...@@ -207,13 +207,13 @@ class TypeInfo(object):
data_list=data_list, data_list=data_list,
es=es, es=es,
) )
# 同时写4星及以上的帖子 # # 同时写4星及以上的帖子
if len(topic_data_high_star_list)>0: # if len(topic_data_high_star_list)>0:
self.elasticsearch_bulk_insert_data( # self.elasticsearch_bulk_insert_data(
sub_index_name="topic-high-star", # sub_index_name="topic-high-star",
data_list=topic_data_high_star_list, # data_list=topic_data_high_star_list,
es=es, # es=es,
) # )
end = time.time() end = time.time()
time3=end-begin time3=end-begin
......
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