Package org.elasticsearch.index.rankeval
Class TransportRankEvalAction
- java.lang.Object
-
- org.elasticsearch.common.component.AbstractComponent
-
- org.elasticsearch.action.support.TransportAction<Request,Response>
-
- org.elasticsearch.action.support.HandledTransportAction<RankEvalRequest,RankEvalResponse>
-
- org.elasticsearch.index.rankeval.TransportRankEvalAction
-
public class TransportRankEvalAction extends HandledTransportAction<RankEvalRequest,RankEvalResponse>
Instances of this class execute a collection of search intents (read: user supplied query parameters) against a set of possible search requests (read: search specifications, expressed as query/search request templates) and compares the result against a set of annotated documents per search intent. If any documents are returned that haven't been annotated the document id of those is returned per search intent. The resulting search quality is computed in terms of precision at n and returned for each search specification for the full set of search intents as averaged precision at n.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.elasticsearch.action.support.HandledTransportAction
HandledTransportAction.ChannelActionListener<Response extends TransportResponse,Request extends TransportRequest>
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, indexNameExpressionResolver, taskManager, threadPool
-
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
deprecationLogger, logger, settings
-
-
Constructor Summary
Constructors Constructor Description TransportRankEvalAction(Settings settings, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, Client client, TransportService transportService, ScriptService scriptService, NamedXContentRegistry namedXContentRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoExecute(RankEvalRequest request, ActionListener<RankEvalResponse> listener)-
Methods inherited from class org.elasticsearch.action.support.TransportAction
doExecute, execute, execute, execute, execute
-
Methods inherited from class org.elasticsearch.common.component.AbstractComponent
nodeName
-
-
-
-
Constructor Detail
-
TransportRankEvalAction
@Inject public TransportRankEvalAction(Settings settings, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, Client client, TransportService transportService, ScriptService scriptService, NamedXContentRegistry namedXContentRegistry)
-
-
Method Detail
-
doExecute
protected void doExecute(RankEvalRequest request, ActionListener<RankEvalResponse> listener)
- Specified by:
doExecutein classTransportAction<RankEvalRequest,RankEvalResponse>
-
-