mirror of https://github.com/apache/lucene.git
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:
parent
d3fcafc53e
commit
66d930d933
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue