add nocommit

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/solr@923323 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2010-03-15 16:15:14 +00:00
parent b8951e1a25
commit 3d450635d1
1 changed files with 9 additions and 4 deletions

View File

@ -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));
// }
// };
}
}