Package org.elasticsearch.index.rankeval
Class RankEvalRequest
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportRequest
org.elasticsearch.action.ActionRequest
org.elasticsearch.index.rankeval.RankEvalRequest
- All Implemented Interfaces:
IndicesRequest,IndicesRequest.Replaceable,Writeable,org.elasticsearch.core.RefCounted,TaskAwareRequest
Request to perform a search ranking evaluation.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportRequest
TransportRequest.EmptyNested classes/interfaces inherited from interface org.elasticsearch.action.IndicesRequest
IndicesRequest.ReplaceableNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V extends Object>, Writeable.Writer<V extends Object> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the specification of the ranking evaluation.inthashCode()String[]indices()Sets the indices the search will be executed on.voidindicesOptions(IndicesOptions indicesOptions) The type of search to execute.voidsearchType(SearchType searchType) The search type to execute, defaults toSearchType.DEFAULT.voidsetRankEvalSpec(RankEvalSpec task) Set the specification of the ranking evaluation.validate()voidwriteTo(StreamOutput out) Methods inherited from class org.elasticsearch.action.ActionRequest
getShouldStoreResultMethods inherited from class org.elasticsearch.transport.TransportRequest
getParentTask, setParentTask, toStringMethods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, remoteAddress, remoteAddress, tryIncRefMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.action.IndicesRequest
includeDataStreamsMethods inherited from interface org.elasticsearch.action.IndicesRequest.Replaceable
allowsRemoteIndicesMethods inherited from interface org.elasticsearch.tasks.TaskAwareRequest
createTask, getDescription, setParentTask
-
Constructor Details
-
RankEvalRequest
-
-
Method Details
-
validate
- Specified by:
validatein classActionRequest
-
getRankEvalSpec
Returns the specification of the ranking evaluation. -
setRankEvalSpec
Set the specification of the ranking evaluation. -
indices
Sets the indices the search will be executed on.- Specified by:
indicesin interfaceIndicesRequest.Replaceable
-
indices
- Specified by:
indicesin interfaceIndicesRequest- Returns:
- the indices for this request
-
indicesOptions
- Specified by:
indicesOptionsin interfaceIndicesRequest
-
indicesOptions
-
searchType
The search type to execute, defaults toSearchType.DEFAULT. -
searchType
The type of search to execute. -
writeTo
- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classActionRequest- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-