Skip to content

Commit 11dd09d

Browse files
achyutjhunjhunwalapquentin
authored andcommitted
Add missing index setting ignore_dynamic_beyond_limit (#2653)
(cherry picked from commit 084db75)
1 parent 928c0ad commit 11dd09d

File tree

4 files changed

+42
-15
lines changed

4 files changed

+42
-15
lines changed

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 28 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/indices/_types/IndexSettings.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,15 @@ export class MappingLimitSettingsTotalFields {
429429
* @server_default 1000
430430
*/
431431
limit?: long
432+
/**
433+
* This setting determines what happens when a dynamically mapped field would exceed the total fields limit. When set
434+
* to false (the default), the index request of the document that tries to add a dynamic field to the mapping will fail
435+
* with the message Limit of total fields [X] has been exceeded. When set to true, the index request will not fail.
436+
* Instead, fields that would exceed the limit are not added to the mapping, similar to dynamic: false.
437+
* The fields that were not added to the mapping will be added to the _ignored field.
438+
* @server_default false
439+
*/
440+
ignore_dynamic_beyond_limit?: boolean
432441
}
433442

434443
export class MappingLimitSettingsDepth {

0 commit comments

Comments
 (0)