LUCENE-3102: set doc in cachedScorer

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1128105 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2011-05-26 22:20:28 +00:00
parent d3e50b43e6
commit 88d37651f9
1 changed files with 1 additions and 0 deletions

View File

@ -181,6 +181,7 @@ public abstract class CachingCollector extends Collector {
curUpto = 0;
}
cachedScorer.score = curScores[curUpto];
cachedScorer.doc = curDocs[curUpto];
other.collect(curDocs[curUpto++]);
}
}