mirror of https://github.com/apache/lucene.git
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:
parent
b8951e1a25
commit
3d450635d1
|
@ -17,14 +17,12 @@
|
||||||
|
|
||||||
package org.apache.solr.analysis;
|
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.Tokenizer;
|
||||||
import org.apache.lucene.analysis.standard.StandardTokenizer;
|
import org.apache.lucene.analysis.standard.StandardTokenizer;
|
||||||
import org.apache.lucene.util.Version;
|
import org.apache.lucene.util.Version;
|
||||||
|
|
||||||
import java.io.Reader;
|
|
||||||
import java.io.IOException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
* @deprecated Use {@link HTMLStripCharFilterFactory} and {@link StandardTokenizerFactory}
|
* @deprecated Use {@link HTMLStripCharFilterFactory} and {@link StandardTokenizerFactory}
|
||||||
|
@ -33,5 +31,12 @@ import java.io.IOException;
|
||||||
public class HTMLStripStandardTokenizerFactory extends BaseTokenizerFactory {
|
public class HTMLStripStandardTokenizerFactory extends BaseTokenizerFactory {
|
||||||
public Tokenizer create(Reader input) {
|
public Tokenizer create(Reader input) {
|
||||||
return new StandardTokenizer(Version.LUCENE_24, new HTMLStripReader(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));
|
||||||
|
// }
|
||||||
|
// };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue