Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 8.17] Allow string for total_fields index settings #3225

Merged
merged 1 commit into from
Dec 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading