From b926c84740e3ee35a3a058ca5e039c9cfe6bebe8 Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Wed, 4 Dec 2024 16:16:15 +0400 Subject: [PATCH] Allow string for total_fields index settings (#3216) (cherry picked from commit cec582a2670b16c64fb30165065bcedb3eac3b25) --- specification/indices/_types/IndexSettings.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/indices/_types/IndexSettings.ts b/specification/indices/_types/IndexSettings.ts index 136cf5a4f1..70b79d6af8 100644 --- a/specification/indices/_types/IndexSettings.ts +++ b/specification/indices/_types/IndexSettings.ts @@ -430,7 +430,7 @@ export class MappingLimitSettingsTotalFields { * degradations and memory issues, especially in clusters with a high load or few resources. * @server_default 1000 */ - limit?: long + limit?: long | string /** * This setting determines what happens when a dynamically mapped field would exceed the total fields limit. When set * to false (the default), the index request of the document that tries to add a dynamic field to the mapping will fail @@ -439,7 +439,7 @@ export class MappingLimitSettingsTotalFields { * The fields that were not added to the mapping will be added to the _ignored field. * @server_default false */ - ignore_dynamic_beyond_limit?: boolean + ignore_dynamic_beyond_limit?: boolean | string } export class MappingLimitSettingsDepth {