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:
org.elasticsearch.action.IndicesRequest,org.elasticsearch.action.IndicesRequest.Replaceable,org.elasticsearch.common.io.stream.Writeable,org.elasticsearch.core.RefCounted,org.elasticsearch.tasks.TaskAwareRequest
public class RankEvalRequest
extends org.elasticsearch.action.ActionRequest
implements org.elasticsearch.action.IndicesRequest.Replaceable
Request to perform a search ranking evaluation.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportRequest
org.elasticsearch.transport.TransportRequest.EmptyNested classes/interfaces inherited from interface org.elasticsearch.action.IndicesRequest
org.elasticsearch.action.IndicesRequest.Replaceable -
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.org.elasticsearch.action.support.IndicesOptionsvoidindicesOptions(org.elasticsearch.action.support.IndicesOptions indicesOptions) org.elasticsearch.action.search.SearchTypeThe type of search to execute.voidsearchType(org.elasticsearch.action.search.SearchType searchType) The search type to execute, defaults toSearchType.DEFAULT.voidsetRankEvalSpec(RankEvalSpec task) Set the specification of the ranking evaluation.org.elasticsearch.action.ActionRequestValidationExceptionvalidate()voidwriteTo(org.elasticsearch.common.io.stream.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
public org.elasticsearch.action.ActionRequestValidationException validate()- Specified by:
validatein classorg.elasticsearch.action.ActionRequest
-
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 interfaceorg.elasticsearch.action.IndicesRequest.Replaceable
-
indices
- Specified by:
indicesin interfaceorg.elasticsearch.action.IndicesRequest- Returns:
- the indices for this request
-
indicesOptions
public org.elasticsearch.action.support.IndicesOptions indicesOptions()- Specified by:
indicesOptionsin interfaceorg.elasticsearch.action.IndicesRequest
-
indicesOptions
public void indicesOptions(org.elasticsearch.action.support.IndicesOptions indicesOptions) -
searchType
public void searchType(org.elasticsearch.action.search.SearchType searchType) The search type to execute, defaults toSearchType.DEFAULT. -
searchType
public org.elasticsearch.action.search.SearchType searchType()The type of search to execute. -
writeTo
- Specified by:
writeToin interfaceorg.elasticsearch.common.io.stream.Writeable- Overrides:
writeToin classorg.elasticsearch.action.ActionRequest- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-