Skip to content

Commit

Permalink
Allow string for total_fields index settings (#3216)
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin authored Dec 4, 2024
1 parent a8c87f6 commit cec582a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions specification/indices/_types/IndexSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 {
Expand Down

0 comments on commit cec582a

Please sign in to comment.