mirror of https://github.com/apache/lucene.git
don't use MockRandomMergePolicy for this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1069757 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7972ac83ad
commit
896e9c7d64
|
@ -286,7 +286,7 @@ public class TestIndexWriter extends LuceneTestCase {
|
|||
// Import to use same term index interval else a
|
||||
// smaller one here could increase the disk usage and
|
||||
// cause a false failure:
|
||||
writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer()).setOpenMode(OpenMode.APPEND).setTermIndexInterval(termIndexInterval));
|
||||
writer = new IndexWriter(dir, newIndexWriterConfig( TEST_VERSION_CURRENT, new MockAnalyzer()).setOpenMode(OpenMode.APPEND).setTermIndexInterval(termIndexInterval).setMergePolicy(newLogMergePolicy()));
|
||||
writer.setInfoStream(VERBOSE ? System.out : null);
|
||||
writer.optimize();
|
||||
writer.close();
|
||||
|
|
Loading…
Reference in New Issue