initial stage

This commit is contained in:
Giambattista Bloisi 2024-07-27 14:27:08 +02:00
parent c9365d18e1
commit 2ede28e998
1 changed files with 5 additions and 4 deletions

View File

@ -1001,10 +1001,11 @@ def init_opensearch(os_client: OpenSearch):
}
})
# try:
# os_client.indices.get_index_template("interoperability")
# except NotFoundError:
try:
os_client.indices.delete_index_template(name="interoperability")
except NotFoundError:
pass
os_client.indices.put_index_template(
name="interoperability",
body={