initial stage

This commit is contained in:
Giambattista Bloisi 2024-07-27 14:33:21 +02:00
parent 97fa9a986b
commit 4f41c48e0d
1 changed files with 10 additions and 7 deletions

View File

@ -1002,7 +1002,7 @@ def init_opensearch(os_client: OpenSearch):
})
try:
os_client.indices.delete_index_template(name="interoperability")
os_client.indices.get_index_template("interoperability")
except NotFoundError:
pass
@ -1029,6 +1029,8 @@ def init_opensearch(os_client: OpenSearch):
"alternativeIdentifiers": {
"type": "object",
"properties": {
"alternativeIdentifier": {
"type": "object",
"properties": {
"type": {
"type": "keyword"
@ -1038,6 +1040,7 @@ def init_opensearch(os_client: OpenSearch):
}
}
}
}
},
"creators": {
"type": "object",