fixed compile errors after merging

This commit is contained in:
Martijn van Groningen 2019-09-23 09:36:03 +02:00
parent 0cfddca61d
commit 33bbc4798b
No known key found for this signature in database
GPG Key ID: AB236F4FCF2AF12A
2 changed files with 2 additions and 1 deletions

View File

@ -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;

View File

@ -209,7 +209,7 @@ public class EnrichShardMultiSearchAction extends ActionType<MultiSearchResponse
try (Engine.Searcher searcher = indexShard.acquireSearcher("enrich_msearch")) {
final FieldsVisitor visitor = new FieldsVisitor(true);
final QueryShardContext context = indexService.newQueryShardContext(shardId.id(),
searcher.getIndexReader(), () -> {throw new UnsupportedOperationException();}, null);
searcher, () -> {throw new UnsupportedOperationException();}, null);
final MapperService mapperService = context.getMapperService();
final Text typeText = mapperService.documentMapper().typeText();