mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-28 02:48:38 +00:00
Remove dynamic objects from security index (#40715)
The security index had a few "object" types with "dynamic": true However, this automatically creates a mapping for each field that is created within those objects. This means that types are dynamically inferred and "locked in" for future updates. Instead we want "dynamic": false which will allow us to store a range of fields in these nested objects and retrieve them from the source, without creating mapping types for those fields. Backport of: #40499
This commit is contained in:
parent
809a5f13a4
commit
920024e06d
@ -69,7 +69,7 @@
|
||||
},
|
||||
"metadata" : {
|
||||
"type" : "object",
|
||||
"dynamic" : true
|
||||
"dynamic" : false
|
||||
},
|
||||
"enabled": {
|
||||
"type": "boolean"
|
||||
@ -189,7 +189,7 @@
|
||||
},
|
||||
"metadata" : {
|
||||
"type" : "object",
|
||||
"dynamic" : true
|
||||
"dynamic" : false
|
||||
},
|
||||
"realm" : {
|
||||
"type" : "keyword"
|
||||
@ -198,7 +198,7 @@
|
||||
},
|
||||
"rules" : {
|
||||
"type" : "object",
|
||||
"dynamic" : true
|
||||
"dynamic" : false
|
||||
},
|
||||
"refresh_token" : {
|
||||
"type" : "object",
|
||||
@ -253,7 +253,7 @@
|
||||
},
|
||||
"metadata" : {
|
||||
"type" : "object",
|
||||
"dynamic" : true
|
||||
"dynamic" : false
|
||||
},
|
||||
"authentication" : {
|
||||
"type" : "binary"
|
||||
|
Loading…
x
Reference in New Issue
Block a user