initial stage
This commit is contained in:
parent
10c27e578d
commit
88076612b7
|
@ -1172,8 +1172,10 @@ def init_opensearch(os_client: OpenSearch):
|
|||
})
|
||||
|
||||
try:
|
||||
os_client.indices.get_index_template("services")
|
||||
os_client.indices.delete_index_template("services")
|
||||
except NotFoundError:
|
||||
pass
|
||||
|
||||
os_client.indices.put_index_template(
|
||||
name="services",
|
||||
body={
|
||||
|
@ -1317,9 +1319,6 @@ def init_opensearch(os_client: OpenSearch):
|
|||
"type": "keyword"
|
||||
},
|
||||
"useCases": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"useCase": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"useCaseName": {
|
||||
|
@ -1329,8 +1328,6 @@ def init_opensearch(os_client: OpenSearch):
|
|||
"type": "text"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"userManual": {
|
||||
"type": "text"
|
||||
|
|
Loading…
Reference in New Issue