fix test bug: this test expects single segment index

This commit is contained in:
Mike McCandless 2016-03-14 10:42:03 -04:00
parent f706c9de82
commit c8b06b68e6
1 changed files with 1 additions and 0 deletions

View File

@ -435,6 +435,7 @@ public class TestPayloadSpans extends LuceneTestCase {
writer.addDocument(doc);
}
writer.forceMerge(1);
closeIndexReader = writer.getReader();
writer.close();