Commit 79bbac1d authored by 段英荣's avatar 段英荣

modify

parent 21b4e448
......@@ -202,7 +202,7 @@ class TypeInfo(object):
es=es,
)
# 同时写3星及以上的帖子
# 同时写4星及以上的帖子
if len(topic_data_high_star_list)>0:
self.elasticsearch_bulk_insert_data(
sub_index_name="topic-high-star",
......@@ -269,8 +269,8 @@ def get_type_info_map():
type_info_list = [
TypeInfo(
name='topic_high_star', # >=3星日记
type='topic_high_star',
name='topic-high-star', # >=4星日记
type='topic-high-star',
model=topic.Topic,
query_deferred=lambda: topic.Topic.objects.all().query,
get_data_func=TopicTransfer.get_topic_data,
......
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