public enum SearchBoostField extends Enum<SearchBoostField>
| Enum Constant and Description |
|---|
ALIAS |
KEYWORDS |
NAME |
SELECTION_MARKER |
SUMMARY |
| Modifier and Type | Method and Description |
|---|---|
static SearchBoostField |
boostFieldForField(String field) |
String |
getField() |
static SearchBoostField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchBoostField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchBoostField NAME
public static final SearchBoostField ALIAS
public static final SearchBoostField KEYWORDS
public static final SearchBoostField SUMMARY
public static final SearchBoostField SELECTION_MARKER
public static SearchBoostField[] values()
for (SearchBoostField c : SearchBoostField.values()) System.out.println(c);
public static SearchBoostField 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 nullpublic String getField()
public static SearchBoostField boostFieldForField(String field)
field - index fieldCopyright © 2017. All rights reserved.