Class MappingCharFilter
A character filter that applies mappings defined with the mappings option. Matching is greedy (longest pattern matching at a given point wins). Replacement is allowed to be the empty string. This character filter is implemented using Apache Lucene.
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Search.Documents.dll
Syntax
public class MappingCharFilter : Azure.Search.Documents.Indexes.Models.CharFilter
Constructors
MappingCharFilter(String, IEnumerable<String>)
Initializes a new instance of MappingCharFilter.
Declaration
public MappingCharFilter (string name, System.Collections.Generic.IEnumerable<string> mappings);
Parameters
System.String
name
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. |
System.Collections.Generic.IEnumerable<System.String>
mappings
A list of mappings of the following format: "a=>b" (all occurrences of the character "a" will be replaced with character "b"). |
Exceptions
System.ArgumentNullException
|
Properties
Mappings
A list of mappings of the following format: "a=>b" (all occurrences of the character "a" will be replaced with character "b").
Declaration
public System.Collections.Generic.IList<string> Mappings { get; }
Property Value
System.Collections.Generic.IList<System.String>
|