Skip to content

Commit c4cce5a

Browse files
committed
Add updateable index settings for nested fields and nested objects limits
Relates: elastic/elasticsearch#27405
1 parent 8965d1c commit c4cce5a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Nest/IndexModules/IndexSettings/Settings/UpdatableIndexSettings.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ public static class UpdatableIndexSettings
1515
public const string CompoundFormat = "index.compound_format";
1616
public const string CompoundOnFlush = "index.compound_on_flush";
1717

18+
/// <summary>limits the number of unique nested types per index.</summary>
19+
public const string MappingNestedFieldsLimit = "index.mapping.nested_fields.limit";
20+
/// <summary>
21+
/// limits the number of nested objects that a single document may contain across all nested types,
22+
/// in order to prevent out of memory errors when a document contains too many nested objects.
23+
/// </summary>
24+
public const string MappingNestedObjectsLimit = "index.mapping.nested_objects.limit";
25+
1826
public const string MergePolicyExpungeDeletesAllowed = "index.merge.policy.expunge_deletes_allowed";
1927
public const string MergePolicyFloorSegment = "index.merge.policy.floor_segment";
2028
public const string MergePolicyMaxMergeAtOnce = "index.merge.policy.max_merge_at_once";

0 commit comments

Comments
 (0)