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. https://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/charfilter/MappingCharFilter.html

[Newtonsoft.Json.JsonObject("#Microsoft.Azure.Search.MappingCharFilter")]
public class MappingCharFilter : Microsoft.Azure.Search.Models.CharFilter
[<Newtonsoft.Json.JsonObject("#Microsoft.Azure.Search.MappingCharFilter")>]
type MappingCharFilter = class
    inherit CharFilter
Public Class MappingCharFilter
Inherits CharFilter
Inheritance
MappingCharFilter
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

MappingCharFilter()

Initializes a new instance of the MappingCharFilter class.

MappingCharFilter(String, IList<String>)

Initializes a new instance of the MappingCharFilter class.

Properties

Mappings

Gets or sets a list of mappings of the following format: "a=&gt;b" (all occurrences of the character "a" will be replaced with character "b").

Name

Gets or sets 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)

Methods

Validate()

Validate the object.

Applies to