From 9d16271df6c1a47639f40d7540ab769992052750 Mon Sep 17 00:00:00 2001 From: Florian Bernd Date: Wed, 29 May 2024 12:20:01 +0200 Subject: [PATCH] Change mapping limit type from `int` -> `long` --- .../Types/IndexManagement/MappingLimitSettingsDepth.g.cs | 6 +++--- .../MappingLimitSettingsDimensionFields.g.cs | 6 +++--- .../IndexManagement/MappingLimitSettingsNestedFields.g.cs | 6 +++--- .../IndexManagement/MappingLimitSettingsNestedObjects.g.cs | 6 +++--- .../IndexManagement/MappingLimitSettingsTotalFields.g.cs | 6 +++--- .../Types/IndexManagement/MappingLimitSettingsDepth.g.cs | 6 +++--- .../MappingLimitSettingsDimensionFields.g.cs | 6 +++--- .../IndexManagement/MappingLimitSettingsNestedFields.g.cs | 6 +++--- .../IndexManagement/MappingLimitSettingsNestedObjects.g.cs | 6 +++--- .../IndexManagement/MappingLimitSettingsTotalFields.g.cs | 6 +++--- 10 files changed, 30 insertions(+), 30 deletions(-) diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettingsDepth.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettingsDepth.g.cs index a9f38f6f97d..ed80d210885 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettingsDepth.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettingsDepth.g.cs @@ -33,7 +33,7 @@ public sealed partial class MappingLimitSettingsDepth /// The maximum depth for a field, which is measured as the number of inner objects. For instance, if all fields are defined
at the root object level, then the depth is 1. If there is one object mapping, then the depth is 2, etc.
/// [JsonInclude, JsonPropertyName("limit")] - public int? Limit { get; set; } + public long? Limit { get; set; } } public sealed partial class MappingLimitSettingsDepthDescriptor : SerializableDescriptor @@ -44,12 +44,12 @@ public MappingLimitSettingsDepthDescriptor() : base() { } - private int? LimitValue { get; set; } + private long? LimitValue { get; set; } /// /// The maximum depth for a field, which is measured as the number of inner objects. For instance, if all fields are defined
at the root object level, then the depth is 1. If there is one object mapping, then the depth is 2, etc.
///
- public MappingLimitSettingsDepthDescriptor Limit(int? limit) + public MappingLimitSettingsDepthDescriptor Limit(long? limit) { LimitValue = limit; return Self; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettingsDimensionFields.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettingsDimensionFields.g.cs index 769b5d6c94d..fa6bdcd2a52 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettingsDimensionFields.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettingsDimensionFields.g.cs @@ -33,7 +33,7 @@ public sealed partial class MappingLimitSettingsDimensionFields /// [preview] This functionality is in technical preview and may be changed or removed in a future release.
Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.
/// [JsonInclude, JsonPropertyName("limit")] - public int? Limit { get; set; } + public long? Limit { get; set; } } public sealed partial class MappingLimitSettingsDimensionFieldsDescriptor : SerializableDescriptor @@ -44,12 +44,12 @@ public MappingLimitSettingsDimensionFieldsDescriptor() : base() { } - private int? LimitValue { get; set; } + private long? LimitValue { get; set; } /// /// [preview] This functionality is in technical preview and may be changed or removed in a future release.
Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.
///
- public MappingLimitSettingsDimensionFieldsDescriptor Limit(int? limit) + public MappingLimitSettingsDimensionFieldsDescriptor Limit(long? limit) { LimitValue = limit; return Self; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettingsNestedFields.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettingsNestedFields.g.cs index d3b9bbcaee6..c14ee0c3418 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettingsNestedFields.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettingsNestedFields.g.cs @@ -33,7 +33,7 @@ public sealed partial class MappingLimitSettingsNestedFields /// The maximum number of distinct nested mappings in an index. The nested type should only be used in special cases, when
arrays of objects need to be queried independently of each other. To safeguard against poorly designed mappings, this
setting limits the number of unique nested types per index.
/// [JsonInclude, JsonPropertyName("limit")] - public int? Limit { get; set; } + public long? Limit { get; set; } } public sealed partial class MappingLimitSettingsNestedFieldsDescriptor : SerializableDescriptor @@ -44,12 +44,12 @@ public MappingLimitSettingsNestedFieldsDescriptor() : base() { } - private int? LimitValue { get; set; } + private long? LimitValue { get; set; } /// /// The maximum number of distinct nested mappings in an index. The nested type should only be used in special cases, when
arrays of objects need to be queried independently of each other. To safeguard against poorly designed mappings, this
setting limits the number of unique nested types per index.
///
- public MappingLimitSettingsNestedFieldsDescriptor Limit(int? limit) + public MappingLimitSettingsNestedFieldsDescriptor Limit(long? limit) { LimitValue = limit; return Self; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettingsNestedObjects.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettingsNestedObjects.g.cs index 7c7a7dbb189..6470d12445d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettingsNestedObjects.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettingsNestedObjects.g.cs @@ -33,7 +33,7 @@ public sealed partial class MappingLimitSettingsNestedObjects /// The maximum number of nested JSON objects that a single document can contain across all nested types. This limit helps
to prevent out of memory errors when a document contains too many nested objects.
/// [JsonInclude, JsonPropertyName("limit")] - public int? Limit { get; set; } + public long? Limit { get; set; } } public sealed partial class MappingLimitSettingsNestedObjectsDescriptor : SerializableDescriptor @@ -44,12 +44,12 @@ public MappingLimitSettingsNestedObjectsDescriptor() : base() { } - private int? LimitValue { get; set; } + private long? LimitValue { get; set; } /// /// The maximum number of nested JSON objects that a single document can contain across all nested types. This limit helps
to prevent out of memory errors when a document contains too many nested objects.
///
- public MappingLimitSettingsNestedObjectsDescriptor Limit(int? limit) + public MappingLimitSettingsNestedObjectsDescriptor Limit(long? limit) { LimitValue = limit; return Self; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettingsTotalFields.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettingsTotalFields.g.cs index d3f2e615e3b..3b26d70b295 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettingsTotalFields.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettingsTotalFields.g.cs @@ -33,7 +33,7 @@ public sealed partial class MappingLimitSettingsTotalFields /// The maximum number of fields in an index. Field and object mappings, as well as field aliases count towards this limit.
The limit is in place to prevent mappings and searches from becoming too large. Higher values can lead to performance
degradations and memory issues, especially in clusters with a high load or few resources.
/// [JsonInclude, JsonPropertyName("limit")] - public int? Limit { get; set; } + public long? Limit { get; set; } } public sealed partial class MappingLimitSettingsTotalFieldsDescriptor : SerializableDescriptor @@ -44,12 +44,12 @@ public MappingLimitSettingsTotalFieldsDescriptor() : base() { } - private int? LimitValue { get; set; } + private long? LimitValue { get; set; } /// /// The maximum number of fields in an index. Field and object mappings, as well as field aliases count towards this limit.
The limit is in place to prevent mappings and searches from becoming too large. Higher values can lead to performance
degradations and memory issues, especially in clusters with a high load or few resources.
///
- public MappingLimitSettingsTotalFieldsDescriptor Limit(int? limit) + public MappingLimitSettingsTotalFieldsDescriptor Limit(long? limit) { LimitValue = limit; return Self; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettingsDepth.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettingsDepth.g.cs index 3a8d524a8ce..c1954010b44 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettingsDepth.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettingsDepth.g.cs @@ -33,7 +33,7 @@ public sealed partial class MappingLimitSettingsDepth /// The maximum depth for a field, which is measured as the number of inner objects. For instance, if all fields are defined
at the root object level, then the depth is 1. If there is one object mapping, then the depth is 2, etc.
/// [JsonInclude, JsonPropertyName("limit")] - public int? Limit { get; set; } + public long? Limit { get; set; } } public sealed partial class MappingLimitSettingsDepthDescriptor : SerializableDescriptor @@ -44,12 +44,12 @@ public MappingLimitSettingsDepthDescriptor() : base() { } - private int? LimitValue { get; set; } + private long? LimitValue { get; set; } /// /// The maximum depth for a field, which is measured as the number of inner objects. For instance, if all fields are defined
at the root object level, then the depth is 1. If there is one object mapping, then the depth is 2, etc.
///
- public MappingLimitSettingsDepthDescriptor Limit(int? limit) + public MappingLimitSettingsDepthDescriptor Limit(long? limit) { LimitValue = limit; return Self; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettingsDimensionFields.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettingsDimensionFields.g.cs index b2c5bc768e8..659cd568dbc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettingsDimensionFields.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettingsDimensionFields.g.cs @@ -33,7 +33,7 @@ public sealed partial class MappingLimitSettingsDimensionFields /// [preview] This functionality is in technical preview and may be changed or removed in a future release.
Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.
/// [JsonInclude, JsonPropertyName("limit")] - public int? Limit { get; set; } + public long? Limit { get; set; } } public sealed partial class MappingLimitSettingsDimensionFieldsDescriptor : SerializableDescriptor @@ -44,12 +44,12 @@ public MappingLimitSettingsDimensionFieldsDescriptor() : base() { } - private int? LimitValue { get; set; } + private long? LimitValue { get; set; } /// /// [preview] This functionality is in technical preview and may be changed or removed in a future release.
Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.
///
- public MappingLimitSettingsDimensionFieldsDescriptor Limit(int? limit) + public MappingLimitSettingsDimensionFieldsDescriptor Limit(long? limit) { LimitValue = limit; return Self; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettingsNestedFields.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettingsNestedFields.g.cs index ba59c02603a..ebf47c2380b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettingsNestedFields.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettingsNestedFields.g.cs @@ -33,7 +33,7 @@ public sealed partial class MappingLimitSettingsNestedFields /// The maximum number of distinct nested mappings in an index. The nested type should only be used in special cases, when
arrays of objects need to be queried independently of each other. To safeguard against poorly designed mappings, this
setting limits the number of unique nested types per index.
/// [JsonInclude, JsonPropertyName("limit")] - public int? Limit { get; set; } + public long? Limit { get; set; } } public sealed partial class MappingLimitSettingsNestedFieldsDescriptor : SerializableDescriptor @@ -44,12 +44,12 @@ public MappingLimitSettingsNestedFieldsDescriptor() : base() { } - private int? LimitValue { get; set; } + private long? LimitValue { get; set; } /// /// The maximum number of distinct nested mappings in an index. The nested type should only be used in special cases, when
arrays of objects need to be queried independently of each other. To safeguard against poorly designed mappings, this
setting limits the number of unique nested types per index.
///
- public MappingLimitSettingsNestedFieldsDescriptor Limit(int? limit) + public MappingLimitSettingsNestedFieldsDescriptor Limit(long? limit) { LimitValue = limit; return Self; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettingsNestedObjects.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettingsNestedObjects.g.cs index 1cff770a6bd..ba5beae243e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettingsNestedObjects.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettingsNestedObjects.g.cs @@ -33,7 +33,7 @@ public sealed partial class MappingLimitSettingsNestedObjects /// The maximum number of nested JSON objects that a single document can contain across all nested types. This limit helps
to prevent out of memory errors when a document contains too many nested objects.
/// [JsonInclude, JsonPropertyName("limit")] - public int? Limit { get; set; } + public long? Limit { get; set; } } public sealed partial class MappingLimitSettingsNestedObjectsDescriptor : SerializableDescriptor @@ -44,12 +44,12 @@ public MappingLimitSettingsNestedObjectsDescriptor() : base() { } - private int? LimitValue { get; set; } + private long? LimitValue { get; set; } /// /// The maximum number of nested JSON objects that a single document can contain across all nested types. This limit helps
to prevent out of memory errors when a document contains too many nested objects.
///
- public MappingLimitSettingsNestedObjectsDescriptor Limit(int? limit) + public MappingLimitSettingsNestedObjectsDescriptor Limit(long? limit) { LimitValue = limit; return Self; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettingsTotalFields.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettingsTotalFields.g.cs index 7d1b7488239..ceb4d3c3aef 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettingsTotalFields.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettingsTotalFields.g.cs @@ -33,7 +33,7 @@ public sealed partial class MappingLimitSettingsTotalFields /// The maximum number of fields in an index. Field and object mappings, as well as field aliases count towards this limit.
The limit is in place to prevent mappings and searches from becoming too large. Higher values can lead to performance
degradations and memory issues, especially in clusters with a high load or few resources.
/// [JsonInclude, JsonPropertyName("limit")] - public int? Limit { get; set; } + public long? Limit { get; set; } } public sealed partial class MappingLimitSettingsTotalFieldsDescriptor : SerializableDescriptor @@ -44,12 +44,12 @@ public MappingLimitSettingsTotalFieldsDescriptor() : base() { } - private int? LimitValue { get; set; } + private long? LimitValue { get; set; } /// /// The maximum number of fields in an index. Field and object mappings, as well as field aliases count towards this limit.
The limit is in place to prevent mappings and searches from becoming too large. Higher values can lead to performance
degradations and memory issues, especially in clusters with a high load or few resources.
///
- public MappingLimitSettingsTotalFieldsDescriptor Limit(int? limit) + public MappingLimitSettingsTotalFieldsDescriptor Limit(long? limit) { LimitValue = limit; return Self;