From b23bafce9308ffdf6ab59d80610a124da8ae7d06 Mon Sep 17 00:00:00 2001 From: Shai Erera Date: Sun, 10 Jul 2011 05:47:55 +0000 Subject: [PATCH] enforce in-order merges git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1144781 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/lucene/facet/search/CategoryListIteratorTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/facet/src/test/org/apache/lucene/facet/search/CategoryListIteratorTest.java b/modules/facet/src/test/org/apache/lucene/facet/search/CategoryListIteratorTest.java index 2b5d3269d17..1358a701f4d 100644 --- a/modules/facet/src/test/org/apache/lucene/facet/search/CategoryListIteratorTest.java +++ b/modules/facet/src/test/org/apache/lucene/facet/search/CategoryListIteratorTest.java @@ -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();