lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r923367 - /lucene/solr/branches/solr/src/java/org/apache/solr/analysis/HTMLStripStandardTokenizerFactory.java
Date Mon, 15 Mar 2010 18:03:00 GMT
Author: uschindler
Date: Mon Mar 15 18:02:59 2010
New Revision: 923367

URL: http://svn.apache.org/viewvc?rev=923367&view=rev
Log:
use matchVersion here

Modified:
    lucene/solr/branches/solr/src/java/org/apache/solr/analysis/HTMLStripStandardTokenizerFactory.java

Modified: lucene/solr/branches/solr/src/java/org/apache/solr/analysis/HTMLStripStandardTokenizerFactory.java
URL: http://svn.apache.org/viewvc/lucene/solr/branches/solr/src/java/org/apache/solr/analysis/HTMLStripStandardTokenizerFactory.java?rev=923367&r1=923366&r2=923367&view=diff
==============================================================================
--- lucene/solr/branches/solr/src/java/org/apache/solr/analysis/HTMLStripStandardTokenizerFactory.java
(original)
+++ lucene/solr/branches/solr/src/java/org/apache/solr/analysis/HTMLStripStandardTokenizerFactory.java
Mon Mar 15 18:02:59 2010
@@ -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



Mime
View raw message