Commit 98c75433 authored by 段英荣's avatar 段英荣

modify

parent 30f6fd2a
......@@ -63,7 +63,7 @@ class DoctorTransfer(object):
}
}
result_dict = ESPerform.get_search_results(ESPerform.get_cli(cls.test_es_info_list), sub_index_name="doctor", doc_type="doctor", query_body=q)
result_dict = ESPerform.get_search_results(ESPerform.get_cli(cls.test_es_info_list), sub_index_name="doctor", doc_type="doctor", query_body=q,offset=0,size=0)
logging.info("duan add,result_dict:%s" % (str(result_dict)))
doctor_results = result_dict["total_count"]
......
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