lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven A Rowe <sar...@syr.edu>
Subject RE: svn commit: r1002221 - in /lucene/dev/trunk/modules/analysis: common/src/java/org/apache/lucene/analysis/ca/ common/src/java/org/apache/lucene/analysis/eu/ common/src/java/org/apache/lucene/analysis/hy/ common/src/java/org/apache/lucene/analysis/stand
Date Tue, 28 Sep 2010 16:24:08 GMT
Thanks, Robert.  I didn't think to look for other unconverted analyzers.  I see you also deprecated
the non-versioned StandardFilter c-tor.

Steve

> -----Original Message-----
> From: rmuir@apache.org [mailto:rmuir@apache.org]
> Sent: Tuesday, September 28, 2010 11:33 AM
> To: commits@lucene.apache.org
> Subject: svn commit: r1002221 - in /lucene/dev/trunk/modules/analysis:
> common/src/java/org/apache/lucene/analysis/ca/
> common/src/java/org/apache/lucene/analysis/eu/
> common/src/java/org/apache/lucene/analysis/hy/
> common/src/java/org/apache/lucene/analysis/standa...
> 
> Author: rmuir
> Date: Tue Sep 28 15:33:22 2010
> New Revision: 1002221
> 
> URL: http://svn.apache.org/viewvc?rev=1002221&view=rev
> Log:
> LUCENE-2167: cut over these analyzers also
> 
> Modified:
> 
> lucene/dev/trunk/modules/analysis/common/src/java/org/apache/lucene/analys
> is/ca/CatalanAnalyzer.java
> 
> lucene/dev/trunk/modules/analysis/common/src/java/org/apache/lucene/analys
> is/eu/BasqueAnalyzer.java
> 
> lucene/dev/trunk/modules/analysis/common/src/java/org/apache/lucene/analys
> is/hy/ArmenianAnalyzer.java
> 
> lucene/dev/trunk/modules/analysis/common/src/java/org/apache/lucene/analys
> is/standard/StandardFilter.java
> 
> lucene/dev/trunk/modules/analysis/stempel/src/java/org/apache/lucene/analy
> sis/pl/PolishAnalyzer.java
> 
> Modified:
> lucene/dev/trunk/modules/analysis/common/src/java/org/apache/lucene/analys
> is/ca/CatalanAnalyzer.java
> URL:
> http://svn.apache.org/viewvc/lucene/dev/trunk/modules/analysis/common/src/
> java/org/apache/lucene/analysis/ca/CatalanAnalyzer.java?rev=1002221&r1=100
> 2220&r2=1002221&view=diff
> ==========================================================================
> ====
> ---
> lucene/dev/trunk/modules/analysis/common/src/java/org/apache/lucene/analys
> is/ca/CatalanAnalyzer.java (original)
> +++
> lucene/dev/trunk/modules/analysis/common/src/java/org/apache/lucene/analys
> is/ca/CatalanAnalyzer.java Tue Sep 28 15:33:22 2010
> @@ -119,7 +119,7 @@ public final class CatalanAnalyzer exten
>    protected TokenStreamComponents createComponents(String fieldName,
>        Reader reader) {
>      final Tokenizer source = new StandardTokenizer(matchVersion, reader);
> -    TokenStream result = new StandardFilter(source);
> +    TokenStream result = new StandardFilter(matchVersion, source);
>      result = new LowerCaseFilter(matchVersion, result);
>      result = new StopFilter(matchVersion, result, stopwords);
>      if(!stemExclusionSet.isEmpty())
> 
> Modified:
> lucene/dev/trunk/modules/analysis/common/src/java/org/apache/lucene/analys
> is/eu/BasqueAnalyzer.java
> URL:
> http://svn.apache.org/viewvc/lucene/dev/trunk/modules/analysis/common/src/
> java/org/apache/lucene/analysis/eu/BasqueAnalyzer.java?rev=1002221&r1=1002
> 220&r2=1002221&view=diff
> ==========================================================================
> ====
> ---
> lucene/dev/trunk/modules/analysis/common/src/java/org/apache/lucene/analys
> is/eu/BasqueAnalyzer.java (original)
> +++
> lucene/dev/trunk/modules/analysis/common/src/java/org/apache/lucene/analys
> is/eu/BasqueAnalyzer.java Tue Sep 28 15:33:22 2010
> @@ -119,7 +119,7 @@ public final class BasqueAnalyzer extend
>    protected TokenStreamComponents createComponents(String fieldName,
>        Reader reader) {
>      final Tokenizer source = new StandardTokenizer(matchVersion, reader);
> -    TokenStream result = new StandardFilter(source);
> +    TokenStream result = new StandardFilter(matchVersion, source);
>      result = new LowerCaseFilter(matchVersion, result);
>      result = new StopFilter(matchVersion, result, stopwords);
>      if(!stemExclusionSet.isEmpty())
> 
> Modified:
> lucene/dev/trunk/modules/analysis/common/src/java/org/apache/lucene/analys
> is/hy/ArmenianAnalyzer.java
> URL:
> http://svn.apache.org/viewvc/lucene/dev/trunk/modules/analysis/common/src/
> java/org/apache/lucene/analysis/hy/ArmenianAnalyzer.java?rev=1002221&r1=10
> 02220&r2=1002221&view=diff
> ==========================================================================
> ====
> ---
> lucene/dev/trunk/modules/analysis/common/src/java/org/apache/lucene/analys
> is/hy/ArmenianAnalyzer.java (original)
> +++
> lucene/dev/trunk/modules/analysis/common/src/java/org/apache/lucene/analys
> is/hy/ArmenianAnalyzer.java Tue Sep 28 15:33:22 2010
> @@ -119,7 +119,7 @@ public final class ArmenianAnalyzer exte
>    protected TokenStreamComponents createComponents(String fieldName,
>        Reader reader) {
>      final Tokenizer source = new StandardTokenizer(matchVersion, reader);
> -    TokenStream result = new StandardFilter(source);
> +    TokenStream result = new StandardFilter(matchVersion, source);
>      result = new LowerCaseFilter(matchVersion, result);
>      result = new StopFilter(matchVersion, result, stopwords);
>      if(!stemExclusionSet.isEmpty())
> 
> Modified:
> lucene/dev/trunk/modules/analysis/common/src/java/org/apache/lucene/analys
> is/standard/StandardFilter.java
> URL:
> http://svn.apache.org/viewvc/lucene/dev/trunk/modules/analysis/common/src/
> java/org/apache/lucene/analysis/standard/StandardFilter.java?rev=1002221&r
> 1=1002220&r2=1002221&view=diff
> ==========================================================================
> ====
> ---
> lucene/dev/trunk/modules/analysis/common/src/java/org/apache/lucene/analys
> is/standard/StandardFilter.java (original)
> +++
> lucene/dev/trunk/modules/analysis/common/src/java/org/apache/lucene/analys
> is/standard/StandardFilter.java Tue Sep 28 15:33:22 2010
> @@ -31,6 +31,8 @@ import org.apache.lucene.util.Version;
>  public class StandardFilter extends TokenFilter {
>    private final Version matchVersion;
> 
> +  /** @deprecated Use {@link #StandardFilter(Version, TokenStream)}
> instead. */
> +  @Deprecated
>    public StandardFilter(TokenStream in) {
>      this(Version.LUCENE_30, in);
>    }
> 
> Modified:
> lucene/dev/trunk/modules/analysis/stempel/src/java/org/apache/lucene/analy
> sis/pl/PolishAnalyzer.java
> URL:
> http://svn.apache.org/viewvc/lucene/dev/trunk/modules/analysis/stempel/src
> /java/org/apache/lucene/analysis/pl/PolishAnalyzer.java?rev=1002221&r1=100
> 2220&r2=1002221&view=diff
> ==========================================================================
> ====
> ---
> lucene/dev/trunk/modules/analysis/stempel/src/java/org/apache/lucene/analy
> sis/pl/PolishAnalyzer.java (original)
> +++
> lucene/dev/trunk/modules/analysis/stempel/src/java/org/apache/lucene/analy
> sis/pl/PolishAnalyzer.java Tue Sep 28 15:33:22 2010
> @@ -143,7 +143,7 @@ public final class PolishAnalyzer extend
>    protected TokenStreamComponents createComponents(String fieldName,
>        Reader reader) {
>      final Tokenizer source = new StandardTokenizer(matchVersion, reader);
> -    TokenStream result = new StandardFilter(source);
> +    TokenStream result = new StandardFilter(matchVersion, source);
>      result = new LowerCaseFilter(matchVersion, result);
>      result = new StopFilter(matchVersion, result, stopwords);
>      if(!stemExclusionSet.isEmpty())
> 

Mime
View raw message