Commit 71d3f7a7 authored by litaolemo's avatar litaolemo

update

parent 5765ae54
......@@ -70,6 +70,8 @@ def scan_es_to_mysql():
if tractate_id:
rds.sadd("article_id_list", res["_id"])
search_word = data["search_word"]
if not query_id_dict.get(search_word):
query_id_dict[search_word] = {}
query_id_dict[search_word][tractate_id] = 1
count += 1
if count % 1000 == 0:
......
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