lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From no...@apache.org
Subject svn commit: r788571 - /lucene/solr/trunk/src/java/org/apache/solr/handler/component/StatsComponent.java
Date Fri, 26 Jun 2009 04:47:17 GMT
Author: noble
Date: Fri Jun 26 04:47:17 2009
New Revision: 788571

URL: http://svn.apache.org/viewvc?rev=788571&view=rev
Log:
SOLR-1246

Modified:
    lucene/solr/trunk/src/java/org/apache/solr/handler/component/StatsComponent.java

Modified: lucene/solr/trunk/src/java/org/apache/solr/handler/component/StatsComponent.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/handler/component/StatsComponent.java?rev=788571&r1=788570&r2=788571&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/handler/component/StatsComponent.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/handler/component/StatsComponent.java Fri Jun
26 04:47:17 2009
@@ -247,7 +247,7 @@
   
   public void reset(){
     min = Double.MAX_VALUE;
-    max = Double.MIN_VALUE;
+    max = Double.NEGATIVE_INFINITY;
     sum = count = missing = 0;
     sumOfSquares = 0;
     facets = null;



Mime
View raw message