use matchVersion here

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/solr@923367 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2010-03-15 18:02:59 +00:00
parent 3d450635d1
commit 189859c05b
1 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,8 @@ import org.apache.lucene.util.Version;
@Deprecated
public class HTMLStripStandardTokenizerFactory extends BaseTokenizerFactory {
public Tokenizer create(Reader input) {
return new StandardTokenizer(Version.LUCENE_24, new HTMLStripReader(input));
assureMatchVersion();
return new StandardTokenizer(luceneMatchVersion, new HTMLStripReader(input));
// nocommit: what to do about this?
// new HTMLStripReader(input)) {
// @Override