public enum FieldIndexing extends Enum<FieldIndexing>
Enum Constant and Description |
---|
ANALYZED
Index the tokens produced by running the field's value through an Analyzer.
|
DEFAULT
Index this field using the default internal analyzer: LowerCaseKeywordAnalyzer
|
NO
Do not index the field value.
|
NOT_ANALYZED
Index the field's value without using an Analyzer, so it can be searched.
|
Modifier and Type | Method and Description |
---|---|
static FieldIndexing |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldIndexing[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldIndexing NO
public static final FieldIndexing ANALYZED
public static final FieldIndexing NOT_ANALYZED
public static final FieldIndexing DEFAULT
public static FieldIndexing[] values()
for (FieldIndexing c : FieldIndexing.values()) System.out.println(c);
public static FieldIndexing 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.