Skip to content

Add missing type for ignore_dynamic_beyond_limit for the Indices Settings API #2653

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

Merged
merged 2 commits into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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: 4 additions & 0 deletions output/openapi/elasticsearch-openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -72601,6 +72601,10 @@
"limit": {
"description": "The maximum number of fields in an index. Field and object mappings, as well as field aliases count towards this limit.\nThe limit is in place to prevent mappings and searches from becoming too large. Higher values can lead to performance\ndegradations and memory issues, especially in clusters with a high load or few resources.",
"type": "number"
},
"ignore_dynamic_beyond_limit": {
"description": "A flag to ignore fields beyond the limit set for the maximum number of fields in an index.\nIf set to true, fields exceeding the limit will be ignored instead of causing an error.\nThis can be useful in scenarios where the data is dynamic and, it's acceptable to overlook extra fields.\nHowever, use this setting with caution as ignoring additional fields might lead to loss of data or unexpected search results.",
"type": "boolean"
}
}
},
Expand Down
4 changes: 4 additions & 0 deletions output/openapi/elasticsearch-serverless-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 28 additions & 15 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions specification/indices/_types/IndexSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,14 @@ export class MappingLimitSettingsTotalFields {
* @server_default 1000
*/
limit?: long
/**
* A flag to ignore fields beyond the limit set for the maximum number of fields in an index.
* If set to true, fields exceeding the limit will be ignored instead of causing an error.
* This can be useful in scenarios where the data is dynamic and, it's acceptable to overlook extra fields.
* However, use this setting with caution as ignoring additional fields might lead to loss of data or unexpected search results.
* @server_default false
*/
ignore_dynamic_beyond_limit?: boolean
}

export class MappingLimitSettingsDepth {
Expand Down
Loading