java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportRequest
org.elasticsearch.action.ActionRequest
org.elasticsearch.action.support.single.shard.SingleShardRequest<MultiGetShardRequest>
org.elasticsearch.action.get.MultiGetShardRequest
- All Implemented Interfaces:
- IndicesRequest,- Writeable,- RefCounted,- TaskAwareRequest
- 
Nested Class SummaryNested classes/interfaces inherited from class org.elasticsearch.transport.TransportRequestTransportRequest.EmptyNested classes/interfaces inherited from interface org.elasticsearch.action.IndicesRequestIndicesRequest.ReplaceableNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.WriteableWriteable.Reader<V>, Writeable.Writer<V>
- 
Field SummaryFields inherited from class org.elasticsearch.action.support.single.shard.SingleShardRequestindex, INDICES_OPTIONS
- 
Method SummaryModifier and TypeMethodDescriptionString[]indices()Returns the array of indices that the action relates tobooleanShould this request forcesynthetic source? Use this to test if the mapping supports synthetic _source and to get a sense of the worst case performance.preference(String preference) Sets the preference to execute the search.booleanrealtime()realtime(boolean realtime) booleanrefresh()refresh(boolean refresh) intshardId()validate()voidwriteTo(StreamOutput out) Write this into the StreamOutput.Methods inherited from class org.elasticsearch.action.support.single.shard.SingleShardRequestindex, index, indicesOptions, validateNonNullIndexMethods inherited from class org.elasticsearch.action.ActionRequestgetShouldStoreResultMethods inherited from class org.elasticsearch.transport.TransportRequestgetParentTask, setParentTask, toStringMethods inherited from class org.elasticsearch.transport.TransportMessagedecRef, hasReferences, incRef, remoteAddress, remoteAddress, tryIncRefMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.action.IndicesRequestincludeDataStreamsMethods inherited from interface org.elasticsearch.tasks.TaskAwareRequestcreateTask, getDescription, setParentTask
- 
Method Details- 
writeToDescription copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
- writeToin interface- Writeable
- Overrides:
- writeToin class- SingleShardRequest<MultiGetShardRequest>
- Throws:
- IOException
 
- 
validate- Specified by:
- validatein class- ActionRequest
 
- 
shardIdpublic int shardId()
- 
preferenceSets the preference to execute the search. Defaults to randomize across shards. Can be set to_localto prefer local shards or a custom value, which guarantees that the same order will be used across different requests.
- 
preference
- 
realtimepublic boolean realtime()
- 
realtime
- 
refreshpublic boolean refresh()
- 
refresh
- 
isForceSyntheticSourcepublic boolean isForceSyntheticSource()Should this request forcesynthetic source? Use this to test if the mapping supports synthetic _source and to get a sense of the worst case performance. Fetches with this enabled will be slower the enabling synthetic source natively in the index.
- 
indicesDescription copied from interface:IndicesRequestReturns the array of indices that the action relates to- Specified by:
- indicesin interface- IndicesRequest
- Overrides:
- indicesin class- SingleShardRequest<MultiGetShardRequest>
 
 
-