mirror of https://github.com/apache/lucene.git
parent
8d835f1231
commit
0941255ff2
|
@ -666,7 +666,7 @@ public class TestBackwardsCompatibility extends LuceneTestCase {
|
||||||
// true if this is a 4.9+ index
|
// true if this is a 4.9+ index
|
||||||
final boolean is49Index = MultiFields.getMergedFieldInfos(reader).fieldInfo("dvSortedNumeric") != null;
|
final boolean is49Index = MultiFields.getMergedFieldInfos(reader).fieldInfo("dvSortedNumeric") != null;
|
||||||
|
|
||||||
assert is40Index; // NOTE: currently we can only do this on trunk!
|
assert is40Index;
|
||||||
|
|
||||||
final Bits liveDocs = MultiFields.getLiveDocs(reader);
|
final Bits liveDocs = MultiFields.getLiveDocs(reader);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue