throw new IOException("Index not found in JobConf:" + Index.getLastIndexLoadError());
final String bitPostingStructureName = job.get(BITPOSTING_STRUCTURE_KEY);
final BitPostingIndexInputStream postingStream = (BitPostingIndexInputStream)index.getIndexStructureInputStream(bitPostingStructureName);
postingStream.skip(split.getStartingEntryIndex());
//logger.info("BitPostingIndexRecordReader for structure "+ bitPostingStructureName + " start entry "+ split.getStartingEntryIndex() + " split size " + split.getEntryCount());
return new BitPostingIndexRecordReader(postingStream, split.getStartingEntryIndex(), split.getEntryCount());
}
/** Returns the block size of the specified file. Only recommended to overload for testing */