MappingCharFilter(String, IEnumerable<String>) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of MappingCharFilter.
public MappingCharFilter (string name, System.Collections.Generic.IEnumerable<string> mappings);
new Azure.Search.Documents.Indexes.Models.MappingCharFilter : string * seq<string> -> Azure.Search.Documents.Indexes.Models.MappingCharFilter
Public Sub New (name As String, mappings As IEnumerable(Of String))
Parameters
- name
- String
The name of the char filter. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters.
- mappings
- IEnumerable<String>
A list of mappings of the following format: "a=>b" (all occurrences of the character "a" will be replaced with character "b").
Exceptions
name
or mappings
is null.
Applies to
Azure SDK for .NET