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:
Martijn van Groningen 2011-07-25 10:01:56 +00:00
parent 3c6021d967
commit 708101f91e
1 changed files with 1 additions and 1 deletions

View File

@ -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) {