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 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.
      Use the fromString(String) factory method.
      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:
      name - a name to look for.
      Returns:
      the corresponding LexicalNormalizerName.
    • values

      public static Collection<LexicalNormalizerName> values()
      Gets known LexicalNormalizerName values.
      Returns:
      known LexicalNormalizerName values.