Skip to content

Commit 8bd9592

Browse files
disable dynamic mapping for config index (opensearch-project#2026) (opensearch-project#2028)
disable dynamic mapping for config index Signed-off-by: Bhavana Ramaram <rbhavna@amazon.com> (cherry picked from commit 17634b7) Co-authored-by: Bhavana Ramaram <rbhavna@amazon.com>
1 parent ef90bf0 commit 8bd9592

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

common/src/main/java/org/opensearch/ml/common/CommonValue.java

+1
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@ public class CommonValue {
355355
+ " \"_meta\": {\"schema_version\": "
356356
+ ML_CONFIG_INDEX_SCHEMA_VERSION
357357
+ "},\n"
358+
+ " \"dynamic\": \"strict\",\n"
358359
+ " \"properties\": {\n"
359360
+ " \""
360361
+ MASTER_KEY

0 commit comments

Comments
 (0)