mirror of https://github.com/apache/lucene.git
also test getDocCount on schema ghost
This commit is contained in:
parent
e4964efdf4
commit
7dffaa30fa
|
@ -558,6 +558,7 @@ public class TestPointValues extends LuceneTestCase {
|
||||||
w.forceMerge(1);
|
w.forceMerge(1);
|
||||||
DirectoryReader r = w.getReader();
|
DirectoryReader r = w.getReader();
|
||||||
assertEquals(0, r.leaves().get(0).reader().getPointValues().size("int"));
|
assertEquals(0, r.leaves().get(0).reader().getPointValues().size("int"));
|
||||||
|
assertEquals(0, r.leaves().get(0).reader().getPointValues().getDocCount("int"));
|
||||||
w.close();
|
w.close();
|
||||||
r.close();
|
r.close();
|
||||||
dir.close();
|
dir.close();
|
||||||
|
|
Loading…
Reference in New Issue