Skip to content

Commit e430f1d

Browse files
Change mapping limit type from int -> long (#8209) (#8211)
Co-authored-by: Florian Bernd <[email protected]>
1 parent 04fb67a commit e430f1d

10 files changed

+30
-30
lines changed

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettingsDepth.g.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public sealed partial class MappingLimitSettingsDepth
3333
/// <para>The maximum depth for a field, which is measured as the number of inner objects. For instance, if all fields are defined<br/>at the root object level, then the depth is 1. If there is one object mapping, then the depth is 2, etc.</para>
3434
/// </summary>
3535
[JsonInclude, JsonPropertyName("limit")]
36-
public int? Limit { get; set; }
36+
public long? Limit { get; set; }
3737
}
3838

3939
public sealed partial class MappingLimitSettingsDepthDescriptor : SerializableDescriptor<MappingLimitSettingsDepthDescriptor>
@@ -44,12 +44,12 @@ public MappingLimitSettingsDepthDescriptor() : base()
4444
{
4545
}
4646

47-
private int? LimitValue { get; set; }
47+
private long? LimitValue { get; set; }
4848

4949
/// <summary>
5050
/// <para>The maximum depth for a field, which is measured as the number of inner objects. For instance, if all fields are defined<br/>at the root object level, then the depth is 1. If there is one object mapping, then the depth is 2, etc.</para>
5151
/// </summary>
52-
public MappingLimitSettingsDepthDescriptor Limit(int? limit)
52+
public MappingLimitSettingsDepthDescriptor Limit(long? limit)
5353
{
5454
LimitValue = limit;
5555
return Self;

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettingsDimensionFields.g.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public sealed partial class MappingLimitSettingsDimensionFields
3333
/// <para>[preview] This functionality is in technical preview and may be changed or removed in a future release.<br/>Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.</para>
3434
/// </summary>
3535
[JsonInclude, JsonPropertyName("limit")]
36-
public int? Limit { get; set; }
36+
public long? Limit { get; set; }
3737
}
3838

3939
public sealed partial class MappingLimitSettingsDimensionFieldsDescriptor : SerializableDescriptor<MappingLimitSettingsDimensionFieldsDescriptor>
@@ -44,12 +44,12 @@ public MappingLimitSettingsDimensionFieldsDescriptor() : base()
4444
{
4545
}
4646

47-
private int? LimitValue { get; set; }
47+
private long? LimitValue { get; set; }
4848

4949
/// <summary>
5050
/// <para>[preview] This functionality is in technical preview and may be changed or removed in a future release.<br/>Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.</para>
5151
/// </summary>
52-
public MappingLimitSettingsDimensionFieldsDescriptor Limit(int? limit)
52+
public MappingLimitSettingsDimensionFieldsDescriptor Limit(long? limit)
5353
{
5454
LimitValue = limit;
5555
return Self;

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettingsNestedFields.g.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public sealed partial class MappingLimitSettingsNestedFields
3333
/// <para>The maximum number of distinct nested mappings in an index. The nested type should only be used in special cases, when<br/>arrays of objects need to be queried independently of each other. To safeguard against poorly designed mappings, this<br/>setting limits the number of unique nested types per index.</para>
3434
/// </summary>
3535
[JsonInclude, JsonPropertyName("limit")]
36-
public int? Limit { get; set; }
36+
public long? Limit { get; set; }
3737
}
3838

3939
public sealed partial class MappingLimitSettingsNestedFieldsDescriptor : SerializableDescriptor<MappingLimitSettingsNestedFieldsDescriptor>
@@ -44,12 +44,12 @@ public MappingLimitSettingsNestedFieldsDescriptor() : base()
4444
{
4545
}
4646

47-
private int? LimitValue { get; set; }
47+
private long? LimitValue { get; set; }
4848

4949
/// <summary>
5050
/// <para>The maximum number of distinct nested mappings in an index. The nested type should only be used in special cases, when<br/>arrays of objects need to be queried independently of each other. To safeguard against poorly designed mappings, this<br/>setting limits the number of unique nested types per index.</para>
5151
/// </summary>
52-
public MappingLimitSettingsNestedFieldsDescriptor Limit(int? limit)
52+
public MappingLimitSettingsNestedFieldsDescriptor Limit(long? limit)
5353
{
5454
LimitValue = limit;
5555
return Self;

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettingsNestedObjects.g.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public sealed partial class MappingLimitSettingsNestedObjects
3333
/// <para>The maximum number of nested JSON objects that a single document can contain across all nested types. This limit helps<br/>to prevent out of memory errors when a document contains too many nested objects.</para>
3434
/// </summary>
3535
[JsonInclude, JsonPropertyName("limit")]
36-
public int? Limit { get; set; }
36+
public long? Limit { get; set; }
3737
}
3838

3939
public sealed partial class MappingLimitSettingsNestedObjectsDescriptor : SerializableDescriptor<MappingLimitSettingsNestedObjectsDescriptor>
@@ -44,12 +44,12 @@ public MappingLimitSettingsNestedObjectsDescriptor() : base()
4444
{
4545
}
4646

47-
private int? LimitValue { get; set; }
47+
private long? LimitValue { get; set; }
4848

4949
/// <summary>
5050
/// <para>The maximum number of nested JSON objects that a single document can contain across all nested types. This limit helps<br/>to prevent out of memory errors when a document contains too many nested objects.</para>
5151
/// </summary>
52-
public MappingLimitSettingsNestedObjectsDescriptor Limit(int? limit)
52+
public MappingLimitSettingsNestedObjectsDescriptor Limit(long? limit)
5353
{
5454
LimitValue = limit;
5555
return Self;

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettingsTotalFields.g.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public sealed partial class MappingLimitSettingsTotalFields
3333
/// <para>The maximum number of fields in an index. Field and object mappings, as well as field aliases count towards this limit.<br/>The limit is in place to prevent mappings and searches from becoming too large. Higher values can lead to performance<br/>degradations and memory issues, especially in clusters with a high load or few resources.</para>
3434
/// </summary>
3535
[JsonInclude, JsonPropertyName("limit")]
36-
public int? Limit { get; set; }
36+
public long? Limit { get; set; }
3737
}
3838

3939
public sealed partial class MappingLimitSettingsTotalFieldsDescriptor : SerializableDescriptor<MappingLimitSettingsTotalFieldsDescriptor>
@@ -44,12 +44,12 @@ public MappingLimitSettingsTotalFieldsDescriptor() : base()
4444
{
4545
}
4646

47-
private int? LimitValue { get; set; }
47+
private long? LimitValue { get; set; }
4848

4949
/// <summary>
5050
/// <para>The maximum number of fields in an index. Field and object mappings, as well as field aliases count towards this limit.<br/>The limit is in place to prevent mappings and searches from becoming too large. Higher values can lead to performance<br/>degradations and memory issues, especially in clusters with a high load or few resources.</para>
5151
/// </summary>
52-
public MappingLimitSettingsTotalFieldsDescriptor Limit(int? limit)
52+
public MappingLimitSettingsTotalFieldsDescriptor Limit(long? limit)
5353
{
5454
LimitValue = limit;
5555
return Self;

src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettingsDepth.g.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public sealed partial class MappingLimitSettingsDepth
3333
/// <para>The maximum depth for a field, which is measured as the number of inner objects. For instance, if all fields are defined<br/>at the root object level, then the depth is 1. If there is one object mapping, then the depth is 2, etc.</para>
3434
/// </summary>
3535
[JsonInclude, JsonPropertyName("limit")]
36-
public int? Limit { get; set; }
36+
public long? Limit { get; set; }
3737
}
3838

3939
public sealed partial class MappingLimitSettingsDepthDescriptor : SerializableDescriptor<MappingLimitSettingsDepthDescriptor>
@@ -44,12 +44,12 @@ public MappingLimitSettingsDepthDescriptor() : base()
4444
{
4545
}
4646

47-
private int? LimitValue { get; set; }
47+
private long? LimitValue { get; set; }
4848

4949
/// <summary>
5050
/// <para>The maximum depth for a field, which is measured as the number of inner objects. For instance, if all fields are defined<br/>at the root object level, then the depth is 1. If there is one object mapping, then the depth is 2, etc.</para>
5151
/// </summary>
52-
public MappingLimitSettingsDepthDescriptor Limit(int? limit)
52+
public MappingLimitSettingsDepthDescriptor Limit(long? limit)
5353
{
5454
LimitValue = limit;
5555
return Self;

src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettingsDimensionFields.g.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public sealed partial class MappingLimitSettingsDimensionFields
3333
/// <para>[preview] This functionality is in technical preview and may be changed or removed in a future release.<br/>Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.</para>
3434
/// </summary>
3535
[JsonInclude, JsonPropertyName("limit")]
36-
public int? Limit { get; set; }
36+
public long? Limit { get; set; }
3737
}
3838

3939
public sealed partial class MappingLimitSettingsDimensionFieldsDescriptor : SerializableDescriptor<MappingLimitSettingsDimensionFieldsDescriptor>
@@ -44,12 +44,12 @@ public MappingLimitSettingsDimensionFieldsDescriptor() : base()
4444
{
4545
}
4646

47-
private int? LimitValue { get; set; }
47+
private long? LimitValue { get; set; }
4848

