//while not end of all posting lists
while (currentDocId != -1) {
// We create a new candidate for the doc id considered
CandidateResult currentCandidate = new CandidateResult(currentDocId);
int currentPostingListIndex = (int) (postingHeap.firstLong() & 0xFFFF), nextDocid;
//System.err.println("currentDocid="+currentDocId+" currentPostingListIndex="+currentPostingListIndex);
currentPosting = postingListArray[currentPostingListIndex];
//scored++;
do {
assignScore(currentPostingListIndex, wm[currentPostingListIndex], currentCandidate, currentPosting);