public class DfsOnlyRequest extends BroadcastRequest<DfsOnlyRequest>
TransportRequest.EmptyIndicesRequest.Replaceableindicesheaders| Constructor and Description |
|---|
DfsOnlyRequest() |
DfsOnlyRequest(org.apache.lucene.index.Fields termVectorsFields,
String[] indices,
String[] types,
Set<String> selectedFields) |
| Modifier and Type | Method and Description |
|---|---|
SearchRequest |
getSearchRequest() |
String |
preference() |
void |
readFrom(StreamInput in) |
String |
routing() |
String |
toString() |
String[] |
types() |
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out) |
indices, indices, indicesOptions, indicesOptionscreateTask, getDescriptionremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic DfsOnlyRequest()
public DfsOnlyRequest(org.apache.lucene.index.Fields termVectorsFields,
String[] indices,
String[] types,
Set<String> selectedFields)
throws IOException
IOExceptionpublic SearchRequest getSearchRequest()
public ActionRequestValidationException validate()
validate in class BroadcastRequest<DfsOnlyRequest>public void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class BroadcastRequest<DfsOnlyRequest>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class BroadcastRequest<DfsOnlyRequest>IOExceptionpublic String[] types()
public String routing()
public String preference()
Copyright © 2009–2017. All rights reserved.