public enum SearchKeyword extends Enum<SearchKeyword>
| 枚举常量和说明 |
|---|
EXISTS |
FUZZY |
GEO_BOUNDING_BOX |
GEO_DISTANCE |
MATCH |
MATCH_ALL |
MATCH_PHRASE |
MATCH_PHRASE_PREFIX |
MULTI_MATCH |
PREFIX |
RANGE |
REGEXP |
SPAN_TERM |
TERM |
TERMS |
WILDCARD |
| 限定符和类型 | 方法和说明 |
|---|---|
org.elasticsearch.index.query.QueryBuilder |
getBuilder(String key,
Object value) |
String |
getKeyword() |
static SearchKeyword |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static SearchKeyword[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final SearchKeyword MATCH_ALL
public static final SearchKeyword MATCH
public static final SearchKeyword MULTI_MATCH
public static final SearchKeyword MATCH_PHRASE
public static final SearchKeyword MATCH_PHRASE_PREFIX
public static final SearchKeyword TERM
public static final SearchKeyword FUZZY
public static final SearchKeyword PREFIX
public static final SearchKeyword RANGE
public static final SearchKeyword WILDCARD
public static final SearchKeyword REGEXP
public static final SearchKeyword SPAN_TERM
public static final SearchKeyword TERMS
public static final SearchKeyword GEO_DISTANCE
public static final SearchKeyword GEO_BOUNDING_BOX
public static final SearchKeyword EXISTS
public static SearchKeyword[] values()
for (SearchKeyword c : SearchKeyword.values()) System.out.println(c);
public static SearchKeyword valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getKeyword()
Copyright © 2022. All rights reserved.