179180181182183184185186187188189
} v = new SegmentTermPositionVector(v.getField(), newTerms, newFreqs, withPositions ? positions : null, withOffsets ? offsets : null); } else { v = new SegmentTermVector(v.getField(), newTerms, newFreqs); } newVectors.add(v); } } vecCount++;