diff options
Diffstat (limited to 'vespaclient-container-plugin/src/main/java/com/yahoo/storage/searcher/GetSearcher.java')
-rwxr-xr-x | vespaclient-container-plugin/src/main/java/com/yahoo/storage/searcher/GetSearcher.java | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/vespaclient-container-plugin/src/main/java/com/yahoo/storage/searcher/GetSearcher.java b/vespaclient-container-plugin/src/main/java/com/yahoo/storage/searcher/GetSearcher.java index 1660ef19e7f..3a5bda776b1 100755 --- a/vespaclient-container-plugin/src/main/java/com/yahoo/storage/searcher/GetSearcher.java +++ b/vespaclient-container-plugin/src/main/java/com/yahoo/storage/searcher/GetSearcher.java @@ -6,7 +6,7 @@ import com.yahoo.cloud.config.ClusterListConfig; import com.yahoo.cloud.config.SlobroksConfig; import com.yahoo.container.jdisc.HttpRequest; import com.yahoo.document.config.DocumentmanagerConfig; -import com.yahoo.feedhandler.NullFeedMetric; +import com.yahoo.jdisc.Metric; import com.yahoo.processing.request.CompoundName; import com.yahoo.vespa.config.content.LoadTypeConfig; import com.yahoo.document.DataType; @@ -199,9 +199,14 @@ public class GetSearcher extends Searcher { LoadTypeConfig loadTypeConfig, DocumentmanagerConfig documentmanagerConfig, SlobroksConfig slobroksConfig, - ClusterListConfig clusterListConfig) throws Exception { - this(FeedContext.getInstance(feederConfig, loadTypeConfig, documentmanagerConfig, slobroksConfig, - clusterListConfig, new NullFeedMetric()), (long)(feederConfig.timeout() * 1000)); + ClusterListConfig clusterListConfig, + Metric metric) + throws Exception + { + this(FeedContext.getInstance(feederConfig, loadTypeConfig, + documentmanagerConfig, slobroksConfig, + clusterListConfig, metric), + (long)(feederConfig.timeout() * 1000)); } GetSearcher(FeedContext context) throws Exception { |