Commit 5c995b18 authored by lixiaofang's avatar lixiaofang

修改获取数据的大

parent 7c5c260d
......@@ -52,6 +52,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)
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