Enum TermVector
- All Implemented Interfaces:
Serializable
,Comparable<TermVector>
Defines the term vector storing strategy.
-
Enum Constant Summary
Enum ConstantDescriptionUse the backend-specific default.Do 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 type with the specified name.static TermVector[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
Use the backend-specific default. -
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 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
-