Skip to content

Commit

Permalink
Add missing index setting ignore_dynamic_beyond_limit (#2653)
Browse files Browse the repository at this point in the history
(cherry picked from commit 084db75)
  • Loading branch information
achyutjhunjhunwala authored and pquentin committed Jun 26, 2024
1 parent 928c0ad commit 11dd09d
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 15 deletions.
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.

9 changes: 9 additions & 0 deletions specification/indices/_types/IndexSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,15 @@ export class MappingLimitSettingsTotalFields {
* @server_default 1000
*/
limit?: long
/**
* 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
* with the message Limit of total fields [X] has been exceeded. When set to true, the index request will not fail.
* Instead, fields that would exceed the limit are not added to the mapping, similar to dynamic: false.
* The fields that were not added to the mapping will be added to the _ignored field.
* @server_default false
*/
ignore_dynamic_beyond_limit?: boolean
}

export class MappingLimitSettingsDepth {
Expand Down

0 comments on commit 11dd09d

Please sign in to comment.