From d7179da0b2f513edd3a9fa36c0ebfd67d9632d0a Mon Sep 17 00:00:00 2001 From: Yonik Seeley Date: Sat, 11 Sep 2010 00:14:17 +0000 Subject: [PATCH] LUCENE-2504: fix FC.setNextReader ignores git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@996021 13f79535-47bb-0310-9956-ffa450edef68 --- solr/src/java/org/apache/solr/search/MultiCollector.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/solr/src/java/org/apache/solr/search/MultiCollector.java b/solr/src/java/org/apache/solr/search/MultiCollector.java index 1625288c621..f08845a4c4c 100755 --- a/solr/src/java/org/apache/solr/search/MultiCollector.java +++ b/solr/src/java/org/apache/solr/search/MultiCollector.java @@ -288,8 +288,8 @@ class TopGroupCollector extends Collector { docValues = vs.getValues(context, reader); filler = docValues.getValueFiller(); mval = filler.getValue(); - for (FieldComparator fc : comparators) - fc.setNextReader(reader, docBase); + for (int i=0; i