LUCENE-1780: deprecate Scorer.explain

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@800953 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2009-08-04 20:39:32 +00:00
parent d3fcafc53e
commit 66d930d933
1 changed files with 3 additions and 0 deletions

View File

@ -125,6 +125,9 @@ public abstract class Scorer extends DocIdSetIterator {
* <br>When this method is used, the {@link #next()}, {@link #skipTo(int)} and
* {@link #score(HitCollector)} methods should not be used.
* @param doc The document number for the explanation.
*
* @deprecated Please use {@link IndexSearcher#explain}
* or {@link QueryWeight#explain} instead.
*/
public abstract Explanation explain(int doc) throws IOException;