org.hibernate.search.annotations
public enum TermVector extends Enum<TermVector>
| Enum Constant and Description |
|---|
NO
Do not store term vectors.
|
WITH_OFFSETS
Store the term vector + Token offset information
|
WITH_POSITION_OFFSETS
Store the term vector + Token position and offset information
|
WITH_POSITIONS
Store the term vector + token position information
|
YES
Store term vectors.
|
| Modifier and Type | Method and Description |
|---|---|
static TermVector |
valueOf(String name)
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.
|
public static final TermVector YES
public static final TermVector NO
public static final TermVector WITH_OFFSETS
public static final TermVector WITH_POSITIONS
public static final TermVector WITH_POSITION_OFFSETS
public static TermVector[] values()
for (TermVector c : TermVector.values()) System.out.println(c);
public static TermVector 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 © 2006-2015 Red Hat, Inc. All Rights Reserved