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
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 ConstantsEnum ConstantDescriptionSelects 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 TypeMethodDescriptionstatic SnowballTokenFilterLanguagefromString(String value) Parses a serialized value to a SnowballTokenFilterLanguage instance.toString()static SnowballTokenFilterLanguageReturns the enum constant of this type with the specified name.static SnowballTokenFilterLanguage[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ARMENIAN
Selects the Lucene Snowball stemming tokenizer for Armenian. -
BASQUE
Selects the Lucene Snowball stemming tokenizer for Basque. -
CATALAN
Selects the Lucene Snowball stemming tokenizer for Catalan. -
DANISH
Selects the Lucene Snowball stemming tokenizer for Danish. -
DUTCH
Selects the Lucene Snowball stemming tokenizer for Dutch. -
ENGLISH
Selects the Lucene Snowball stemming tokenizer for English. -
FINNISH
Selects the Lucene Snowball stemming tokenizer for Finnish. -
FRENCH
Selects the Lucene Snowball stemming tokenizer for French. -
GERMAN
Selects the Lucene Snowball stemming tokenizer for German. -
GERMAN2
Selects the Lucene Snowball stemming tokenizer that uses the German variant algorithm. -
HUNGARIAN
Selects the Lucene Snowball stemming tokenizer for Hungarian. -
ITALIAN
Selects the Lucene Snowball stemming tokenizer for Italian. -
KP
Selects the Lucene Snowball stemming tokenizer for Dutch that uses the Kraaij-Pohlmann stemming algorithm. -
LOVINS
Selects the Lucene Snowball stemming tokenizer for English that uses the Lovins stemming algorithm. -
NORWEGIAN
Selects the Lucene Snowball stemming tokenizer for Norwegian. -
PORTER
Selects the Lucene Snowball stemming tokenizer for English that uses the Porter stemming algorithm. -
PORTUGUESE
Selects the Lucene Snowball stemming tokenizer for Portuguese. -
ROMANIAN
Selects the Lucene Snowball stemming tokenizer for Romanian. -
RUSSIAN
Selects the Lucene Snowball stemming tokenizer for Russian. -
SPANISH
Selects the Lucene Snowball stemming tokenizer for Spanish. -
SWEDISH
Selects the Lucene Snowball stemming tokenizer for Swedish. -
TURKISH
Selects the Lucene Snowball stemming tokenizer for Turkish.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
fromString
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
- Overrides:
toStringin classEnum<SnowballTokenFilterLanguage>
-