Commit a803c722 authored by 张彦钊's avatar 张彦钊

add

parent e47b320e
......@@ -56,7 +56,6 @@ def es_query(doc, body, offset, size, es=None):
from_=offset,
size=size)
print(res)
number = res["hits"]["total"]
return number
......
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