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