Enum Class AnalyzerTypes
- All Implemented Interfaces:
Serializable,Comparable<AnalyzerTypes>,Constable
Enum representing different types of analyzers.
Each enum constant corresponds to a specific analyzer type.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFilters StandardTokenizer output that divides text into terms on word boundaries and then uses the LowerCaseFilter.Filters StandardTokenizer output that divides text into terms on word boundaries and then uses the LowerCaseFilter.Filters StandardTokenizer output that divides text into terms on word boundaries and then uses the LowerCaseFilter.Filters StandardTokenizer output that divides text into terms on word boundaries and then uses the LowerCaseFilter.Filters StandardTokenizer output that divides text into terms on word boundaries and then uses the LowerCaseFilter.Filters StandardTokenizer output that divides text into terms on word boundaries and then uses the LowerCaseFilter.Filters StandardTokenizer output that divides text into terms on word boundaries and then uses the LowerCaseFilter. -
Method Summary
Modifier and TypeMethodDescriptionstatic LexicalFiltersBuild from the key.static AnalyzerTypesReturns the enum constant of this class with the specified name.static AnalyzerTypes[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STANDARD
Filters StandardTokenizer output that divides text into terms on word boundaries and then uses the LowerCaseFilter. -
LETTER
Filters StandardTokenizer output that divides text into terms on word boundaries and then uses the LowerCaseFilter. -
LOWERCASE
Filters StandardTokenizer output that divides text into terms on word boundaries and then uses the LowerCaseFilter. -
WHITESPACE
Filters StandardTokenizer output that divides text into terms on word boundaries and then uses the LowerCaseFilter. -
N_GRAM
Filters StandardTokenizer output that divides text into terms on word boundaries and then uses the LowerCaseFilter. -
EDGE_N_GRAM
Filters StandardTokenizer output that divides text into terms on word boundaries and then uses the LowerCaseFilter. -
KEYWORD
Filters StandardTokenizer output that divides text into terms on word boundaries and then uses the LowerCaseFilter.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
fromValue
Build from the key.- Parameters:
value- string value- Returns:
- enum value
-