- <init>
Constructs a new get request against the specified index with the type and id.
- id
Sets the id of the document to fetch.
- type
Sets the type of the document to fetch.
- index
- routing
Controls the shard routing of the request. Using this value to hash the shard
and not the id.
- preference
Sets the preference to execute the search. Defaults to randomize across shards.
Can be set to _local
- realtime
- refresh
Should a refresh be executed before this get operation causing the operation to
return the latest va
- fetchSourceContext
Allows setting the FetchSourceContext for this request, controlling if and how
_source should be ret
- version
- parent
Sets the parent id of this document.
- storedFields
Explicitly specify the stored fields that will be returned. By default, the
_sourcefield will be ret