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:
Michael McCandless 2011-02-11 11:32:29 +00:00
parent 7972ac83ad
commit 896e9c7d64
1 changed files with 1 additions and 1 deletions

View File

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