diff --git a/src/main/java/org/elasticsearch/action/get/TransportShardMultiGetAction.java b/src/main/java/org/elasticsearch/action/get/TransportShardMultiGetAction.java index 29921f1ac9b..1121eb019e1 100644 --- a/src/main/java/org/elasticsearch/action/get/TransportShardMultiGetAction.java +++ b/src/main/java/org/elasticsearch/action/get/TransportShardMultiGetAction.java @@ -35,7 +35,6 @@ import org.elasticsearch.index.get.GetResult; import org.elasticsearch.index.service.IndexService; import org.elasticsearch.index.shard.service.IndexShard; import org.elasticsearch.indices.IndicesService; -import org.elasticsearch.script.ScriptService; import org.elasticsearch.threadpool.ThreadPool; import org.elasticsearch.transport.TransportService; @@ -43,16 +42,13 @@ public class TransportShardMultiGetAction extends TransportShardSingleOperationA private final IndicesService indicesService; - private final ScriptService scriptService; - private final boolean realtime; @Inject public TransportShardMultiGetAction(Settings settings, ClusterService clusterService, TransportService transportService, - IndicesService indicesService, ScriptService scriptService, ThreadPool threadPool) { + IndicesService indicesService, ThreadPool threadPool) { super(settings, threadPool, clusterService, transportService); this.indicesService = indicesService; - this.scriptService = scriptService; this.realtime = settings.getAsBoolean("action.get.realtime", true); }