lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markrmil...@apache.org
Subject svn commit: r923323 - /lucene/solr/branches/solr/src/java/org/apache/solr/analysis/HTMLStripStandardTokenizerFactory.java
Date Mon, 15 Mar 2010 16:15:15 GMT
Author: markrmiller
Date: Mon Mar 15 16:15:14 2010
New Revision: 923323

URL: http://svn.apache.org/viewvc?rev=923323&view=rev
Log:
add nocommit

Modified:
    lucene/solr/branches/solr/src/java/org/apache/solr/analysis/HTMLStripStandardTokenizerFactory.java

Modified: lucene/solr/branches/solr/src/java/org/apache/solr/analysis/HTMLStripStandardTokenizerFactory.java
URL: http://svn.apache.org/viewvc/lucene/solr/branches/solr/src/java/org/apache/solr/analysis/HTMLStripStandardTokenizerFactory.java?rev=923323&r1=923322&r2=923323&view=diff
==============================================================================
--- lucene/solr/branches/solr/src/java/org/apache/solr/analysis/HTMLStripStandardTokenizerFactory.java
(original)
+++ lucene/solr/branches/solr/src/java/org/apache/solr/analysis/HTMLStripStandardTokenizerFactory.java
Mon Mar 15 16:15:14 2010
@@ -17,14 +17,12 @@
 
 package org.apache.solr.analysis;
 
-import org.apache.lucene.analysis.TokenStream;
+import java.io.Reader;
+
 import org.apache.lucene.analysis.Tokenizer;
 import org.apache.lucene.analysis.standard.StandardTokenizer;
 import org.apache.lucene.util.Version;
 
-import java.io.Reader;
-import java.io.IOException;
-
 /**
  * @version $Id$
  * @deprecated Use {@link HTMLStripCharFilterFactory} and {@link StandardTokenizerFactory}
@@ -33,5 +31,12 @@ import java.io.IOException;
 public class HTMLStripStandardTokenizerFactory extends BaseTokenizerFactory {
   public Tokenizer create(Reader input) {
     return new StandardTokenizer(Version.LUCENE_24, new HTMLStripReader(input));
+    // nocommit: what to do about this?
+//    new HTMLStripReader(input)) {
+//      @Override
+//      public void reset(Reader reader) throws IOException {
+//        super.reset(new HTMLStripReader(reader));
+//      }
+//    };
   }
 }



Mime
View raw message