Class SnowballAnalyzer

java.lang.Object
org.apache.lucene.analysis.Analyzer
org.opensearch.analysis.common.SnowballAnalyzer
All Implemented Interfaces:
Closeable, 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

    Modifier and Type
    Method
    Description
    org.apache.lucene.analysis.Analyzer.TokenStreamComponents
    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, initReader, initReaderForNormalization, normalize, normalize, tokenStream, tokenStream

    Methods inherited from class java.lang.Object

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

    • createComponents

      public org.apache.lucene.analysis.Analyzer.TokenStreamComponents createComponents(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