mirror of https://github.com/apache/lucene.git
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:
parent
3d450635d1
commit
189859c05b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue