Class TransportRankEvalAction

java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,​Response>
org.elasticsearch.action.support.HandledTransportAction<RankEvalRequest,​RankEvalResponse>
org.elasticsearch.index.rankeval.TransportRankEvalAction

public class TransportRankEvalAction
extends org.elasticsearch.action.support.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.elasticsearch.action.support.TransportAction

    actionName, localConnection, logger, taskManager
  • Constructor Summary

    Constructors
    Constructor Description
    TransportRankEvalAction​(org.elasticsearch.action.support.ActionFilters actionFilters, org.elasticsearch.client.Client client, org.elasticsearch.transport.TransportService transportService, org.elasticsearch.script.ScriptService scriptService, org.elasticsearch.common.xcontent.NamedXContentRegistry namedXContentRegistry)  
  • Method Summary

    Modifier and Type Method Description
    protected void doExecute​(org.elasticsearch.tasks.Task task, RankEvalRequest request, org.elasticsearch.action.ActionListener<RankEvalResponse> listener)  

    Methods inherited from class org.elasticsearch.action.support.TransportAction

    execute, execute, execute

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TransportRankEvalAction

      @Inject public TransportRankEvalAction​(org.elasticsearch.action.support.ActionFilters actionFilters, org.elasticsearch.client.Client client, org.elasticsearch.transport.TransportService transportService, org.elasticsearch.script.ScriptService scriptService, org.elasticsearch.common.xcontent.NamedXContentRegistry namedXContentRegistry)
  • Method Details