{
final IterablePosting postingIterator = postingWrapper.getObject();
reporter.setStatus("Mapping for id " + termId);
while(postingIterator.next() != IterablePosting.EOL)
{
WritablePosting wp = postingIterator.asWritablePosting();
int docid = postingIterator.getId();
wp.setId(termId.get());
reporter.progress();
collector.collect(new VIntWritable(docid), wp);
}
}