lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dna...@apache.org
Subject svn commit: r632581 - /lucene/java/trunk/src/java/org/apache/lucene/analysis/Analyzer.java
Date Sat, 01 Mar 2008 11:46:50 GMT
Author: dnaber
Date: Sat Mar  1 03:46:47 2008
New Revision: 632581

URL: http://svn.apache.org/viewvc?rev=632581&view=rev
Log:
LUCENE-1174: remove outdated information from javadoc

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/analysis/Analyzer.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/analysis/Analyzer.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/analysis/Analyzer.java?rev=632581&r1=632580&r2=632581&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/analysis/Analyzer.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/analysis/Analyzer.java Sat Mar  1 03:46:47
2008
@@ -26,16 +26,11 @@
  *  Typical implementations first build a Tokenizer, which breaks the stream of
  *  characters from the Reader into raw Tokens.  One or more TokenFilters may
  *  then be applied to the output of the Tokenizer.
- *  <p>
- *  WARNING: You must override one of the methods defined by this class in your
- *  subclass or the Analyzer will enter an infinite loop.
  */
 public abstract class Analyzer {
   /** Creates a TokenStream which tokenizes all the text in the provided
-    Reader.  Default implementation forwards to tokenStream(Reader) for 
-    compatibility with older version.  Override to allow Analyzer to choose 
-    strategy based on document and/or field.  Must be able to handle null
-    field name for backward compatibility. */
+   * Reader.  Must be able to handle null field name for backward compatibility.
+   */
   public abstract TokenStream tokenStream(String fieldName, Reader reader);
 
   /** Creates a TokenStream that is allowed to be re-used



Mime
View raw message