Skip to content

Commit 24b87c5

Browse files
committed
Add updateable max* index settings
Relates: elastic/elasticsearch#27211
1 parent d721d2e commit 24b87c5

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

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

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

18+
/// <summary>the maximum difference between min_gram and max_gram for <see cref="INGramTokenizer"/> and <see cref="INGramTokenFilter"/></summary>
19+
public const string MaxNGramDiff = "index.max_ngram_diff";
20+
/// <summary>maximum value of from + size on a query</summary>
21+
public const string MaxResultWindow = "index.max_result_window";
22+
/// <summary>maximum value of from + size on an individual inner hit definition or top hits aggregation</summary>
23+
public const string MaxInnerResultWindow = "index.max_inner_result_window";
24+
/// <summary>maximum value of allowed script_fields that can be retrieved per search request.</summary>
25+
public const string MaxScriptFields = "index.max_script_fields";
26+
/// <summary>the maximum difference between min_shingle_size and max_shingle_size for <see cref="IShingleTokenFilter"/></summary>
27+
public const string MaxShingleDiff = "index.max_shingle_diff";
28+
1829
public const string MergePolicyExpungeDeletesAllowed = "index.merge.policy.expunge_deletes_allowed";
1930
public const string MergePolicyFloorSegment = "index.merge.policy.floor_segment";
2031
public const string MergePolicyMaxMergeAtOnce = "index.merge.policy.max_merge_at_once";

0 commit comments

Comments
 (0)