From 74274ccd599c462e17a4574a695584e90d5aaf44 Mon Sep 17 00:00:00 2001 From: Parker Timmins Date: Fri, 24 Jan 2025 05:09:49 -0600 Subject: [PATCH] _create_from defaults remove_index_blocks to true (#3585) Co-authored-by: Quentin Pradet (cherry picked from commit 4bb435ccd4ed226b7f00af55fae4bf9e7b846a30) --- output/schema/schema.json | 2 +- specification/indices/create_from/MigrateCreateFromRequest.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/output/schema/schema.json b/output/schema/schema.json index c8fb2d318f..f4b22809e7 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -132823,7 +132823,7 @@ "description": "If index blocks should be removed when creating destination index (optional)", "name": "remove_index_blocks", "required": false, - "serverDefault": false, + "serverDefault": true, "type": { "kind": "instance_of", "type": { diff --git a/specification/indices/create_from/MigrateCreateFromRequest.ts b/specification/indices/create_from/MigrateCreateFromRequest.ts index ed3951102a..fd4aaf0f41 100644 --- a/specification/indices/create_from/MigrateCreateFromRequest.ts +++ b/specification/indices/create_from/MigrateCreateFromRequest.ts @@ -54,7 +54,7 @@ export class CreateFrom { settings_override?: IndexSettings /** * If index blocks should be removed when creating destination index (optional) - * @server_default false + * @server_default true */ remove_index_blocks?: boolean }