Package org.opensearch.index.rankeval
Class TransportRankEvalAction
- java.lang.Object
-
- org.opensearch.action.support.TransportAction<Request,Response>
-
- org.opensearch.action.support.HandledTransportAction<RankEvalRequest,RankEvalResponse>
-
- org.opensearch.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.
-
-
Field Summary
-
Fields inherited from class org.opensearch.action.support.TransportAction
actionName, logger, taskManager
-
-
Constructor Summary
Constructors Constructor Description TransportRankEvalAction(ActionFilters actionFilters, Client client, TransportService transportService, ScriptService scriptService, NamedXContentRegistry namedXContentRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoExecute(Task task, RankEvalRequest request, ActionListener<RankEvalResponse> listener)-
Methods inherited from class org.opensearch.action.support.TransportAction
execute, execute, execute
-
-
-
-
Constructor Detail
-
TransportRankEvalAction
@Inject public TransportRankEvalAction(ActionFilters actionFilters, Client client, TransportService transportService, ScriptService scriptService, NamedXContentRegistry namedXContentRegistry)
-
-
Method Detail
-
doExecute
protected void doExecute(Task task, RankEvalRequest request, ActionListener<RankEvalResponse> listener)
- Specified by:
doExecutein classTransportAction<RankEvalRequest,RankEvalResponse>
-
-