mirror of https://github.com/apache/lucene.git
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:
parent
d3e50b43e6
commit
88d37651f9
|
@ -181,6 +181,7 @@ public abstract class CachingCollector extends Collector {
|
|||
curUpto = 0;
|
||||
}
|
||||
cachedScorer.score = curScores[curUpto];
|
||||
cachedScorer.doc = curDocs[curUpto];
|
||||
other.collect(curDocs[curUpto++]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue