Skip to content

Commit

Permalink
Add updateable max* index settings (#3838)
Browse files Browse the repository at this point in the history
  • Loading branch information
russcam authored and Mpdreamz committed Jun 20, 2019
1 parent 1528923 commit 66010ff
Showing 1 changed file with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public static class UpdatableIndexSettings

public const string CompoundFormat = "index.compound_format";
public const string CompoundOnFlush = "index.compound_on_flush";

/// <summary>limits the number of unique nested types per index.</summary>
public const string MappingNestedFieldsLimit = "index.mapping.nested_fields.limit";
/// <summary>
Expand All @@ -23,6 +23,19 @@ public static class UpdatableIndexSettings
/// </summary>
public const string MappingNestedObjectsLimit = "index.mapping.nested_objects.limit";

/// <summary>the maximum difference between min_gram and max_gram for <see cref="INGramTokenizer"/> and <see cref="INGramTokenFilter"/></summary>
public const string MaxNGramDiff = "index.max_ngram_diff";
/// <summary>maximum value of from + size on a query</summary>
public const string MaxResultWindow = "index.max_result_window";
/// <summary>maximum value of from + size on an individual inner hit definition or top hits aggregation</summary>
public const string MaxInnerResultWindow = "index.max_inner_result_window";
/// <summary>maximum value of allowed script_fields that can be retrieved per search request.</summary>
public const string MaxScriptFields = "index.max_script_fields";
/// <summary>the maximum difference between min_shingle_size and max_shingle_size for <see cref="IShingleTokenFilter"/></summary>
public const string MaxShingleDiff = "index.max_shingle_diff";



public const string MergePolicyExpungeDeletesAllowed = "index.merge.policy.expunge_deletes_allowed";
public const string MergePolicyFloorSegment = "index.merge.policy.floor_segment";
public const string MergePolicyMaxMergeAtOnce = "index.merge.policy.max_merge_at_once";
Expand Down

0 comments on commit 66010ff

Please sign in to comment.