mirror of https://github.com/apache/lucene.git
SOLR-1682: remove unused counter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1001220 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c1e2880e4a
commit
ffe3bb6578
|
@ -526,7 +526,6 @@ class Phase2GroupCollector extends Collector {
|
||||||
filler.fillValue(doc);
|
filler.fillValue(doc);
|
||||||
SearchGroupDocs group = groupMap.get(mval);
|
SearchGroupDocs group = groupMap.get(mval);
|
||||||
if (group == null) return;
|
if (group == null) return;
|
||||||
group.matches++;
|
|
||||||
group.collector.collect(doc);
|
group.collector.collect(doc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -551,7 +550,6 @@ class Phase2GroupCollector extends Collector {
|
||||||
// disad: blows up the size of SearchGroup if we need many of them, and couples implementations
|
// disad: blows up the size of SearchGroup if we need many of them, and couples implementations
|
||||||
class SearchGroupDocs {
|
class SearchGroupDocs {
|
||||||
public MutableValue groupValue;
|
public MutableValue groupValue;
|
||||||
int matches;
|
|
||||||
TopFieldCollector collector;
|
TopFieldCollector collector;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue