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,12 +1029,15 @@ def init_opensearch(os_client: OpenSearch):
"alternativeIdentifiers": { "alternativeIdentifiers": {
"type": "object", "type": "object",
"properties": { "properties": {
"properties": { "alternativeIdentifier": {
"type": { "type": "object",
"type": "keyword" "properties": {
}, "type": {
"value": { "type": "keyword"
"type": "keyword" },
"value": {
"type": "keyword"
}
} }
} }
} }