lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject svn commit: r1669423 - in /lucene/dev/trunk/solr/core/src: java/org/apache/solr/search/facet/UnInvertedField.java test/org/apache/solr/request/TestMacros.java test/org/apache/solr/request/macro/ test/org/apache/solr/request/macro/TestMacros.java
Date Thu, 26 Mar 2015 19:57:00 GMT
Author: yonik
Date: Thu Mar 26 19:57:00 2015
New Revision: 1669423

URL: http://svn.apache.org/r1669423
Log:
SOLR-7212: tests - fix package mismatch

Added:
    lucene/dev/trunk/solr/core/src/test/org/apache/solr/request/macro/
    lucene/dev/trunk/solr/core/src/test/org/apache/solr/request/macro/TestMacros.java
      - copied unchanged from r1669354, lucene/dev/trunk/solr/core/src/test/org/apache/solr/request/TestMacros.java
Removed:
    lucene/dev/trunk/solr/core/src/test/org/apache/solr/request/TestMacros.java
Modified:
    lucene/dev/trunk/solr/core/src/java/org/apache/solr/search/facet/UnInvertedField.java

Modified: lucene/dev/trunk/solr/core/src/java/org/apache/solr/search/facet/UnInvertedField.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/java/org/apache/solr/search/facet/UnInvertedField.java?rev=1669423&r1=1669422&r2=1669423&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/java/org/apache/solr/search/facet/UnInvertedField.java
(original)
+++ lucene/dev/trunk/solr/core/src/java/org/apache/solr/search/facet/UnInvertedField.java
Thu Mar 26 19:57:00 2015
@@ -564,6 +564,8 @@ public class UnInvertedField extends Doc
   // called from FieldFacetProcessor
   // TODO: do a callback version that can be specialized!
   public void collectDocs(FacetFieldProcessorUIF processor) throws IOException {
+    if (processor.accs.length==1 && processor.accs[0] instanceof CountSlotAcc)
+
     use.incrementAndGet();
 
     DocSet docs = processor.fcontext.base;



Mime
View raw message