luceos thanks for answer ! my operation steps as following:
step1:
insert ignore into f_posts(discussion_id, number, created_at, user_id, type, content) values (281736535, 1, '2019-06-14 19:23:23', 3, 'comment', '<r>...(long text)...</r>');
insert ignore into f_posts(discussion_id, number, created_at, user_id, type, content) values (181736535, 1, '2019-06-14 19:23:23', 3, 'comment', '<r>...(long text)...</r>');
...
...
...
(1 million lines)
step2:
insert ignore into f_discussions(id, title, comment_count, participant_count, post_number_index, created_at, user_id, first_post_id, last_posted_at, last_posted_user_id, last_post_id, last_post_number, slug, is_private, is_approved, is_locked, is_sticky) values (281736535, 'DYC TongShu', 1, 1, 1, '2019-06-14 19:23:23', 3, 706676, '2019-06-14 19:23:23', 3, 706676, 1, 'DYC TongShu', 0, 1, 0, 0);
insert ignore into f_discussions(id, title, comment_count, participant_count, post_number_index, created_at, user_id, first_post_id, last_posted_at, last_posted_user_id, last_post_id, last_post_number, slug, is_private, is_approved, is_locked, is_sticky) values (181736535, "McKay's Taphouse", 1, 1, 1, '2019-06-14 19:23:23', 3, 706677, '2019-06-14 19:23:23', 3, 706677, 1, "McKay's Taphouse", 0, 1, 0, 0);
...
...
...
(1 million lines)
step3:
insert ignore into f_discussion_tag(discussion_id, tag_id) values (281736535, 2);
insert ignore into f_discussion_tag(discussion_id, tag_id) values (181736535, 2);
...
...
...
(1 million lines)
and then the result can be shown on the web.But when I login and search the keyword, it get some errors!