Enum Class TermVector
- All Implemented Interfaces:
Serializable
,Comparable<TermVector>
,Constable
Defines the term vector storing strategy.
Simplified version for Infinispan of TermVector
- Since:
- 14.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDo not store term vectors.Store the term vectors.Store the term vectors.Store the term vectors.Store the term vectors.Store the term vectors.Store term vectors. -
Method Summary
Modifier and TypeMethodDescriptionstatic TermVector
Returns the enum constant of this class with the specified name.static TermVector[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
YES
Store term vectors. -
NO
Do not store term vectors. -
WITH_POSITIONS
Store the term vectors. Also store token positions into the term. -
WITH_OFFSETS
Store the term vectors. Also store token character offsets into the term. -
WITH_POSITIONS_OFFSETS
Store the term vectors. Also store token positions and token character offsets into the term. -
WITH_POSITIONS_PAYLOADS
Store the term vectors. Also store token positions and token payloads into the term. -
WITH_POSITIONS_OFFSETS_PAYLOADS
Store the term vectors. Also store token positions, token character offsets and token payloads into the term.
-
-
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
-