Package org.hibernate.search.annotations
Enum TermVector
- All Implemented Interfaces:
Serializable,Comparable<TermVector>
Deprecated.
Defines the term vector storing strategy
- Author:
- John Griffin
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.Do not store term vectors.Deprecated.Store the term vector + Token offset informationDeprecated.Store the term vector + Token position and offset informationDeprecated.Store the term vector + token position informationDeprecated.Store term vectors. -
Method Summary
Modifier and TypeMethodDescriptionstatic TermVectorDeprecated.Returns the enum constant of this type with the specified name.static TermVector[]values()Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
YES
Deprecated.Store term vectors. -
NO
Deprecated.Do not store term vectors. -
WITH_OFFSETS
Deprecated.Store the term vector + Token offset information -
WITH_POSITIONS
Deprecated.Store the term vector + token position information -
WITH_POSITION_OFFSETS
Deprecated.Store the term vector + Token position and offset information
-
-
Method Details
-
values
Deprecated.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
Deprecated.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
-
FullTextField) and enable/disable term vectors withinstead.@FullTextField(termVector = TermVector.YES)