lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpou...@apache.org
Subject svn commit: r1691916 - in /lucene/dev/branches/branch_5x: ./ lucene/ lucene/facet/ lucene/facet/src/test/org/apache/lucene/facet/TestRandomSamplingFacetsCollector.java
Date Mon, 20 Jul 2015 12:05:07 GMT
Author: jpountz
Date: Mon Jul 20 12:05:06 2015
New Revision: 1691916

URL: http://svn.apache.org/r1691916
Log:
Fix AIOOBE in TestRandomSamplingFacetsCollector.

Modified:
    lucene/dev/branches/branch_5x/   (props changed)
    lucene/dev/branches/branch_5x/lucene/   (props changed)
    lucene/dev/branches/branch_5x/lucene/facet/   (props changed)
    lucene/dev/branches/branch_5x/lucene/facet/src/test/org/apache/lucene/facet/TestRandomSamplingFacetsCollector.java

Modified: lucene/dev/branches/branch_5x/lucene/facet/src/test/org/apache/lucene/facet/TestRandomSamplingFacetsCollector.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/lucene/facet/src/test/org/apache/lucene/facet/TestRandomSamplingFacetsCollector.java?rev=1691916&r1=1691915&r2=1691916&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/lucene/facet/src/test/org/apache/lucene/facet/TestRandomSamplingFacetsCollector.java
(original)
+++ lucene/dev/branches/branch_5x/lucene/facet/src/test/org/apache/lucene/facet/TestRandomSamplingFacetsCollector.java
Mon Jul 20 12:05:06 2015
@@ -68,6 +68,7 @@ public class TestRandomSamplingFacetsCol
       doc.add(new FacetField("iMod10", Integer.toString(i % numCategories)));
       writer.addDocument(config.build(taxoWriter, doc));
     }
+    writer.forceMerge(CHI_SQUARE_VALUES.length - 1);
     
     // NRT open
     IndexSearcher searcher = newSearcher(writer.getReader());



Mime
View raw message