|
Spring Data Elasticsearch | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Query
Query
| Field Summary | |
|---|---|
static Pageable |
DEFAULT_PAGE
|
static int |
DEFAULT_PAGE_SIZE
|
| Method Summary | ||
|---|---|---|
void |
addFields(String... fields)
Add fields to be added as part of search request |
|
void |
addIndices(String... indices)
Add Indices to be added as part of search request |
|
|
addSort(Sort sort)
Add Sort to query |
|
void |
addTypes(String... types)
Add types to be searched |
|
List<String> |
getFields()
Get fields to be returned as part of search request |
|
Collection<String> |
getIds()
Get Ids |
|
List<String> |
getIndices()
Get Indices to be searched |
|
float |
getMinScore()
Get minimum score |
|
Pageable |
getPageable()
Get page settings if defined |
|
String |
getRoute()
Get route |
|
org.elasticsearch.action.search.SearchType |
getSearchType()
Type of search |
|
Sort |
getSort()
|
|
List<String> |
getTypes()
Get types to be searched |
|
|
setPageable(Pageable pageable)
restrict result to entries on given page. |
|
| Field Detail |
|---|
static final int DEFAULT_PAGE_SIZE
static final Pageable DEFAULT_PAGE
| Method Detail |
|---|
<T extends Query> T setPageable(Pageable pageable)
pageable -
Pageable getPageable()
<T extends Query> T addSort(Sort sort)
Sort to query
sort -
Sort getSort()
List<String> getIndices()
void addIndices(String... indices)
indices - void addTypes(String... types)
types - List<String> getTypes()
void addFields(String... fields)
fields - List<String> getFields()
float getMinScore()
Collection<String> getIds()
String getRoute()
org.elasticsearch.action.search.SearchType getSearchType()
|
Spring Data Elasticsearch | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||