mirror of
https://github.com/apache/lucene.git
synced 2025-02-21 01:18:45 +00:00
SOLR-2063: fix incorrect assert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1038798 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a4ecf7b010
commit
7b01ebaa11
@ -256,7 +256,7 @@ public class Grouping {
|
||||
|
||||
if (numDocs >= docsToGather) break;
|
||||
}
|
||||
assert numDocs <= docCount; // make sure we didn't gather too many
|
||||
assert numDocs <= docsToGather; // make sure we didn't gather too many
|
||||
|
||||
int[] ids = new int[numDocs];
|
||||
float[] scores = needScores ? new float[numDocs] : null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user