public static enum MatchQuery.RewriteMethod extends Enum<MatchQuery.RewriteMethod>
| Enum Constant and Description |
|---|
CONSTANT_SCORE_AUTO |
CONSTANT_SCORE_BOOLEAN |
CONSTANT_SCORE_FILTER |
SCORING_BOOLEAN |
TOP_TERMS_BOOST_N |
TOP_TERMS_N |
| Modifier and Type | Method and Description |
|---|---|
static MatchQuery.RewriteMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatchQuery.RewriteMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatchQuery.RewriteMethod CONSTANT_SCORE_AUTO
public static final MatchQuery.RewriteMethod CONSTANT_SCORE_BOOLEAN
public static final MatchQuery.RewriteMethod CONSTANT_SCORE_FILTER
public static final MatchQuery.RewriteMethod SCORING_BOOLEAN
public static final MatchQuery.RewriteMethod TOP_TERMS_N
public static final MatchQuery.RewriteMethod TOP_TERMS_BOOST_N
public static MatchQuery.RewriteMethod[] values()
for (MatchQuery.RewriteMethod c : MatchQuery.RewriteMethod.values()) System.out.println(c);
public static MatchQuery.RewriteMethod 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 null