Apache Solr open-source search software
update javadoc for init(TokenStream) return
Mark Robert Millera4c2eae1d4a3
diff --git a/contrib/highlighter/src/java/org/apache/lucene/search/highlight/Scorer.java b/contrib/highlighter/src/java/org/apache/lucene/search/highlight/Scorer.javaindex 663d35c6c72..9120df5b78a 100644--- a/contrib/highlighter/src/java/org/apache/lucene/search/highlight/Scorer.java+++ b/contrib/highlighter/src/java/org/apache/lucene/search/highlight/Scorer.java@@ -32,7 +32,10 @@ public interface Scorer {* getTokenScore().** @param tokenStream- * @throws IOException+ * @return either a TokenStream that the Highlighter should continue using (eg+ * if you read the tokenSream in this method) or null to continue+ * using the same TokenStream that was passed in.+ * @throws IOException*/public TokenStream init(TokenStream tokenStream) throws IOException;