public enum TermVector extends Enum<TermVector>
| Enum Constant and Description |
|---|
DEFAULT
Use the backend-specific default.
|
NO
Do not store term vectors.
|
WITH_OFFSETS
Store the term vectors.
|
WITH_POSITIONS
Store the term vectors.
|
WITH_POSITIONS_OFFSETS
Store the term vectors.
|
WITH_POSITIONS_OFFSETS_PAYLOADS
Store the term vectors.
|
WITH_POSITIONS_PAYLOADS
Store the term vectors.
|
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 DEFAULT
public static final TermVector YES
public static final TermVector NO
public static final TermVector WITH_POSITIONS
public static final TermVector WITH_OFFSETS
public static final TermVector WITH_POSITIONS_OFFSETS
public static final TermVector WITH_POSITIONS_PAYLOADS
public static final TermVector WITH_POSITIONS_OFFSETS_PAYLOADS
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-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.