initial stage
This commit is contained in:
parent
c9365d18e1
commit
2ede28e998
|
@ -1001,10 +1001,11 @@ def init_opensearch(os_client: OpenSearch):
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
# try:
|
try:
|
||||||
# os_client.indices.get_index_template("interoperability")
|
os_client.indices.delete_index_template(name="interoperability")
|
||||||
# except NotFoundError:
|
except NotFoundError:
|
||||||
os_client.indices.delete_index_template(name="interoperability")
|
pass
|
||||||
|
|
||||||
os_client.indices.put_index_template(
|
os_client.indices.put_index_template(
|
||||||
name="interoperability",
|
name="interoperability",
|
||||||
body={
|
body={
|
||||||
|
|
Loading…
Reference in New Issue