org.elasticsearch.action.IndicesRequest, org.elasticsearch.action.IndicesRequest.Replaceable, org.elasticsearch.common.io.stream.Streamable, org.elasticsearch.common.io.stream.Writeable, org.elasticsearch.tasks.TaskAwareRequestpublic class RankEvalRequest
extends org.elasticsearch.action.ActionRequest
implements org.elasticsearch.action.IndicesRequest.Replaceable
org.elasticsearch.action.IndicesRequest.Replaceable| Constructor | Description |
|---|---|
RankEvalRequest(RankEvalSpec rankingEvaluationSpec,
java.lang.String[] indices) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object o) |
|
RankEvalSpec |
getRankEvalSpec() |
Returns the specification of the ranking evaluation.
|
int |
hashCode() |
|
java.lang.String[] |
indices() |
|
RankEvalRequest |
indices(java.lang.String... indices) |
Sets the indices the search will be executed on.
|
org.elasticsearch.action.support.IndicesOptions |
indicesOptions() |
|
void |
indicesOptions(org.elasticsearch.action.support.IndicesOptions indicesOptions) |
|
void |
readFrom(org.elasticsearch.common.io.stream.StreamInput in) |
|
void |
setRankEvalSpec(RankEvalSpec task) |
Set the the specification of the ranking evaluation.
|
org.elasticsearch.action.ActionRequestValidationException |
validate() |
|
void |
writeTo(org.elasticsearch.common.io.stream.StreamOutput out) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcreateTask, getDescription, setParentTaskpublic RankEvalRequest(RankEvalSpec rankingEvaluationSpec, java.lang.String[] indices)
public org.elasticsearch.action.ActionRequestValidationException validate()
validate in class org.elasticsearch.action.ActionRequestpublic RankEvalSpec getRankEvalSpec()
public void setRankEvalSpec(RankEvalSpec task)
public RankEvalRequest indices(java.lang.String... indices)
indices in interface org.elasticsearch.action.IndicesRequest.Replaceablepublic java.lang.String[] indices()
indices in interface org.elasticsearch.action.IndicesRequestpublic org.elasticsearch.action.support.IndicesOptions indicesOptions()
indicesOptions in interface org.elasticsearch.action.IndicesRequestpublic void indicesOptions(org.elasticsearch.action.support.IndicesOptions indicesOptions)
public void readFrom(org.elasticsearch.common.io.stream.StreamInput in)
throws java.io.IOException
readFrom in interface org.elasticsearch.common.io.stream.StreamablereadFrom in class org.elasticsearch.action.ActionRequestjava.io.IOExceptionpublic void writeTo(org.elasticsearch.common.io.stream.StreamOutput out)
throws java.io.IOException
writeTo in interface org.elasticsearch.common.io.stream.StreamablewriteTo in interface org.elasticsearch.common.io.stream.WriteablewriteTo in class org.elasticsearch.action.ActionRequestjava.io.IOExceptionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object