MappingCharFilter(String, IEnumerable<String>) Constructor

Definition

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