@Inject public TransportMultiSearchScriptTemplateAction(final Settings settings, final ThreadPool threadPool, final TransportService transportService, final ActionFilters actionFilters, final IndexNameExpressionResolver resolver, final ScriptService scriptService, final NamedXContentRegistry xContentRegistry, final TransportMultiSearchAction multiSearchAction) { super(settings, MultiSearchScriptTemplateAction.NAME, threadPool, transportService, actionFilters, resolver, MultiSearchScriptTemplateRequest::new); this.scriptService = scriptService; this.xContentRegistry = xContentRegistry; this.multiSearchAction = multiSearchAction; }