fixed compile errors after merging
This commit is contained in:
parent
0cfddca61d
commit
33bbc4798b
|
@ -72,6 +72,7 @@ import java.util.Objects;
|
||||||
import java.util.concurrent.ExecutorService;
|
import java.util.concurrent.ExecutorService;
|
||||||
import java.util.concurrent.atomic.AtomicInteger;
|
import java.util.concurrent.atomic.AtomicInteger;
|
||||||
import java.util.function.BiConsumer;
|
import java.util.function.BiConsumer;
|
||||||
|
import java.util.function.Consumer;
|
||||||
import java.util.function.IntConsumer;
|
import java.util.function.IntConsumer;
|
||||||
import java.util.function.LongSupplier;
|
import java.util.function.LongSupplier;
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
|
|
|
@ -209,7 +209,7 @@ public class EnrichShardMultiSearchAction extends ActionType<MultiSearchResponse
|
||||||
try (Engine.Searcher searcher = indexShard.acquireSearcher("enrich_msearch")) {
|
try (Engine.Searcher searcher = indexShard.acquireSearcher("enrich_msearch")) {
|
||||||
final FieldsVisitor visitor = new FieldsVisitor(true);
|
final FieldsVisitor visitor = new FieldsVisitor(true);
|
||||||
final QueryShardContext context = indexService.newQueryShardContext(shardId.id(),
|
final QueryShardContext context = indexService.newQueryShardContext(shardId.id(),
|
||||||
searcher.getIndexReader(), () -> {throw new UnsupportedOperationException();}, null);
|
searcher, () -> {throw new UnsupportedOperationException();}, null);
|
||||||
final MapperService mapperService = context.getMapperService();
|
final MapperService mapperService = context.getMapperService();
|
||||||
final Text typeText = mapperService.documentMapper().typeText();
|
final Text typeText = mapperService.documentMapper().typeText();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue