mirror of https://github.com/apache/lucene.git
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:
parent
b669ea6770
commit
b23bafce93
|
@ -100,7 +100,7 @@ public class CategoryListIteratorTest extends LuceneTestCase {
|
||||||
DataTokenStream dts = new DataTokenStream("1",new SortingIntEncoder(
|
DataTokenStream dts = new DataTokenStream("1",new SortingIntEncoder(
|
||||||
new UniqueValuesIntEncoder(new DGapIntEncoder(new VInt8IntEncoder()))));
|
new UniqueValuesIntEncoder(new DGapIntEncoder(new VInt8IntEncoder()))));
|
||||||
RandomIndexWriter writer = new RandomIndexWriter(random, dir, newIndexWriterConfig(TEST_VERSION_CURRENT,
|
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++) {
|
for (int i = 0; i < data.length; i++) {
|
||||||
dts.setIdx(i);
|
dts.setIdx(i);
|
||||||
Document doc = new Document();
|
Document doc = new Document();
|
||||||
|
|
Loading…
Reference in New Issue