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