You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2016/04/24 11:57:34 UTC

lucene-solr:branch_6_0: LUCENE-7175: give enough heap for large dim count, bytes per dim, when writing points

Repository: lucene-solr
Updated Branches:
  refs/heads/branch_6_0 8d24d72ab -> d1a4cca95


LUCENE-7175: give enough heap for large dim count, bytes per dim, when writing points


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/d1a4cca9
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/d1a4cca9
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/d1a4cca9

Branch: refs/heads/branch_6_0
Commit: d1a4cca955d7fc790fa089770f63c24c39062eb6
Parents: 8d24d72
Author: Mike McCandless <mi...@apache.org>
Authored: Sun Apr 24 05:58:41 2016 -0400
Committer: Mike McCandless <mi...@apache.org>
Committed: Sun Apr 24 06:00:33 2016 -0400

----------------------------------------------------------------------
 .../core/src/test/org/apache/lucene/search/TestPointQueries.java   | 2 +-
 .../src/java/org/apache/lucene/index/RandomCodec.java              | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/d1a4cca9/lucene/core/src/test/org/apache/lucene/search/TestPointQueries.java
----------------------------------------------------------------------
diff --git a/lucene/core/src/test/org/apache/lucene/search/TestPointQueries.java b/lucene/core/src/test/org/apache/lucene/search/TestPointQueries.java
index bc9ef75..88d89d2 100644
--- a/lucene/core/src/test/org/apache/lucene/search/TestPointQueries.java
+++ b/lucene/core/src/test/org/apache/lucene/search/TestPointQueries.java
@@ -1153,7 +1153,7 @@ public class TestPointQueries extends LuceneTestCase {
   private static Codec getCodec() {
     if (Codec.getDefault().getName().equals("Lucene60")) {
       int maxPointsInLeafNode = TestUtil.nextInt(random(), 16, 2048);
-      double maxMBSortInHeap = 4.0 + (3*random().nextDouble());
+      double maxMBSortInHeap = 5.0 + (3*random().nextDouble());
       if (VERBOSE) {
         System.out.println("TEST: using Lucene60PointsFormat with maxPointsInLeafNode=" + maxPointsInLeafNode + " and maxMBSortInHeap=" + maxMBSortInHeap);
       }

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/d1a4cca9/lucene/test-framework/src/java/org/apache/lucene/index/RandomCodec.java
----------------------------------------------------------------------
diff --git a/lucene/test-framework/src/java/org/apache/lucene/index/RandomCodec.java b/lucene/test-framework/src/java/org/apache/lucene/index/RandomCodec.java
index ed81e4c..4d05cf0 100644
--- a/lucene/test-framework/src/java/org/apache/lucene/index/RandomCodec.java
+++ b/lucene/test-framework/src/java/org/apache/lucene/index/RandomCodec.java
@@ -192,7 +192,7 @@ public class RandomCodec extends AssertingCodec {
     int lowFreqCutoff = TestUtil.nextInt(random, 2, 100);
 
     maxPointsInLeafNode = TestUtil.nextInt(random, 16, 2048);
-    maxMBSortInHeap = 4.0 + (3*random.nextDouble());
+    maxMBSortInHeap = 5.0 + (3*random.nextDouble());
     bkdSplitRandomSeed = random.nextInt();
 
     add(avoidCodecs,