Commit 6b2b34a0 by 赵宇

fix

parent ac0cc162
...@@ -261,7 +261,7 @@ def search(): ...@@ -261,7 +261,7 @@ def search():
try: try:
es = Elasticsearch([{'host': '39.100.39.50', 'port': 9200}]) es = Elasticsearch([{'host': '39.100.39.50', 'port': 9200}])
data = es.search(index="jincheng_pictext_index_202202161623_c4e6fcae", body=body) data = es.search(index="jincheng_pictext_index_202202171347_0e659708", body=body)
data_list = [] data_list = []
print(data_list) print(data_list)
size = data["hits"]['total'] size = data["hits"]['total']
......
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