Commit 40c54196 authored by 李小芳's avatar 李小芳

Merge branch 'test'

parents 15abc1d1 18f01760
......@@ -49,7 +49,7 @@ def get_type_info_map():
__type_info_map = {
'question': TypeInfo(
name='question', # 问答
type='question',
type='_doc',
model=Question,
bulk_insert_chunk_size=50,
round_insert_chunk_size=50,
......@@ -60,7 +60,7 @@ def get_type_info_map():
),
'topic': TypeInfo(
name='topic', # 帖子
type='problem',
type='_doc',
model=Problem,
bulk_insert_chunk_size=500,
round_insert_chunk_size=50,
......@@ -71,7 +71,7 @@ def get_type_info_map():
),
'answer': TypeInfo(
name="answer",
type="answer",
type="_doc",
model=Answer,
bulk_insert_chunk_size=500,
round_insert_chunk_size=50,
......@@ -81,7 +81,7 @@ def get_type_info_map():
),
'article': TypeInfo(
name="article",
type="article",
type="_doc",
model=Article,
bulk_insert_chunk_size=500,
round_insert_chunk_size=50,
......@@ -91,7 +91,7 @@ def get_type_info_map():
),
'subscript_article': TypeInfo(
name="subscript_article",
type="subscript_article",
type="_doc",
model=SubscriptArticle,
bulk_insert_chunk_size=500,
round_insert_chunk_size=50,
......@@ -101,7 +101,7 @@ def get_type_info_map():
),
'qa_top': TypeInfo(
name="qa_top",
type="qa_top",
type="_doc",
model=AnswerTop,
bulk_insert_chunk_size=500,
round_insert_chunk_size=50,
......@@ -111,7 +111,7 @@ def get_type_info_map():
),
'tractate': TypeInfo(
name="tractate",
type="tractate",
type="_doc",
model=Tractate,
bulk_insert_chunk_size=500,
round_insert_chunk_size=50,
......@@ -121,7 +121,7 @@ def get_type_info_map():
),
'live_stream': TypeInfo(
name="live_stream",
type="live_stream",
type="_doc",
model=LiveStream,
bulk_insert_chunk_size=500,
round_insert_chunk_size=50,
......@@ -131,7 +131,7 @@ def get_type_info_map():
),
'live_notice': TypeInfo(
name="live_notice",
type="live_notice",
type="_doc",
model=ZhiboConfig,
bulk_insert_chunk_size=500,
round_insert_chunk_size=50,
......@@ -141,7 +141,7 @@ def get_type_info_map():
),
'principal_activity': TypeInfo(
name="principal_activity",
type="principal_activity",
type="_doc",
model=Activity,
bulk_insert_chunk_size=500,
round_insert_chunk_size=50,
......@@ -151,7 +151,7 @@ def get_type_info_map():
),
'principal_article': TypeInfo(
name="principal_article",
type="principal_article",
type="_doc",
model=Problem,
bulk_insert_chunk_size=500,
round_insert_chunk_size=50,
......@@ -161,7 +161,7 @@ def get_type_info_map():
),
'video_tractate': TypeInfo(
name="video_tractate",
type="video_tractate",
type="_doc",
model=SoftArticle,
bulk_insert_chunk_size=500,
round_insert_chunk_size=50,
......@@ -171,7 +171,7 @@ def get_type_info_map():
),
'word_tractate': TypeInfo(
name="word_tractate",
type="word_tractate",
type="_doc",
model=SoftArticle,
bulk_insert_chunk_size=500,
round_insert_chunk_size=50,
......@@ -181,7 +181,7 @@ def get_type_info_map():
),
'doctortractate': TypeInfo(
name="doctortractate",
type="doctortractate",
type="_doc",
model=SoftArticle,
bulk_insert_chunk_size=500,
round_insert_chunk_size=50,
......
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