From d992f81da55879eadb881bc1ca0638a4ef7869ae Mon Sep 17 00:00:00 2001 From: Yonik Seeley Date: Sat, 6 Nov 2010 00:40:40 +0000 Subject: [PATCH] fix filter queries w/ grouping search git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1031892 13f79535-47bb-0310-9956-ffa450edef68 --- solr/src/java/org/apache/solr/search/Grouping.java | 1 + 1 file changed, 1 insertion(+) diff --git a/solr/src/java/org/apache/solr/search/Grouping.java b/solr/src/java/org/apache/solr/search/Grouping.java index 178a02bc434..be4f85af52a 100755 --- a/solr/src/java/org/apache/solr/search/Grouping.java +++ b/solr/src/java/org/apache/solr/search/Grouping.java @@ -249,6 +249,7 @@ public class Grouping { qr.setDocListAndSet(out); filter = cmd.getFilter()!=null ? cmd.getFilter() : searcher.getDocSet(cmd.getFilterList()); + luceneFilter = filter == null ? null : filter.getTopFilter(); maxDoc = searcher.maxDoc();