mirror of https://github.com/apache/lucene.git
LUCENE-3097: Fix for build failure.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1150613 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3c6021d967
commit
708101f91e
|
@ -387,7 +387,7 @@ public abstract class TermAllGroupHeadsCollector<GH extends AbstractAllGroupHead
|
|||
|
||||
// Clear ordSet and fill it with previous encountered groups that can occur in the current segment.
|
||||
ordSet.clear();
|
||||
segmentGroupHeads = new GroupHead[groupIndex.size()];
|
||||
segmentGroupHeads = new GroupHead[groupIndex.numOrd()];
|
||||
for (GroupHead collectedGroup : collectedGroups) {
|
||||
int groupOrd = groupIndex.binarySearchLookup(collectedGroup.groupValue, scratchBytesRef);
|
||||
if (groupOrd >= 0) {
|
||||
|
|
Loading…
Reference in New Issue