ClassicAnalyzer
Filters ClassicTokenizer with ClassicFilter, LowerCaseFilter and StopFilter, using a list of English stop words.
ClassicAnalyzer was named StandardAnalyzer in Lucene versions prior to 3.1. As of 3.1, [StandardAnalyzer] implements Unicode text segmentation, as specified by UAX#29.
Since
3.1
Constructors
Link copied to clipboard
An unmodifiable set containing some common English words that are usually not useful for searching.
constructor()
Builds an analyzer with the default stop words (STOP_WORDS_SET).
Builds an analyzer with the stop words from the given reader.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Set maximum allowed token length. If a token is seen that exceeds this length then it is discarded. This setting only takes effect the next time tokenStream or tokenStream is called.
Link copied to clipboard