Index Tool for Search #107

Merged
zuul merged 17 commits from index_search into main 2023-06-27 07:57:26 +00:00
Showing only changes of commit f2e01cf1ca - Show all commits
+3 -1
View File
@@ -117,7 +117,9 @@ def generate_os_host_list(hosts):
def create_index(client, index, data):
return client.indices.create(index=index, body=data)
client.indices.create(index=index)
return client.index(index=index, body=data)
def delete_index(client, index):