Class LexicalNormalizerName
java.lang.Object
com.azure.core.util.ExpandableStringEnum<LexicalNormalizerName>
com.azure.search.documents.indexes.models.LexicalNormalizerName
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class LexicalNormalizerName
extends com.azure.core.util.ExpandableStringEnum<LexicalNormalizerName>
Defines the names of all text normalizers supported by the search engine.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LexicalNormalizerNameConverts alphabetic, numeric, and symbolic Unicode characters which are not in the first 127 ASCII characters (the "Basic Latin" Unicode block) into their ASCII equivalents, if such equivalents exist.static final LexicalNormalizerNameRemoves elisions.static final LexicalNormalizerNameNormalizes token text to lowercase.static final LexicalNormalizerNameStandard normalizer, which consists of lowercase and asciifolding.static final LexicalNormalizerNameNormalizes token text to uppercase. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LexicalNormalizerNamefromString(String name) Creates or finds a LexicalNormalizerName from its string representation.static Collection<LexicalNormalizerName> values()Gets known LexicalNormalizerName values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
ASCII_FOLDING
Converts alphabetic, numeric, and symbolic Unicode characters which are not in the first 127 ASCII characters (the "Basic Latin" Unicode block) into their ASCII equivalents, if such equivalents exist. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/ASCIIFoldingFilter.html. -
ELISION
Removes elisions. For example, "l'avion" (the plane) will be converted to "avion" (plane). See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/util/ElisionFilter.html. -
LOWERCASE
Normalizes token text to lowercase. See https://lucene.apache.org/core/6_6_1/analyzers-common/org/apache/lucene/analysis/core/LowerCaseFilter.html. -
STANDARD
Standard normalizer, which consists of lowercase and asciifolding. See http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/reverse/ReverseStringFilter.html. -
UPPERCASE
Normalizes token text to uppercase. See https://lucene.apache.org/core/6_6_1/analyzers-common/org/apache/lucene/analysis/core/UpperCaseFilter.html.
-
-
Constructor Details
-
LexicalNormalizerName
Deprecated.Use thefromString(String)factory method.Creates a new instance of LexicalNormalizerName value.
-
-
Method Details
-
fromString
Creates or finds a LexicalNormalizerName from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding LexicalNormalizerName.
-
values
Gets known LexicalNormalizerName values.- Returns:
- known LexicalNormalizerName values.
-
fromString(String)factory method.