Class SnowballAnalyzer

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    @Deprecated
    public final class SnowballAnalyzer
    extends org.apache.lucene.analysis.Analyzer
    Deprecated.
    (3.1) Use the language-specific analyzer in modules/analysis instead. This analyzer WAS removed in Lucene 5.0
    Filters StandardTokenizer with LowerCaseFilter, StopFilter and SnowballFilter. Available stemmers are listed in org.tartarus.snowball.ext. The name of a stemmer is the part of the class name before "Stemmer", e.g., the stemmer in EnglishStemmer is named "English".
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.lucene.analysis.Analyzer

        org.apache.lucene.analysis.Analyzer.ReuseStrategy, org.apache.lucene.analysis.Analyzer.TokenStreamComponents
    • Field Summary

      • Fields inherited from class org.apache.lucene.analysis.Analyzer

        GLOBAL_REUSE_STRATEGY, PER_FIELD_REUSE_STRATEGY
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      org.apache.lucene.analysis.Analyzer.TokenStreamComponents createComponents​(java.lang.String fieldName)
      Deprecated.
      Constructs a StandardTokenizer filtered by a LowerCaseFilter, a StopFilter, and a SnowballFilter
      • Methods inherited from class org.apache.lucene.analysis.Analyzer

        attributeFactory, close, getOffsetGap, getPositionIncrementGap, getReuseStrategy, getVersion, initReader, initReaderForNormalization, normalize, normalize, setVersion, tokenStream, tokenStream
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • createComponents

        public org.apache.lucene.analysis.Analyzer.TokenStreamComponents createComponents​(java.lang.String fieldName)
        Deprecated.
        Constructs a StandardTokenizer filtered by a LowerCaseFilter, a StopFilter, and a SnowballFilter
        Specified by:
        createComponents in class org.apache.lucene.analysis.Analyzer