public class ElasticSearchRequest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ElasticSearchRequest.RestSortInfo |
| Constructor and Description |
|---|
ElasticSearchRequest() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSort(String key,
String order,
String unmappedType) |
List<String> |
getFields() |
Integer |
getFrom() |
Map<String,Object> |
getQuery() |
Integer |
getSize() |
List<Map<String,ElasticSearchRequest.RestSortInfo>> |
getSorts() |
boolean |
isDisableSourceRetrieval() |
void |
setDisableSourceRetrieval(boolean disableSourceRetrieval) |
void |
setFields(List<String> fields) |
void |
setFrom(Integer from) |
void |
setQuery(Map<String,Object> query) |
void |
setSize(Integer size) |
public Integer getSize()
public void setSize(Integer size)
public Integer getFrom()
public void setFrom(Integer from)
public List<Map<String,ElasticSearchRequest.RestSortInfo>> getSorts()
public boolean isDisableSourceRetrieval()
public void setDisableSourceRetrieval(boolean disableSourceRetrieval)
Copyright © 2012–2023. All rights reserved.