Package org.opensearch.analysis.common
Class SnowballAnalyzerProvider
java.lang.Object
org.opensearch.index.AbstractIndexComponent
org.opensearch.index.analysis.AbstractIndexAnalyzerProvider<SnowballAnalyzer>
org.opensearch.analysis.common.SnowballAnalyzerProvider
- All Implemented Interfaces:
Provider<SnowballAnalyzer>,AnalyzerProvider<SnowballAnalyzer>,IndexComponent
public class SnowballAnalyzerProvider extends AbstractIndexAnalyzerProvider<SnowballAnalyzer>
Creates a SnowballAnalyzer initialized with stopwords and Snowball filter. Only
supports Dutch, English (default), French, German and German2 where stopwords
are readily available. For other languages available with the Lucene Snowball
Stemmer, use them directly with the SnowballFilter and a CustomAnalyzer.
Configuration of language is done with the "language" attribute or the analyzer.
Also supports additional stopwords via "stopwords" attribute
The SnowballAnalyzer comes with a LowerCaseFilter, StopFilter and the SnowballFilter.
-
Field Summary
Fields inherited from class org.opensearch.index.AbstractIndexComponent
deprecationLogger, indexSettings, logger -
Method Summary
Modifier and Type Method Description SnowballAnalyzerget()Methods inherited from class org.opensearch.index.analysis.AbstractIndexAnalyzerProvider
name, scope