mirror of https://github.com/apache/lucene.git
SOLR-1103: LukeRequestHandler (and schema.jsp) have been fixed to include the '1' (ie: 2**0) bucket in the term histogram data.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@810324 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3c96d00c26
commit
28e3e20f29
|
@ -519,6 +519,10 @@ Bug Fixes
|
|||
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)
|
||||
|
|
|
@ -531,7 +531,7 @@ public class LukeRequestHandler extends RequestHandlerBase
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue