RetrievalEnvironment env = new RetrievalEnvironment(indexPath, fs);
path = env.getTermDocVectorsDirectory();
FSDataInputStream posInput = fs.open(new Path(env.getTermDocVectorsForwardIndex()));
docnoOffset = posInput.readInt();
collectionDocumentCount = posInput.readInt();
positions = new long[collectionDocumentCount];
for (int i = 0; i < collectionDocumentCount; i++) {
positions[i] = posInput.readLong();