Commit bebd9764 authored by 赵威's avatar 赵威

update printer

parent 2cf954ad
......@@ -25,7 +25,7 @@ def get_result(hits):
res_list = []
for _, v in res_pair:
res_list.append(v)
return merge_lists(res_list)
return merge_lists(*res_list)
keywords = [
......@@ -285,6 +285,6 @@ def get_es_answer(keywords, version=False):
if __name__ == "__main__":
print(get_es_diary(keywords)[:10])
print(get_es_tractate(keywords)[:10])
print(get_es_answer(keywords)[:10])
print("diary:" + get_es_diary(keywords)[:10] + "\n")
print("tractate: " + get_es_tractate(keywords)[:10] + "\n")
print("answer: " + get_es_answer(keywords)[:10] + "\n")
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