public static enum Analyzed.IndexOption extends Enum<Analyzed.IndexOption>
Enum Constant and Description |
---|
DEFAULT
This will instruct elasticsearch to use the default settings.
|
DOCS
This will instruct elasticsearch to only store the doc id for a token.
|
FREQS
This will instruct elasticsearch to store the doc id and the term frequency for a token.
|
OFFSETS
This will instruct elasticsearch to store the doc id, the term frequency, the position and the start and end
character offsets for a token.
|
POSITIONS
This will instruct elasticsearch to store the doc id, the term frequency and the position for a token.
|
Modifier and Type | Method and Description |
---|---|
static Analyzed.IndexOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Analyzed.IndexOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Analyzed.IndexOption DEFAULT
public static final Analyzed.IndexOption DOCS
public static final Analyzed.IndexOption FREQS
public static final Analyzed.IndexOption POSITIONS
public static final Analyzed.IndexOption OFFSETS
public static Analyzed.IndexOption[] values()
for (Analyzed.IndexOption c : Analyzed.IndexOption.values()) System.out.println(c);
public static Analyzed.IndexOption 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 © 2018. All rights reserved.