mirror of https://github.com/apache/lucene.git
SOLR-6886: Removed redundant size check and added missing calls to DelegatingCollection.finish inside Grouping code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674430 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dbf063d3d1
commit
f258d2f9d4
|
@ -157,6 +157,9 @@ Other Changes
|
|||
- When using hl.maxMultiValuedToMatch with hl.preserveMulti, only count matched snippets.
|
||||
(David Smiley)
|
||||
|
||||
* SOLR-6886: Removed redundant size check and added missing calls to
|
||||
DelegatingCollection.finish inside Grouping code. (Christine Poerschke via shalin)
|
||||
|
||||
================== 5.1.0 ==================
|
||||
|
||||
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release
|
||||
|
|
|
@ -405,10 +405,9 @@ public class Grouping {
|
|||
secondPhaseCollectors = pf.postFilter;
|
||||
}
|
||||
searchWithTimeLimiter(luceneFilter, secondPhaseCollectors);
|
||||
|
||||
if(secondPhaseCollectors instanceof DelegatingCollector) {
|
||||
((DelegatingCollector) secondPhaseCollectors).finish();
|
||||
}
|
||||
}
|
||||
if (secondPhaseCollectors instanceof DelegatingCollector) {
|
||||
((DelegatingCollector) secondPhaseCollectors).finish();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue