Class 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.common.component.AbstractComponent

        deprecationLogger, logger, settings
      • Fields inherited from class org.elasticsearch.action.support.TransportAction

        actionName, indexNameExpressionResolver, taskManager, threadPool
    • Constructor Summary

      Constructors 
      Constructor Description
      TransportRankEvalAction​(org.elasticsearch.common.settings.Settings settings, org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.action.support.ActionFilters actionFilters, org.elasticsearch.cluster.metadata.IndexNameExpressionResolver indexNameExpressionResolver, org.elasticsearch.client.Client client, org.elasticsearch.transport.TransportService transportService, org.elasticsearch.script.ScriptService scriptService, org.elasticsearch.common.xcontent.NamedXContentRegistry namedXContentRegistry)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doExecute​(RankEvalRequest request, org.elasticsearch.action.ActionListener<RankEvalResponse> listener)  
      • Methods inherited from class org.elasticsearch.common.component.AbstractComponent

        logDeprecatedSetting, logRemovedSetting, nodeName
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from class org.elasticsearch.action.support.TransportAction

        doExecute, execute, execute, execute, execute
    • Constructor Detail

      • TransportRankEvalAction

        @Inject
        public TransportRankEvalAction​(org.elasticsearch.common.settings.Settings settings,
                                       org.elasticsearch.threadpool.ThreadPool threadPool,
                                       org.elasticsearch.action.support.ActionFilters actionFilters,
                                       org.elasticsearch.cluster.metadata.IndexNameExpressionResolver indexNameExpressionResolver,
                                       org.elasticsearch.client.Client client,
                                       org.elasticsearch.transport.TransportService transportService,
                                       org.elasticsearch.script.ScriptService scriptService,
                                       org.elasticsearch.common.xcontent.NamedXContentRegistry namedXContentRegistry)