enforce in-order merges

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1144781 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shai Erera 2011-07-10 05:47:55 +00:00
parent b669ea6770
commit b23bafce93
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ public class CategoryListIteratorTest extends LuceneTestCase {
DataTokenStream dts = new DataTokenStream("1",new SortingIntEncoder(
new UniqueValuesIntEncoder(new DGapIntEncoder(new VInt8IntEncoder()))));
RandomIndexWriter writer = new RandomIndexWriter(random, dir, newIndexWriterConfig(TEST_VERSION_CURRENT,
new MockAnalyzer(random, MockTokenizer.KEYWORD, false)));
new MockAnalyzer(random, MockTokenizer.KEYWORD, false)).setMergePolicy(newLogMergePolicy()));
for (int i = 0; i < data.length; i++) {
dts.setIdx(i);
Document doc = new Document();