Class MappingCharFilter
java.lang.Object
com.azure.search.documents.indexes.models.CharFilter
com.azure.search.documents.indexes.models.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.
-
Constructor Summary
ConstructorsConstructorDescriptionMappingCharFilter
(String name, List<String> mappings) Creates an instance of MappingCharFilter class. -
Method Summary
Modifier and TypeMethodDescriptionGet the mappings property: A list of mappings of the following format: "a=>b" (all occurrences of the character "a" will be replaced with character "b").Methods inherited from class com.azure.search.documents.indexes.models.CharFilter
getName
-
Constructor Details
-
MappingCharFilter
Creates an instance of MappingCharFilter class.- Parameters:
name
- the name value to set.mappings
- the mappings value to set.
-
-
Method Details
-
getMappings
Get the mappings property: A list of mappings of the following format: "a=>b" (all occurrences of the character "a" will be replaced with character "b").- Returns:
- the mappings value.
-