Skip to content

Commit 06fde1f

Browse files
authored
Remove usage of update_all_types (#16406)
Previously when patching types we would provide update_all_types to update all fields with the same name in the index. This setting has been deprecated in 7.0 and no longer necessary since we only use a single type (doc). Signed-off-by: Tyler Smalley <[email protected]>
1 parent f346455 commit 06fde1f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/core_plugins/elasticsearch/lib/patch_kibana_index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ export async function patchKibanaIndex(options) {
5151
type: rootEsType,
5252
body: {
5353
properties: missingProperties
54-
},
55-
update_all_types: true
54+
}
5655
});
5756
}
5857

0 commit comments

Comments
 (0)