Fix compilation with Lucene 6.2.
Original commit: elastic/x-pack-elasticsearch@a34002a11c
This commit is contained in:
parent
cdb85d8317
commit
4e25ffad39
|
@ -522,6 +522,11 @@ public class SecurityIndexSearcherWrapperUnitTests extends ESTestCase {
|
|||
assertTrue(seenLeaves.add(context.reader().getCoreCacheHelper().getKey()));
|
||||
return weight.bulkScorer(context);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isCacheable(LeafReaderContext ctx) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
static class CreateScorerOnceQuery extends Query {
|
||||
|
|
Loading…
Reference in New Issue