public static enum MultiMatchQuery.Type extends Enum<MultiMatchQuery.Type>
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-multi-match-query.html#multi-match-types
| Enum Constant and Description |
|---|
best_fields |
cross_fields |
most_fields |
phrase |
phrase_prefix |
| Modifier and Type | Method and Description |
|---|---|
static MultiMatchQuery.Type |
valueOf(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 most_fields
public static final MultiMatchQuery.Type cross_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(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 © 2017 JULIE Lab, Germany. All rights reserved.