Class StopAnalyzer

All Implemented Interfaces:
Closeable, AutoCloseable

public final class StopAnalyzer extends StopwordAnalyzerBase
Filters LetterTokenizer with LowerCaseFilter and StopFilter.

You must specify the required Version compatibility when creating StopAnalyzer:

  • As of 3.1, StopFilter correctly handles Unicode 4.0 supplementary characters in stopwords
  • As of 2.9, position increments are preserved
  • Field Details

    • ENGLISH_STOP_WORDS_SET

      public static final CharArraySet ENGLISH_STOP_WORDS_SET
      An unmodifiable set containing some common English words that are not usually useful for searching.
  • Constructor Details