also test getDocCount on schema ghost

This commit is contained in:
Mike McCandless 2016-03-02 18:58:21 -05:00
parent e4964efdf4
commit 7dffaa30fa
1 changed files with 1 additions and 0 deletions

View File

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