diff --git a/src/java/org/apache/lucene/search/payloads/PayloadTermQuery.java b/src/java/org/apache/lucene/search/payloads/PayloadTermQuery.java index 153911772bf..abbc27fd4b5 100644 --- a/src/java/org/apache/lucene/search/payloads/PayloadTermQuery.java +++ b/src/java/org/apache/lucene/search/payloads/PayloadTermQuery.java @@ -40,7 +40,7 @@ import java.io.IOException; * {@link org.apache.lucene.index.Term} occurs. *

* In order to take advantage of this, you must override - * {@link org.apache.lucene.search.Similarity#scorePayload(String, byte[],int,int)} + * {@link org.apache.lucene.search.Similarity#scorePayload(int, String, int, int, byte[],int,int)} * which returns 1 by default. *

* Payload scores are aggregated using a pluggable {@link PayloadFunction}.