lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sh...@apache.org
Subject svn commit: r1144780 - /lucene/dev/branches/branch_3x/lucene/contrib/facet/src/test/org/apache/lucene/facet/search/CategoryListIteratorTest.java
Date Sun, 10 Jul 2011 05:46:57 GMT
Author: shaie
Date: Sun Jul 10 05:46:57 2011
New Revision: 1144780

URL: http://svn.apache.org/viewvc?rev=1144780&view=rev
Log:
enforce in-order merges

Modified:
    lucene/dev/branches/branch_3x/lucene/contrib/facet/src/test/org/apache/lucene/facet/search/CategoryListIteratorTest.java

Modified: lucene/dev/branches/branch_3x/lucene/contrib/facet/src/test/org/apache/lucene/facet/search/CategoryListIteratorTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/lucene/contrib/facet/src/test/org/apache/lucene/facet/search/CategoryListIteratorTest.java?rev=1144780&r1=1144779&r2=1144780&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/lucene/contrib/facet/src/test/org/apache/lucene/facet/search/CategoryListIteratorTest.java
(original)
+++ lucene/dev/branches/branch_3x/lucene/contrib/facet/src/test/org/apache/lucene/facet/search/CategoryListIteratorTest.java
Sun Jul 10 05:46:57 2011
@@ -100,7 +100,7 @@ public class CategoryListIteratorTest ex
     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();



Mime
View raw message