initial stage
This commit is contained in:
parent
c9365d18e1
commit
2ede28e998
|
@ -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={
|
||||
|
|
Loading…
Reference in New Issue