lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject svn commit: r1677012 - in /lucene/dev/branches/branch_5x: ./ solr/ solr/core/ solr/core/src/test/org/apache/solr/search/facet/TestJsonFacets.java
Date Thu, 30 Apr 2015 15:13:21 GMT
Author: yonik
Date: Thu Apr 30 15:13:21 2015
New Revision: 1677012

URL: http://svn.apache.org/r1677012
Log:
SOLR-7477: fix test to process empty buckets for distrib search

Modified:
    lucene/dev/branches/branch_5x/   (props changed)
    lucene/dev/branches/branch_5x/solr/   (props changed)
    lucene/dev/branches/branch_5x/solr/core/   (props changed)
    lucene/dev/branches/branch_5x/solr/core/src/test/org/apache/solr/search/facet/TestJsonFacets.java

Modified: lucene/dev/branches/branch_5x/solr/core/src/test/org/apache/solr/search/facet/TestJsonFacets.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/solr/core/src/test/org/apache/solr/search/facet/TestJsonFacets.java?rev=1677012&r1=1677011&r2=1677012&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/solr/core/src/test/org/apache/solr/search/facet/TestJsonFacets.java
(original)
+++ lucene/dev/branches/branch_5x/solr/core/src/test/org/apache/solr/search/facet/TestJsonFacets.java
Thu Apr 30 15:13:21 2015
@@ -865,7 +865,7 @@ public class TestJsonFacets extends Solr
 
     // range facet with sub facets and stats, with "other:all" (with excludeTags)
     client.testJQ(params(p, "q", "*:*", "fq", "{!tag=doc6,allfilt}-id:6", "fq","{!tag=doc3,allfilt}-id:3"
-            , "json.facet", "{processEmpty:false " +
+            , "json.facet", "{processEmpty:true " +
                 ", f1:{type:range, field:${num_d}, start:-5, end:10, gap:5, other:all,  
facet:{ x:'sum(${num_i})', ny:{query:'${where_s}:NY'}} , excludeTags:allfilt }" +
                 ", f2:{type:range, field:${num_d}, start:-5, end:10, gap:5, other:all,  
facet:{ x:'sum(${num_i})', ny:{query:'${where_s}:NY'}}  }" +
                 "}"



Mime
View raw message