From 33bbc4798b79a8e14fcdf03503a15c170acbde21 Mon Sep 17 00:00:00 2001 From: Martijn van Groningen Date: Mon, 23 Sep 2019 09:36:03 +0200 Subject: [PATCH] fixed compile errors after merging --- .../test/java/org/elasticsearch/ingest/IngestServiceTests.java | 1 + .../xpack/enrich/action/EnrichShardMultiSearchAction.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/server/src/test/java/org/elasticsearch/ingest/IngestServiceTests.java b/server/src/test/java/org/elasticsearch/ingest/IngestServiceTests.java index f82ca25241f..555d71c2922 100644 --- a/server/src/test/java/org/elasticsearch/ingest/IngestServiceTests.java +++ b/server/src/test/java/org/elasticsearch/ingest/IngestServiceTests.java @@ -72,6 +72,7 @@ import java.util.Objects; import java.util.concurrent.ExecutorService; import java.util.concurrent.atomic.AtomicInteger; import java.util.function.BiConsumer; +import java.util.function.Consumer; import java.util.function.IntConsumer; import java.util.function.LongSupplier; import java.util.stream.Collectors; diff --git a/x-pack/plugin/enrich/src/main/java/org/elasticsearch/xpack/enrich/action/EnrichShardMultiSearchAction.java b/x-pack/plugin/enrich/src/main/java/org/elasticsearch/xpack/enrich/action/EnrichShardMultiSearchAction.java index 36485b6bc05..0faddddf9da 100644 --- a/x-pack/plugin/enrich/src/main/java/org/elasticsearch/xpack/enrich/action/EnrichShardMultiSearchAction.java +++ b/x-pack/plugin/enrich/src/main/java/org/elasticsearch/xpack/enrich/action/EnrichShardMultiSearchAction.java @@ -209,7 +209,7 @@ public class EnrichShardMultiSearchAction extends ActionType {throw new UnsupportedOperationException();}, null); + searcher, () -> {throw new UnsupportedOperationException();}, null); final MapperService mapperService = context.getMapperService(); final Text typeText = mapperService.documentMapper().typeText();