org.elasticsearch.action.IndicesRequest
, org.elasticsearch.action.IndicesRequest.Replaceable
, org.elasticsearch.common.io.stream.Streamable
, org.elasticsearch.common.io.stream.Writeable
, org.elasticsearch.tasks.TaskAwareRequest
public 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, wait
createTask, getDescription, setParentTask
public RankEvalRequest(RankEvalSpec rankingEvaluationSpec, java.lang.String[] indices)
public org.elasticsearch.action.ActionRequestValidationException validate()
validate
in class org.elasticsearch.action.ActionRequest
public RankEvalSpec getRankEvalSpec()
public void setRankEvalSpec(RankEvalSpec task)
public RankEvalRequest indices(java.lang.String... indices)
indices
in interface org.elasticsearch.action.IndicesRequest.Replaceable
public java.lang.String[] indices()
indices
in interface org.elasticsearch.action.IndicesRequest
public org.elasticsearch.action.support.IndicesOptions indicesOptions()
indicesOptions
in interface org.elasticsearch.action.IndicesRequest
public 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.Streamable
readFrom
in class org.elasticsearch.action.ActionRequest
java.io.IOException
public void writeTo(org.elasticsearch.common.io.stream.StreamOutput out) throws java.io.IOException
writeTo
in interface org.elasticsearch.common.io.stream.Streamable
writeTo
in interface org.elasticsearch.common.io.stream.Writeable
writeTo
in class org.elasticsearch.action.ActionRequest
java.io.IOException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object