Skip to content

Commit c8eadf1

Browse files
russcamMpdreamz
authored andcommitted
Add index.percolator.map_unmapped_fields_as_text index setting (#3850)
Relates: elastic/elasticsearch#28060
1 parent be9463d commit c8eadf1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,12 @@ public static class FixedIndexSettings
99
public const string NumberOfRoutingShards = "index.number_of_routing_shards";
1010
public const string NumberOfShards = "index.number_of_shards";
1111
public const string RoutingPartitionSize = "index.routing_partition_size";
12+
13+
/// <summary>
14+
/// If a field referred to in a percolator query does not exist,
15+
/// it will be handled as a default text field so that adding the percolator query doesn't fail.
16+
/// Defaults to <c>false</c>
17+
/// </summary>
18+
public const string PercolatorMapUnmappedFieldsAsText = "index.percolator.map_unmapped_fields_as_text";
1219
}
1320
}

0 commit comments

Comments
 (0)