You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by mi...@apache.org on 2009/08/04 22:39:32 UTC

svn commit: r800953 - /lucene/java/trunk/src/java/org/apache/lucene/search/Scorer.java

Author: mikemccand
Date: Tue Aug  4 20:39:32 2009
New Revision: 800953

URL: http://svn.apache.org/viewvc?rev=800953&view=rev
Log:
LUCENE-1780: deprecate Scorer.explain

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/search/Scorer.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/search/Scorer.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/search/Scorer.java?rev=800953&r1=800952&r2=800953&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/search/Scorer.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/search/Scorer.java Tue Aug  4 20:39:32 2009
@@ -125,6 +125,9 @@
    * <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;