public static enum DocProperty.Option extends Enum<DocProperty.Option>
| Enum Constant and Description |
|---|
DEFAULT
Use the default which means analysed string properties use POSITIONS as the default and all other types use DOCS.
|
DOCS
Only index the doc number.
|
FREQS
Doc number and term frequencies are indexed.
|
OFFSETS
Doc number, term frequencies, term positions and start/end offsets are indexed.
|
POSITIONS
Doc number, term frequencies and term positions are indexed.
|
| Modifier and Type | Method and Description |
|---|---|
static DocProperty.Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocProperty.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocProperty.Option DOCS
public static final DocProperty.Option FREQS
public static final DocProperty.Option POSITIONS
public static final DocProperty.Option OFFSETS
public static final DocProperty.Option DEFAULT
public static DocProperty.Option[] values()
for (DocProperty.Option c : DocProperty.Option.values()) System.out.println(c);
public static DocProperty.Option 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.