From 00b5930cc9066ec14cc16aa665f01dc0996e9f1f Mon Sep 17 00:00:00 2001 From: Steve Rowe Date: Wed, 12 Jul 2017 11:59:15 -0400 Subject: [PATCH] SOLR-10796: comment out debug printing --- .../org/apache/solr/schema/TestPointFields.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 83eaebd3777..4c8ff69b09d 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 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 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 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 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 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 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]; }