Enum SnowballTokenFilterLanguage

java.lang.Object
java.lang.Enum<SnowballTokenFilterLanguage>
com.azure.search.documents.indexes.models.SnowballTokenFilterLanguage
All Implemented Interfaces:
Serializable, Comparable<SnowballTokenFilterLanguage>, java.lang.constant.Constable

public enum SnowballTokenFilterLanguage extends Enum<SnowballTokenFilterLanguage>
The language to use for a Snowball token filter.
  • Nested Class Summary

    Nested classes/interfaces inherited from class Enum

    Enum.EnumDesc<E>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Selects the Lucene Snowball stemming tokenizer for Armenian.
    Selects the Lucene Snowball stemming tokenizer for Basque.
    Selects the Lucene Snowball stemming tokenizer for Catalan.
    Selects the Lucene Snowball stemming tokenizer for Danish.
    Selects the Lucene Snowball stemming tokenizer for Dutch.
    Selects the Lucene Snowball stemming tokenizer for English.
    Selects the Lucene Snowball stemming tokenizer for Finnish.
    Selects the Lucene Snowball stemming tokenizer for French.
    Selects the Lucene Snowball stemming tokenizer for German.
    Selects the Lucene Snowball stemming tokenizer that uses the German variant algorithm.
    Selects the Lucene Snowball stemming tokenizer for Hungarian.
    Selects the Lucene Snowball stemming tokenizer for Italian.
    Selects the Lucene Snowball stemming tokenizer for Dutch that uses the Kraaij-Pohlmann stemming algorithm.
    Selects the Lucene Snowball stemming tokenizer for English that uses the Lovins stemming algorithm.
    Selects the Lucene Snowball stemming tokenizer for Norwegian.
    Selects the Lucene Snowball stemming tokenizer for English that uses the Porter stemming algorithm.
    Selects the Lucene Snowball stemming tokenizer for Portuguese.
    Selects the Lucene Snowball stemming tokenizer for Romanian.
    Selects the Lucene Snowball stemming tokenizer for Russian.
    Selects the Lucene Snowball stemming tokenizer for Spanish.
    Selects the Lucene Snowball stemming tokenizer for Swedish.
    Selects the Lucene Snowball stemming tokenizer for Turkish.
  • Method Summary

    Modifier and Type
    Method
    Description
    Parses a serialized value to a SnowballTokenFilterLanguage instance.
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

  • Method Details

    • values

      public static SnowballTokenFilterLanguage[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static SnowballTokenFilterLanguage valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • fromString

      public static SnowballTokenFilterLanguage fromString(String value)
      Parses a serialized value to a SnowballTokenFilterLanguage instance.
      Parameters:
      value - the serialized value to parse.
      Returns:
      the parsed SnowballTokenFilterLanguage object, or null if unable to parse.
    • toString

      public String toString()
      Overrides:
      toString in class Enum<SnowballTokenFilterLanguage>