public enum FieldTermVector extends Enum<FieldTermVector>
Enum Constant and Description |
---|
NO
Do not store term vectors
|
WITH_OFFESTS
Store the term vector + Token offset information
|
WITH_POSITIONS
Store the term vector + token position information
|
WITH_POSITIONS_AND_OFFSETS
Store the term vector + Token position and offset information
|
YES
Store the term vectors of each document.
|
Modifier and Type | Method and Description |
---|---|
static FieldTermVector |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldTermVector[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldTermVector NO
public static final FieldTermVector YES
public static final FieldTermVector WITH_POSITIONS
public static final FieldTermVector WITH_OFFESTS
public static final FieldTermVector WITH_POSITIONS_AND_OFFSETS
public static FieldTermVector[] values()
for (FieldTermVector c : FieldTermVector.values()) System.out.println(c);
public static FieldTermVector valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016. All Rights Reserved.