Example usage for Java org.apache.lucene.analysis StopFilter fields, constructors, methods, implement or subclass
The text is from its open source code.
StopFilter(TokenStream in, CharArraySet stopWords) Constructs a filter which removes words from the input TokenStream that are named in the Set. |
CharArraySet | makeStopSet(String... stopWords) Builds a Set from an array of stop words, appropriate for passing into the StopFilter constructor. |
CharArraySet | makeStopSet(List> stopWords) Builds a Set from an array of stop words, appropriate for passing into the StopFilter constructor. |
CharArraySet | makeStopSet(String[] stopWords, boolean ignoreCase) Creates a stopword set from the given stopword array. |
CharArraySet | makeStopSet(List> stopWords, boolean ignoreCase) Creates a stopword set from the given stopword list. |