mirror of https://github.com/apache/lucene.git
fix test bug: this test expects single segment index
This commit is contained in:
parent
f706c9de82
commit
c8b06b68e6
|
@ -435,6 +435,7 @@ public class TestPayloadSpans extends LuceneTestCase {
|
|||
writer.addDocument(doc);
|
||||
}
|
||||
|
||||
writer.forceMerge(1);
|
||||
closeIndexReader = writer.getReader();
|
||||
writer.close();
|
||||
|
||||
|
|
Loading…
Reference in New Issue