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