4949
/// <summary>
5050
/// <para>[preview] This functionality is in technical preview and may be changed or removed in a future release.<br/>Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.</para>
5151
/// </summary>
52-
public MappingLimitSettingsDimensionFieldsDescriptor Limit(int? limit)
52+
public MappingLimitSettingsDimensionFieldsDescriptor Limit(long? limit)
5353
{
5454
LimitValue = limit;
5555
return Self;

src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettingsNestedFields.g.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public sealed partial class MappingLimitSettingsNestedFields
3333
/// <para>The maximum number of distinct nested mappings in an index. The nested type should only be used in special cases, when<br/>arrays of objects need to be queried independently of each other. To safeguard against poorly designed mappings, this<br/>setting limits the number of unique nested types per index.</para>
3434
/// </summary>
3535
[JsonInclude, JsonPropertyName("limit")]
36-
public int? Limit { get; set; }
36+
public long? Limit { get; set; }
3737
}
3838

3939
public sealed partial class MappingLimitSettingsNestedFieldsDescriptor : SerializableDescriptor<MappingLimitSettingsNestedFieldsDescriptor>
@@ -44,12 +44,12 @@ public MappingLimitSettingsNestedFieldsDescriptor() : base()
4444
{
4545
}
4646

47-
private int? LimitValue { get; set; }
47+
private long? LimitValue { get; set; }
4848

4949
/// <summary>
5050
/// <para>The maximum number of distinct nested mappings in an index. The nested type should only be used in special cases, when<br/>arrays of objects need to be queried independently of each other. To safeguard against poorly designed mappings, this<br/>setting limits the number of unique nested types per index.</para>
5151
/// </summary>
52-
public MappingLimitSettingsNestedFieldsDescriptor Limit(int? limit)
52+
public MappingLimitSettingsNestedFieldsDescriptor Limit(long? limit)
5353
{
5454
LimitValue = limit;
5555
return Self;

src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettingsNestedObjects.g.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public sealed partial class MappingLimitSettingsNestedObjects
3333
/// <para>The maximum number of nested JSON objects that a single document can contain across all nested types. This limit helps<br/>to prevent out of memory errors when a document contains too many nested objects.</para>
3434
/// </summary>
3535
[JsonInclude, JsonPropertyName("limit")]
36-
public int? Limit { get; set; }
36+
public long? Limit { get; set; }
3737
}
3838

3939
public sealed partial class MappingLimitSettingsNestedObjectsDescriptor : SerializableDescriptor<MappingLimitSettingsNestedObjectsDescriptor>
@@ -44,12 +44,12 @@ public MappingLimitSettingsNestedObjectsDescriptor() : base()
4444
{
4545
}
4646

47-
private int? LimitValue { get; set; }
47+
private long? LimitValue { get; set; }
4848

4949
/// <summary>
5050
/// <para>The maximum number of nested JSON objects that a single document can contain across all nested types. This limit helps<br/>to prevent out of memory errors when a document contains too many nested objects.</para>
5151
/// </summary>
52-
public MappingLimitSettingsNestedObjectsDescriptor Limit(int? limit)
52+
public MappingLimitSettingsNestedObjectsDescriptor Limit(long? limit)
5353
{
5454
LimitValue = limit;
5555
return Self;

src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettingsTotalFields.g.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public sealed partial class MappingLimitSettingsTotalFields
3333
/// <para>The maximum number of fields in an index. Field and object mappings, as well as field aliases count towards this limit.<br/>The limit is in place to prevent mappings and searches from becoming too large. Higher values can lead to performance<br/>degradations and memory issues, especially in clusters with a high load or few resources.</para>
3434
/// </summary>
3535
[JsonInclude, JsonPropertyName("limit")]
36-
public int? Limit { get; set; }
36+
public long? Limit { get; set; }
3737
}
3838

3939
public sealed partial class MappingLimitSettingsTotalFieldsDescriptor : SerializableDescriptor<MappingLimitSettingsTotalFieldsDescriptor>
@@ -44,12 +44,12 @@ public MappingLimitSettingsTotalFieldsDescriptor() : base()
4444
{
4545
}
4646

47-
private int? LimitValue { get; set; }
47+
private long? LimitValue { get; set; }
4848

4949
/// <summary>
5050
/// <para>The maximum number of fields in an index. Field and object mappings, as well as field aliases count towards this limit.<br/>The limit is in place to prevent mappings and searches from becoming too large. Higher values can lead to performance<br/>degradations and memory issues, especially in clusters with a high load or few resources.</para>
5151
/// </summary>
52-
public MappingLimitSettingsTotalFieldsDescriptor Limit(int? limit)
52+
public MappingLimitSettingsTotalFieldsDescriptor Limit(long? limit)
5353
{
5454
LimitValue = limit;
5555
return Self;

0 commit comments

Comments
 (0)