if (e1.getDocno() < mBlockStart)
continue;
if (e1.getDocno() >= mBlockEnd)
break;
HMapIFW map = new HMapIFW();
sLogger.debug(key + ": " + e1);
PostingsReader reader2 = postings.getPostingsReader();
while (reader2.nextPosting(e2)) {
sLogger.debug(key + ": " + e1 + ", " + e2);
if (e1.getDocno() == e2.getDocno())
continue;
// compute partial score of similarity for a pair of
// documents
float weight = mModel.computeScore(e1.getTf(), e2.getTf(),
mDocLengthTable.getDocLength(e1.getDocno()), mDocLengthTable
.getDocLength(e2.getDocno()));
map.put(e2.getDocno(), weight);
}
output.collect(new IntWritable(e1.getDocno()), map);
}
}