* {@inheritDoc}
*/
public void mergeOne(LexiconOutputStream<String> lexStream) throws Exception
{
int maxDF = 0;
RunIterator run = runsSource.createRunIterator(-1);
HadoopRunPostingIterator _run = (HadoopRunPostingIterator)run;
lastTermWritten = null;
lastFreq = 0;
lastDocFreq= 0;
lastDocument = -1;
long startOffset = this.getByteOffset();
byte startBitOffset = this.getBitOffset();
LexiconEntry le = null;
// for each run in the list
int counter = 0;
//for one term: for each set of postings for that term
while (run.hasNext()) {
PostingInRun posting = run.next();
lastTermWritten = posting.getTerm();
if (posting.getDf() > maxDF)
maxDF = posting.getDf();