order = newInstance(counts[0], maxDoc);
negativeValueCount = counts[1];
} else {
// we want to reuse the memory
negativeValueCount = getNegativeValueCount(reader, field);
order.ensureCapacity(maxDoc); // no need to fill to 0, we are reseting the
// data anyway
}
this.orderArray = order;
IntArrayList minIDList = new IntArrayList();