public static enum QueryCompiler.MatchPriority extends java.lang.Enum<QueryCompiler.MatchPriority>
QueryCompiler.compileQuery(String) should be applied| Enum Constant and Description |
|---|
MUSTThe query must appear in the matching documents |
NONEThe query should not be applied at all |
ONLYThe query is the only one that should be applied. |
SHOULDThe query should appear in the matching documents |
| Modifier and Type | Method and Description |
|---|---|
static QueryCompiler.MatchPriority | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. |
static QueryCompiler.MatchPriority[] | values()Returns an array containing the constants of this enum type, in the order they are declared. |
public static final QueryCompiler.MatchPriority NONE
public static final QueryCompiler.MatchPriority SHOULD
public static final QueryCompiler.MatchPriority MUST
public static final QueryCompiler.MatchPriority ONLY
QueryCompiler instances should be ignored.public static QueryCompiler.MatchPriority[] values()
for (QueryCompiler.MatchPriority c : QueryCompiler.MatchPriority.values()) System.out.println(c);
public static QueryCompiler.MatchPriority 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