From 3d450635d1a49b629fe5688b175ad1aed6c20a47 Mon Sep 17 00:00:00 2001 From: Mark Robert Miller Date: Mon, 15 Mar 2010 16:15:14 +0000 Subject: [PATCH] add nocommit git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/solr@923323 13f79535-47bb-0310-9956-ffa450edef68 --- .../analysis/HTMLStripStandardTokenizerFactory.java | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/java/org/apache/solr/analysis/HTMLStripStandardTokenizerFactory.java b/src/java/org/apache/solr/analysis/HTMLStripStandardTokenizerFactory.java index 87f434b9a3b..beae721ea0b 100644 --- a/src/java/org/apache/solr/analysis/HTMLStripStandardTokenizerFactory.java +++ b/src/java/org/apache/solr/analysis/HTMLStripStandardTokenizerFactory.java @@ -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)); +// } +// }; } }