public static enum MultiMatchQuery.Type extends java.lang.Enum<MultiMatchQuery.Type>
| Enum Constant and Description |
|---|
BEST_FIELDS |
BOOL_PREFIX |
CROSS_FIELDS |
MOST_FIELDS |
PHRASE |
PHRASE_PREFIX |
| Modifier and Type | Method and Description |
|---|---|
static MultiMatchQuery.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MultiMatchQuery.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MultiMatchQuery.Type BEST_FIELDS
public static final MultiMatchQuery.Type BOOL_PREFIX
public static final MultiMatchQuery.Type CROSS_FIELDS
public static final MultiMatchQuery.Type MOST_FIELDS
public static final MultiMatchQuery.Type PHRASE
public static final MultiMatchQuery.Type PHRASE_PREFIX
public static MultiMatchQuery.Type[] values()
for (MultiMatchQuery.Type c : MultiMatchQuery.Type.values()) System.out.println(c);
public static MultiMatchQuery.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null