You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sa...@apache.org on 2017/07/12 15:59:40 UTC

[1/3] lucene-solr:master: SOLR-10796: comment out debug printing

Repository: lucene-solr
Updated Branches:
  refs/heads/branch_7_0 821caefe1 -> 833b4278a
  refs/heads/branch_7x 79515eda6 -> 9b9eb2c28
  refs/heads/master 6188c8ce3 -> 00b5930cc


SOLR-10796: comment out debug printing


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

Branch: refs/heads/master
Commit: 00b5930cc9066ec14cc16aa665f01dc0996e9f1f
Parents: 6188c8c
Author: Steve Rowe <sa...@apache.org>
Authored: Wed Jul 12 11:59:15 2017 -0400
Committer: Steve Rowe <sa...@apache.org>
Committed: Wed Jul 12 11:59:15 2017 -0400

----------------------------------------------------------------------
 .../test/org/apache/solr/schema/TestPointFields.java  | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/00b5930c/solr/core/src/test/org/apache/solr/schema/TestPointFields.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/schema/TestPointFields.java b/solr/core/src/test/org/apache/solr/schema/TestPointFields.java
index 83eaebd..4c8ff69 100644
--- a/solr/core/src/test/org/apache/solr/schema/TestPointFields.java
+++ b/solr/core/src/test/org/apache/solr/schema/TestPointFields.java
@@ -269,7 +269,7 @@ public class TestPointFields extends SolrTestCaseJ4 {
     int numValues = 10 * RANDOM_MULTIPLIER;
     // don't produce numbers with exponents, since XPath comparison operators can't handle them
     List<Integer> values  = getRandomInts(numValues, false, 9999999);
-    System.err.println(Arrays.toString(values.toArray(new Integer[values.size()])));
+    // System.err.println(Arrays.toString(values.toArray(new Integer[values.size()])));
     List<Integer> sortedValues = values.stream().sorted().collect(Collectors.toList());
     double min = (double)sortedValues.get(0);
     double max = (double)sortedValues.get(sortedValues.size() - 1);
@@ -680,7 +680,7 @@ public class TestPointFields extends SolrTestCaseJ4 {
     // don't produce numbers with exponents, since XPath comparison operators can't handle them: 7 digits of precision
     List<Float> values  = getRandomInts(numValues, false, 9999999).stream()
         .map(v -> (float)((double)v * Math.pow(10D, -1 * random().nextInt(8)))).collect(Collectors.toList());
-    System.err.println(Arrays.toString(values.toArray(new Float[values.size()])));
+    // System.err.println(Arrays.toString(values.toArray(new Float[values.size()])));
     List<Float> sortedValues = values.stream().sorted().collect(Collectors.toList());
     double min = (double)sortedValues.get(0);
     double max = (double)sortedValues.get(sortedValues.size() - 1);
@@ -980,7 +980,7 @@ public class TestPointFields extends SolrTestCaseJ4 {
     // don't produce numbers with exponents, since XPath comparison operators can't handle them: 7 digits of precision
     List<Float> values  = getRandomInts(numValues, false, 9999999).stream()
         .map(v -> (float)((double)v * Math.pow(10D, -1 * random().nextInt(8)))).collect(Collectors.toList());
-    System.err.println(Arrays.toString(values.toArray(new Float[values.size()])));
+    // System.err.println(Arrays.toString(values.toArray(new Float[values.size()])));
     List<Float> sortedValues = values.stream().sorted().collect(Collectors.toList());
     double min = (double)sortedValues.get(0);
     double max = (double)sortedValues.get(sortedValues.size() - 1);
@@ -1193,14 +1193,14 @@ public class TestPointFields extends SolrTestCaseJ4 {
     int[] bucketCount = new int[numBuckets];
     int bucketNum = 0;
     long minBucketVal = min;
-    System.err.println("min:" + min + "   max: " + max + "   gap: " + gap);
-    System.err.println("bucketNum: " + bucketNum + "   minBucketVal: " + minBucketVal);
+    // System.err.println("min:" + min + "   max: " + max + "   gap: " + gap);
+    // System.err.println("bucketNum: " + bucketNum + "   minBucketVal: " + minBucketVal);
     for (Long value : sortedValues) {
-      System.err.println("value: " + value);
+      // System.err.println("value: " + value);
       while (BigInteger.valueOf(value).subtract(BigInteger.valueOf(minBucketVal)).compareTo(bigIntGap) > 0) {
         ++bucketNum;
         minBucketVal += gap;
-        System.err.println("bucketNum: " + bucketNum + "   minBucketVal: " + minBucketVal);
+        // System.err.println("bucketNum: " + bucketNum + "   minBucketVal: " + minBucketVal);
       }
       ++bucketCount[bucketNum];
     }


[2/3] lucene-solr:branch_7x: SOLR-10796: comment out debug printing

Posted by sa...@apache.org.
SOLR-10796: comment out debug printing


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

Branch: refs/heads/branch_7x
Commit: 9b9eb2c289488aa8807d613fe421e15cc53ad39a
Parents: 79515ed
Author: Steve Rowe <sa...@apache.org>
Authored: Wed Jul 12 11:59:15 2017 -0400
Committer: Steve Rowe <sa...@apache.org>
Committed: Wed Jul 12 11:59:29 2017 -0400

----------------------------------------------------------------------
 .../test/org/apache/solr/schema/TestPointFields.java  | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9b9eb2c2/solr/core/src/test/org/apache/solr/schema/TestPointFields.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/schema/TestPointFields.java b/solr/core/src/test/org/apache/solr/schema/TestPointFields.java
index 83eaebd..4c8ff69 100644
--- a/solr/core/src/test/org/apache/solr/schema/TestPointFields.java
+++ b/solr/core/src/test/org/apache/solr/schema/TestPointFields.java
@@ -269,7 +269,7 @@ public class TestPointFields extends SolrTestCaseJ4 {
     int numValues = 10 * RANDOM_MULTIPLIER;
     // don't produce numbers with exponents, since XPath comparison operators can't handle them
     List<Integer> values  = getRandomInts(numValues, false, 9999999);
-    System.err.println(Arrays.toString(values.toArray(new Integer[values.size()])));
+    // System.err.println(Arrays.toString(values.toArray(new Integer[values.size()])));
     List<Integer> sortedValues = values.stream().sorted().collect(Collectors.toList());
     double min = (double)sortedValues.get(0);
     double max = (double)sortedValues.get(sortedValues.size() - 1);
@@ -680,7 +680,7 @@ public class TestPointFields extends SolrTestCaseJ4 {
     // don't produce numbers with exponents, since XPath comparison operators can't handle them: 7 digits of precision
     List<Float> values  = getRandomInts(numValues, false, 9999999).stream()
         .map(v -> (float)((double)v * Math.pow(10D, -1 * random().nextInt(8)))).collect(Collectors.toList());
-    System.err.println(Arrays.toString(values.toArray(new Float[values.size()])));
+    // System.err.println(Arrays.toString(values.toArray(new Float[values.size()])));
     List<Float> sortedValues = values.stream().sorted().collect(Collectors.toList());
     double min = (double)sortedValues.get(0);
     double max = (double)sortedValues.get(sortedValues.size() - 1);
@@ -980,7 +980,7 @@ public class TestPointFields extends SolrTestCaseJ4 {
     // don't produce numbers with exponents, since XPath comparison operators can't handle them: 7 digits of precision
     List<Float> values  = getRandomInts(numValues, false, 9999999).stream()
         .map(v -> (float)((double)v * Math.pow(10D, -1 * random().nextInt(8)))).collect(Collectors.toList());
-    System.err.println(Arrays.toString(values.toArray(new Float[values.size()])));
+    // System.err.println(Arrays.toString(values.toArray(new Float[values.size()])));
     List<Float> sortedValues = values.stream().sorted().collect(Collectors.toList());
     double min = (double)sortedValues.get(0);
     double max = (double)sortedValues.get(sortedValues.size() - 1);
@@ -1193,14 +1193,14 @@ public class TestPointFields extends SolrTestCaseJ4 {
     int[] bucketCount = new int[numBuckets];
     int bucketNum = 0;
     long minBucketVal = min;
-    System.err.println("min:" + min + "   max: " + max + "   gap: " + gap);
-    System.err.println("bucketNum: " + bucketNum + "   minBucketVal: " + minBucketVal);
+    // System.err.println("min:" + min + "   max: " + max + "   gap: " + gap);
+    // System.err.println("bucketNum: " + bucketNum + "   minBucketVal: " + minBucketVal);
     for (Long value : sortedValues) {
-      System.err.println("value: " + value);
+      // System.err.println("value: " + value);
       while (BigInteger.valueOf(value).subtract(BigInteger.valueOf(minBucketVal)).compareTo(bigIntGap) > 0) {
         ++bucketNum;
         minBucketVal += gap;
-        System.err.println("bucketNum: " + bucketNum + "   minBucketVal: " + minBucketVal);
+        // System.err.println("bucketNum: " + bucketNum + "   minBucketVal: " + minBucketVal);
       }
       ++bucketCount[bucketNum];
     }


[3/3] lucene-solr:branch_7_0: SOLR-10796: comment out debug printing

Posted by sa...@apache.org.
SOLR-10796: comment out debug printing


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

Branch: refs/heads/branch_7_0
Commit: 833b4278aca4f56af885c4f0cd03d5a8fc140279
Parents: 821caef
Author: Steve Rowe <sa...@apache.org>
Authored: Wed Jul 12 11:59:15 2017 -0400
Committer: Steve Rowe <sa...@apache.org>
Committed: Wed Jul 12 11:59:35 2017 -0400

----------------------------------------------------------------------
 .../test/org/apache/solr/schema/TestPointFields.java  | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/833b4278/solr/core/src/test/org/apache/solr/schema/TestPointFields.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/schema/TestPointFields.java b/solr/core/src/test/org/apache/solr/schema/TestPointFields.java
index 83eaebd..4c8ff69 100644
--- a/solr/core/src/test/org/apache/solr/schema/TestPointFields.java
+++ b/solr/core/src/test/org/apache/solr/schema/TestPointFields.java
@@ -269,7 +269,7 @@ public class TestPointFields extends SolrTestCaseJ4 {
     int numValues = 10 * RANDOM_MULTIPLIER;
     // don't produce numbers with exponents, since XPath comparison operators can't handle them
     List<Integer> values  = getRandomInts(numValues, false, 9999999);
-    System.err.println(Arrays.toString(values.toArray(new Integer[values.size()])));
+    // System.err.println(Arrays.toString(values.toArray(new Integer[values.size()])));
     List<Integer> sortedValues = values.stream().sorted().collect(Collectors.toList());
     double min = (double)sortedValues.get(0);
     double max = (double)sortedValues.get(sortedValues.size() - 1);
@@ -680,7 +680,7 @@ public class TestPointFields extends SolrTestCaseJ4 {
     // don't produce numbers with exponents, since XPath comparison operators can't handle them: 7 digits of precision
     List<Float> values  = getRandomInts(numValues, false, 9999999).stream()
         .map(v -> (float)((double)v * Math.pow(10D, -1 * random().nextInt(8)))).collect(Collectors.toList());
-    System.err.println(Arrays.toString(values.toArray(new Float[values.size()])));
+    // System.err.println(Arrays.toString(values.toArray(new Float[values.size()])));
     List<Float> sortedValues = values.stream().sorted().collect(Collectors.toList());
     double min = (double)sortedValues.get(0);
     double max = (double)sortedValues.get(sortedValues.size() - 1);
@@ -980,7 +980,7 @@ public class TestPointFields extends SolrTestCaseJ4 {
     // don't produce numbers with exponents, since XPath comparison operators can't handle them: 7 digits of precision
     List<Float> values  = getRandomInts(numValues, false, 9999999).stream()
         .map(v -> (float)((double)v * Math.pow(10D, -1 * random().nextInt(8)))).collect(Collectors.toList());
-    System.err.println(Arrays.toString(values.toArray(new Float[values.size()])));
+    // System.err.println(Arrays.toString(values.toArray(new Float[values.size()])));
     List<Float> sortedValues = values.stream().sorted().collect(Collectors.toList());
     double min = (double)sortedValues.get(0);
     double max = (double)sortedValues.get(sortedValues.size() - 1);
@@ -1193,14 +1193,14 @@ public class TestPointFields extends SolrTestCaseJ4 {
     int[] bucketCount = new int[numBuckets];
     int bucketNum = 0;
     long minBucketVal = min;
-    System.err.println("min:" + min + "   max: " + max + "   gap: " + gap);
-    System.err.println("bucketNum: " + bucketNum + "   minBucketVal: " + minBucketVal);
+    // System.err.println("min:" + min + "   max: " + max + "   gap: " + gap);
+    // System.err.println("bucketNum: " + bucketNum + "   minBucketVal: " + minBucketVal);
     for (Long value : sortedValues) {
-      System.err.println("value: " + value);
+      // System.err.println("value: " + value);
       while (BigInteger.valueOf(value).subtract(BigInteger.valueOf(minBucketVal)).compareTo(bigIntGap) > 0) {
         ++bucketNum;
         minBucketVal += gap;
-        System.err.println("bucketNum: " + bucketNum + "   minBucketVal: " + minBucketVal);
+        // System.err.println("bucketNum: " + bucketNum + "   minBucketVal: " + minBucketVal);
       }
       ++bucketCount[bucketNum];
     }