public static enum FunctionScoreQuery.ScoreMode extends Enum<FunctionScoreQuery.ScoreMode>
| Modifier and Type | Method and Description |
|---|---|
static FunctionScoreQuery.ScoreMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FunctionScoreQuery.ScoreMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FunctionScoreQuery.ScoreMode multiply
public static final FunctionScoreQuery.ScoreMode replace
public static final FunctionScoreQuery.ScoreMode sum
public static final FunctionScoreQuery.ScoreMode avg
public static final FunctionScoreQuery.ScoreMode max
public static final FunctionScoreQuery.ScoreMode min
public static FunctionScoreQuery.ScoreMode[] values()
for (FunctionScoreQuery.ScoreMode c : FunctionScoreQuery.ScoreMode.values()) System.out.println(c);
public static FunctionScoreQuery.ScoreMode 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.