Skip to content

Commit 38549a3

Browse files
floberndgithub-actions[bot]
authored andcommitted
Fix IndicesMappingLimitSettings (#2588)
The actual limits should accept `long` values instead of just `int`. (cherry picked from commit 3e71740)
1 parent 71f4973 commit 38549a3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

specification/indices/_types/IndexSettings.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ export class MappingLimitSettingsTotalFields {
428428
* degradations and memory issues, especially in clusters with a high load or few resources.
429429
* @server_default 1000
430430
*/
431-
limit?: integer
431+
limit?: long
432432
}
433433

434434
export class MappingLimitSettingsDepth {
@@ -437,7 +437,7 @@ export class MappingLimitSettingsDepth {
437437
* at the root object level, then the depth is 1. If there is one object mapping, then the depth is 2, etc.
438438
* @server_default 20
439439
*/
440-
limit?: integer
440+
limit?: long
441441
}
442442

443443
export class MappingLimitSettingsNestedFields {
@@ -447,7 +447,7 @@ export class MappingLimitSettingsNestedFields {
447447
* setting limits the number of unique nested types per index.
448448
* @server_default 50
449449
*/
450-
limit?: integer
450+
limit?: long
451451
}
452452

453453
export class MappingLimitSettingsNestedObjects {
@@ -456,7 +456,7 @@ export class MappingLimitSettingsNestedObjects {
456456
* to prevent out of memory errors when a document contains too many nested objects.
457457
* @server_default 10000
458458
*/
459-
limit?: integer
459+
limit?: long
460460
}
461461

462462
export class MappingLimitSettingsFieldNameLength {
@@ -473,7 +473,7 @@ export class MappingLimitSettingsDimensionFields {
473473
* [preview] This functionality is in technical preview and may be changed or removed in a future release.
474474
* Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.
475475
*/
476-
limit?: integer
476+
limit?: long
477477
}
478478

479479
export class SlowlogSettings {

0 commit comments

Comments
 (0)