Commit b7fbe33c authored by lixiaofang's avatar lixiaofang

修改获取数据的大

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