Skip to content

Apache Lucene open-source search software

Bugzilla #33642 fix javadoc

Erik Hatcherdb2c7c98e9b4
diff --git a/src/java/org/apache/lucene/search/Scorer.java b/src/java/org/apache/lucene/search/Scorer.java
index 058b2112ff8..696fa947436 100644
--- a/src/java/org/apache/lucene/search/Scorer.java
+++ b/src/java/org/apache/lucene/search/Scorer.java
@@ -78,7 +78,8 @@ public abstract class Scorer {
public abstract int doc();
/** Returns the score of the current document matching the query.
- * Initially invalid, until {@link #next()} is called the first time.
+ * Initially invalid, until {@link #next()} or {@link #skipTo(int)}
+ * is called the first time.
*/
public abstract float score() throws IOException;