Skip to content

Commit

Permalink
Add index.percolator.map_unmapped_fields_as_text index setting
Browse files Browse the repository at this point in the history
  • Loading branch information
russcam committed Jun 21, 2019
1 parent cdf847e commit 622c03b
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,12 @@ public static class FixedIndexSettings
public const string NumberOfRoutingShards = "index.number_of_routing_shards";
public const string NumberOfShards = "index.number_of_shards";
public const string RoutingPartitionSize = "index.routing_partition_size";

/// <summary>
/// If a field referred to in a percolator query does not exist,
/// it will be handled as a default text field so that adding the percolator query doesn't fail.
/// Defaults to <c>false</c>
/// </summary>
public const string PercolatorMapUnmappedFieldsAsText = "index.percolator.map_unmapped_fields_as_text";
}
}

0 comments on commit 622c03b

Please sign in to comment.