LexicalNormalizerName Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. search. documents. indexes. models. LexicalNormalizerName
- com.
- com.
public final class LexicalNormalizerName
extends ExpandableStringEnum<LexicalNormalizerName>
Defines the names of all text normalizers supported by the search engine.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Lexical |
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. |
|
static final
Lexical |
ELISION
Removes elisions. |
|
static final
Lexical |
LOWERCASE
Normalizes token text to lowercase. |
|
static final
Lexical |
STANDARD
Standard normalizer, which consists of lowercase and asciifolding. |
|
static final
Lexical |
UPPERCASE
Normalizes token text to uppercase. |
Constructor Summary
| Constructor | Description |
|---|---|
| LexicalNormalizerName() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Lexical |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Lexical |
fromString(String name)
Creates or finds a Lexical |
|
static
Collection<Lexical |
values()
Gets known Lexical |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ASCII_FOLDING
public static final LexicalNormalizerName 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
public static final LexicalNormalizerName 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
public static final LexicalNormalizerName 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
public static final LexicalNormalizerName 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
public static final LexicalNormalizerName 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
public LexicalNormalizerName()
Deprecated
Creates a new instance of LexicalNormalizerName value.
Method Details
fromString
public static LexicalNormalizerName fromString(String name)
Creates or finds a LexicalNormalizerName from its string representation.
Parameters:
Returns:
values
public static Collection<LexicalNormalizerName> values()
Gets known LexicalNormalizerName values.
Returns: