Skip to content

Commit

Permalink
Add index.percolator.map_unmapped_fields_as_text index setting (#3850)
Browse files Browse the repository at this point in the history
  • Loading branch information
russcam authored and Mpdreamz committed Jun 21, 2019
1 parent be9463d commit c8eadf1
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 c8eadf1

Please sign in to comment.