Package org.apache.lucene.analysis.util
Class StopwordAnalyzerBase
- java.lang.Object
-
- org.apache.lucene.analysis.Analyzer
-
- org.apache.lucene.analysis.util.StopwordAnalyzerBase
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
- Direct Known Subclasses:
ArabicAnalyzer
,ArmenianAnalyzer
,BasqueAnalyzer
,BrazilianAnalyzer
,BulgarianAnalyzer
,CatalanAnalyzer
,CJKAnalyzer
,ClassicAnalyzer
,CzechAnalyzer
,DanishAnalyzer
,EnglishAnalyzer
,FinnishAnalyzer
,FrenchAnalyzer
,GalicianAnalyzer
,GermanAnalyzer
,GreekAnalyzer
,HindiAnalyzer
,HungarianAnalyzer
,IndonesianAnalyzer
,IrishAnalyzer
,ItalianAnalyzer
,LatvianAnalyzer
,NorwegianAnalyzer
,PersianAnalyzer
,PortugueseAnalyzer
,RomanianAnalyzer
,RussianAnalyzer
,SoraniAnalyzer
,SpanishAnalyzer
,StandardAnalyzer
,StopAnalyzer
,SwedishAnalyzer
,ThaiAnalyzer
,TurkishAnalyzer
,UAX29URLEmailAnalyzer
public abstract class StopwordAnalyzerBase extends Analyzer
Base class for Analyzers that need to make use of stopword sets.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.lucene.analysis.Analyzer
Analyzer.GlobalReuseStrategy, Analyzer.PerFieldReuseStrategy, Analyzer.ReuseStrategy, 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 Modifier and Type Method Description CharArraySet
getStopwordSet()
Returns the analyzer's stopword set or an empty set if the analyzer has no stopwords-
Methods inherited from class org.apache.lucene.analysis.Analyzer
close, getOffsetGap, getPositionIncrementGap, getReuseStrategy, tokenStream, tokenStream
-
-
-
-
Method Detail
-
getStopwordSet
public CharArraySet getStopwordSet()
Returns the analyzer's stopword set or an empty set if the analyzer has no stopwords- Returns:
- the analyzer's stopword set or an empty set if the analyzer has no stopwords
-
-