From 7dffaa30faa3995db120a31abf4828183d2b64b2 Mon Sep 17 00:00:00 2001 From: Mike McCandless Date: Wed, 2 Mar 2016 18:58:21 -0500 Subject: [PATCH] also test getDocCount on schema ghost --- .../core/src/test/org/apache/lucene/index/TestPointValues.java | 1 + 1 file changed, 1 insertion(+) diff --git a/lucene/core/src/test/org/apache/lucene/index/TestPointValues.java b/lucene/core/src/test/org/apache/lucene/index/TestPointValues.java index 506d58cedbb..9aafb3f95ee 100644 --- a/lucene/core/src/test/org/apache/lucene/index/TestPointValues.java +++ b/lucene/core/src/test/org/apache/lucene/index/TestPointValues.java @@ -558,6 +558,7 @@ public class TestPointValues extends LuceneTestCase { w.forceMerge(1); DirectoryReader r = w.getReader(); assertEquals(0, r.leaves().get(0).reader().getPointValues().size("int")); + assertEquals(0, r.leaves().get(0).reader().getPointValues().getDocCount("int")); w.close(); r.close(); dir.close();