Share via


MappingCharFilter Class

Definition

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.

public class MappingCharFilter : Azure.Search.Documents.Indexes.Models.CharFilter
type MappingCharFilter = class
    inherit CharFilter
Public Class MappingCharFilter
Inherits CharFilter
Inheritance
MappingCharFilter

Constructors

MappingCharFilter(String, IEnumerable<String>)

Initializes a new instance of MappingCharFilter.

Properties

Mappings

A list of mappings of the following format: "a=>b" (all occurrences of the character "a" will be replaced with character "b").

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.

(Inherited from CharFilter)

Applies to