Skip to content

Commit 66010ff

Browse files
russcamMpdreamz
authored andcommitted
Add updateable max* index settings (#3838)
Relates: elastic/elasticsearch#27211
1 parent 1528923 commit 66010ff

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

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

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public static class UpdatableIndexSettings
1414

1515
public const string CompoundFormat = "index.compound_format";
1616
public const string CompoundOnFlush = "index.compound_on_flush";
17-
17+
1818
/// <summary>limits the number of unique nested types per index.</summary>
1919
public const string MappingNestedFieldsLimit = "index.mapping.nested_fields.limit";
2020
/// <summary>
@@ -23,6 +23,19 @@ public static class UpdatableIndexSettings
2323
/// </summary>
2424
public const string MappingNestedObjectsLimit = "index.mapping.nested_objects.limit";
2525

26+
/// <summary>the maximum difference between min_gram and max_gram for <see cref="INGramTokenizer"/> and <see cref="INGramTokenFilter"/></summary>
27+
public const string MaxNGramDiff = "index.max_ngram_diff";
28+
/// <summary>maximum value of from + size on a query</summary>
29+
public const string MaxResultWindow = "index.max_result_window";
30+
/// <summary>maximum value of from + size on an individual inner hit definition or top hits aggregation</summary>
31+
public const string MaxInnerResultWindow = "index.max_inner_result_window";
32+
/// <summary>maximum value of allowed script_fields that can be retrieved per search request.</summary>
33+
public const string MaxScriptFields = "index.max_script_fields";
34+
/// <summary>the maximum difference between min_shingle_size and max_shingle_size for <see cref="IShingleTokenFilter"/></summary>
35+
public const string MaxShingleDiff = "index.max_shingle_diff";
36+
37+
38+
2639
public const string MergePolicyExpungeDeletesAllowed = "index.merge.policy.expunge_deletes_allowed";
2740
public const string MergePolicyFloorSegment = "index.merge.policy.floor_segment";
2841
public const string MergePolicyMaxMergeAtOnce = "index.merge.policy.max_merge_at_once";

0 commit comments

Comments
 (0)