Commit 7c5c260d authored by lixiaofang's avatar lixiaofang

修改获取数据的大

parent 28f9f9a2
...@@ -51,7 +51,7 @@ def search_hotword(device_id=-1): ...@@ -51,7 +51,7 @@ def search_hotword(device_id=-1):
} }
} }
es_cli_obj = ESPerform.get_cli() es_cli_obj = ESPerform.get_cli()
result_dict = ESPerform.get_search_results(es_cli_obj, "tag", q, offset, size) result_dict = ESPerform.get_search_results(es_cli_obj, "tag", q, 0, 20000000)
results_tag = result_dict["hits"]["total"] results_tag = result_dict["hits"]["total"]
logging.info("get totoal:%s" % results_tag) logging.info("get totoal:%s" % results_tag)
......
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