- java.lang.Object
-
- org.redkale.source.SearchQuery.SearchSimpleQuery
-
- 所有已实现的接口:
Serializable
,SearchQuery
- 封闭接口:
- SearchQuery
public static class SearchQuery.SearchSimpleQuery extends Object implements SearchQuery
- 另请参阅:
- 序列化表格
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 org.redkale.source.SearchQuery
SearchQuery.SearchHighlight, SearchQuery.SearchSimpleHighlight, SearchQuery.SearchSimpleQuery
-
-
字段概要
-
从接口继承的字段 org.redkale.source.SearchQuery
SEARCH_FILTER_NAME
-
-
构造器概要
构造器 构造器 说明 SearchSimpleQuery()
SearchSimpleQuery(String keyword, String... fields)
-
方法概要
-
-
-
方法详细资料
-
keyword
public SearchQuery.SearchSimpleQuery keyword(String keyword)
-
analyzer
public SearchQuery.SearchSimpleQuery analyzer(String analyzer)
-
fields
public SearchQuery.SearchSimpleQuery fields(String... fields)
-
classes
public SearchQuery.SearchSimpleQuery classes(Class[] classes)
-
highlight
public SearchQuery.SearchSimpleQuery highlight(SearchQuery.SearchHighlight highlight)
-
extras
public SearchQuery.SearchSimpleQuery extras(Map<String,Object> map)
-
extras
public SearchQuery.SearchSimpleQuery extras(String key, Object value)
-
searchKeyword
public String searchKeyword()
从接口复制的说明:SearchQuery
搜索关键字, 必须字段值- 指定者:
searchKeyword
在接口中SearchQuery
- 返回:
- String
-
searchClasses
public Class[] searchClasses()
从接口复制的说明:SearchQuery
需要搜索的index集合,无值则使用当前entity类- 指定者:
searchClasses
在接口中SearchQuery
- 返回:
- Class[]
-
searchFields
public String[] searchFields()
从接口复制的说明:SearchQuery
搜索字段集合, 必须字段值- 指定者:
searchFields
在接口中SearchQuery
- 返回:
- String[]
-
extras
public Map<String,Object> extras()
从接口复制的说明:SearchQuery
扩展的信息- 指定者:
extras
在接口中SearchQuery
- 返回:
- Map
-
searchAnalyzer
public String searchAnalyzer()
从接口复制的说明:SearchQuery
搜索分词器,可以为空- 指定者:
searchAnalyzer
在接口中SearchQuery
- 返回:
- String
-
highlight
public SearchQuery.SearchHighlight highlight()
从接口复制的说明:SearchQuery
高亮显示- 指定者:
highlight
在接口中SearchQuery
- 返回:
- SearchHighlight
-
getClasses
public Class[] getClasses()
-
setClasses
public void setClasses(Class[] classes)
-
getFields
public String[] getFields()
-
setFields
public void setFields(String[] fields)
-
getKeyword
public String getKeyword()
-
setKeyword
public void setKeyword(String keyword)
-
getAnalyzer
public String getAnalyzer()
-
setAnalyzer
public void setAnalyzer(String analyzer)
-
getHighlight
public SearchQuery.SearchHighlight getHighlight()
-
setHighlight
public void setHighlight(SearchQuery.SearchHighlight highlight)
-
-