initial stage

This commit is contained in:
Giambattista Bloisi 2024-07-27 14:23:54 +02:00
parent fcc5344cc8
commit c9365d18e1
1 changed files with 1 additions and 0 deletions

View File

@ -1004,6 +1004,7 @@ def init_opensearch(os_client: OpenSearch):
# try: # try:
# os_client.indices.get_index_template("interoperability") # os_client.indices.get_index_template("interoperability")
# except NotFoundError: # except NotFoundError:
os_client.indices.delete_index_template(name="interoperability")
os_client.indices.put_index_template( os_client.indices.put_index_template(
name="interoperability", name="interoperability",
body={ body={