lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hoss...@apache.org
Subject svn commit: r810324 - in /lucene/solr/trunk: CHANGES.txt src/java/org/apache/solr/handler/admin/LukeRequestHandler.java
Date Wed, 02 Sep 2009 00:56:20 GMT
Author: hossman
Date: Wed Sep  2 00:56:19 2009
New Revision: 810324

URL: http://svn.apache.org/viewvc?rev=810324&view=rev
Log:
SOLR-1103: LukeRequestHandler (and schema.jsp) have been fixed to include the '1' (ie: 2**0)
bucket in the term histogram data.

Modified:
    lucene/solr/trunk/CHANGES.txt
    lucene/solr/trunk/src/java/org/apache/solr/handler/admin/LukeRequestHandler.java

Modified: lucene/solr/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/CHANGES.txt?rev=810324&r1=810323&r2=810324&view=diff
==============================================================================
--- lucene/solr/trunk/CHANGES.txt (original)
+++ lucene/solr/trunk/CHANGES.txt Wed Sep  2 00:56:19 2009
@@ -519,6 +519,10 @@
 61. SOLR-1091: Jetty's use of CESU-8 for code points outside the BMP
     resulted in invalid output from the serialized PHP writer. (yonik)
 
+62. SOLR-1103: LukeRequestHandler (and schema.jsp) have been fixed to 
+    include the "1" (ie: 2**0) bucket in the term histogram data. 
+    (hossman)
+
 Other Changes
 ----------------------
  1. Upgraded to Lucene 2.4.0 (yonik)

Modified: lucene/solr/trunk/src/java/org/apache/solr/handler/admin/LukeRequestHandler.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/handler/admin/LukeRequestHandler.java?rev=810324&r1=810323&r2=810324&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/handler/admin/LukeRequestHandler.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/handler/admin/LukeRequestHandler.java Wed Sep
 2 00:56:19 2009
@@ -531,7 +531,7 @@
     public NamedList<Integer> toNamedList()
     {
       NamedList<Integer> nl = new NamedList<Integer>();
-      for( int bucket = 2; bucket <= maxBucket; bucket *= 2 ) {
+      for( int bucket = 1; bucket <= maxBucket; bucket *= 2 ) {
         Integer val = hist.get( bucket );
         if( val == null ) {
           val = 0;



Mime
View raw message