GetRequestBuilder |
GetRequestBuilder.setFetchSource(boolean fetch) |
Indicates whether the response should contain the stored _source.
|
GetRequestBuilder |
GetRequestBuilder.setFetchSource(String[] includes,
String[] excludes) |
Indicate that _source should be returned, with an "include" and/or "exclude" set which can include simple wildcard
elements.
|
GetRequestBuilder |
GetRequestBuilder.setFetchSource(String include,
String exclude) |
Indicate that _source should be returned, with an "include" and/or "exclude" set which can include simple wildcard
elements.
|
GetRequestBuilder |
GetRequestBuilder.setId(String id) |
Sets the id of the document to fetch.
|
GetRequestBuilder |
GetRequestBuilder.setPreference(String preference) |
Sets the preference to execute the search.
|
GetRequestBuilder |
GetRequestBuilder.setRealtime(boolean realtime) |
|
GetRequestBuilder |
GetRequestBuilder.setRefresh(boolean refresh) |
Should a refresh be executed before this get operation causing the operation to
return the latest value.
|
GetRequestBuilder |
GetRequestBuilder.setRouting(String routing) |
Controls the shard routing of the request.
|
GetRequestBuilder |
GetRequestBuilder.setStoredFields(String... fields) |
Explicitly specify the fields that will be returned.
|
GetRequestBuilder |
GetRequestBuilder.setType(String type) |
Sets the type of the document to fetch.
|
GetRequestBuilder |
GetRequestBuilder.setVersion(long version) |
Sets the version, which will cause the get operation to only be performed if a matching
version exists and no changes happened on the doc since then.
|
GetRequestBuilder |
GetRequestBuilder.setVersionType(VersionType versionType) |
Sets the versioning type.
|