Skip to content

Commit a0ed874

Browse files
[Backport 8.17] Allow string for total_fields index settings (#3225)
(cherry picked from commit cec582a) Co-authored-by: Quentin Pradet <[email protected]>
1 parent 80a0010 commit a0ed874

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

specification/indices/_types/IndexSettings.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ export class MappingLimitSettingsTotalFields {
430430
* degradations and memory issues, especially in clusters with a high load or few resources.
431431
* @server_default 1000
432432
*/
433-
limit?: long
433+
limit?: long | string
434434
/**
435435
* This setting determines what happens when a dynamically mapped field would exceed the total fields limit. When set
436436
* 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 {
439439
* The fields that were not added to the mapping will be added to the _ignored field.
440440
* @server_default false
441441
*/
442-
ignore_dynamic_beyond_limit?: boolean
442+
ignore_dynamic_beyond_limit?: boolean | string
443443
}
444444

445445
export class MappingLimitSettingsDepth {

0 commit comments

Comments
 (0)