Uses of Class
org.apache.lucene.analysis.CharArraySet
Packages that use CharArraySet
Package
Description
Text analysis.
Fast, general-purpose grammar-based tokenizer
StandardTokenizer
implements the Word Break rules from the
Unicode Text Segmentation algorithm, as specified in Unicode Standard Annex #29.-
Uses of CharArraySet in org.apache.lucene.analysis
Fields in org.apache.lucene.analysis declared as CharArraySetModifier and TypeFieldDescriptionstatic final CharArraySet
CharArraySet.EMPTY_SET
An emptyCharArraySet
.protected final CharArraySet
StopwordAnalyzerBase.stopwords
An immutable stopword setMethods in org.apache.lucene.analysis that return CharArraySetModifier and TypeMethodDescriptionstatic CharArraySet
Returns a copy of the given set as aCharArraySet
.protected final CharArraySet
AbstractAnalysisFactory.getSnowballWordSet
(ResourceLoader loader, String wordFiles, boolean ignoreCase) same asAbstractAnalysisFactory.getWordSet(ResourceLoader, String, boolean)
, except the input is in snowball format.static CharArraySet
WordlistLoader.getSnowballWordSet
(InputStream stream) Reads stopwords from a stopword list in Snowball format.static CharArraySet
WordlistLoader.getSnowballWordSet
(InputStream stream, Charset charset) Reads stopwords from a stopword list in Snowball format.static CharArraySet
WordlistLoader.getSnowballWordSet
(Reader reader) Reads stopwords from a stopword list in Snowball format.static CharArraySet
WordlistLoader.getSnowballWordSet
(Reader reader, CharArraySet result) Reads stopwords from a stopword list in Snowball format.StopwordAnalyzerBase.getStopwordSet()
Returns the analyzer's stopword set or an empty set if the analyzer has no stopwordsprotected final CharArraySet
AbstractAnalysisFactory.getWordSet
(ResourceLoader loader, String wordFiles, boolean ignoreCase) Returns asCharArraySet
from wordFiles, which can be a comma-separated list of filenamesstatic CharArraySet
WordlistLoader.getWordSet
(InputStream stream) Reads lines from an InputStream with UTF-8 charset and adds every line as an entry to a CharArraySet (omitting leading and trailing whitespace).static CharArraySet
WordlistLoader.getWordSet
(InputStream stream, String comment) Reads lines from an InputStream with UTF-8 charset and adds every non-comment line as an entry to a CharArraySet (omitting leading and trailing whitespace).static CharArraySet
WordlistLoader.getWordSet
(InputStream stream, Charset charset) Reads lines from an InputStream with the given charset and adds every line as an entry to a CharArraySet (omitting leading and trailing whitespace).static CharArraySet
WordlistLoader.getWordSet
(InputStream stream, Charset charset, String comment) Reads lines from an InputStream with the given charset and adds every non-comment line as an entry to a CharArraySet (omitting leading and trailing whitespace).static CharArraySet
WordlistLoader.getWordSet
(Reader reader) Reads lines from a Reader and adds every line as an entry to a CharArraySet (omitting leading and trailing whitespace).static CharArraySet
WordlistLoader.getWordSet
(Reader reader, String comment) Reads lines from a Reader and adds every non-comment line as an entry to a CharArraySet (omitting leading and trailing whitespace).static CharArraySet
WordlistLoader.getWordSet
(Reader reader, String comment, CharArraySet result) Reads lines from a Reader and adds every non-blank non-comment line as an entry to a CharArraySet (omitting leading and trailing whitespace).static CharArraySet
WordlistLoader.getWordSet
(Reader reader, CharArraySet result) Reads lines from a Reader and adds every non-blank line as an entry to a CharArraySet (omitting leading and trailing whitespace).final CharArraySet
CharArrayMap.keySet()
Returns anCharArraySet
view on the map's keys.protected static CharArraySet
StopwordAnalyzerBase.loadStopwordSet
(Reader stopwords) Creates a CharArraySet from a file.protected static CharArraySet
StopwordAnalyzerBase.loadStopwordSet
(Path stopwords) Creates a CharArraySet from a path.static CharArraySet
StopFilter.makeStopSet
(String... stopWords) Builds a Set from an array of stop words, appropriate for passing into the StopFilter constructor.static CharArraySet
StopFilter.makeStopSet
(String[] stopWords, boolean ignoreCase) Creates a stopword set from the given stopword array.static CharArraySet
StopFilter.makeStopSet
(List<?> stopWords) Builds a Set from an array of stop words, appropriate for passing into the StopFilter constructor.static CharArraySet
StopFilter.makeStopSet
(List<?> stopWords, boolean ignoreCase) Creates a stopword set from the given stopword list.static CharArraySet
CharArraySet.unmodifiableSet
(CharArraySet set) Returns an unmodifiableCharArraySet
.Methods in org.apache.lucene.analysis with parameters of type CharArraySetModifier and TypeMethodDescriptionstatic CharArraySet
WordlistLoader.getSnowballWordSet
(Reader reader, CharArraySet result) Reads stopwords from a stopword list in Snowball format.static CharArraySet
WordlistLoader.getWordSet
(Reader reader, String comment, CharArraySet result) Reads lines from a Reader and adds every non-blank non-comment line as an entry to a CharArraySet (omitting leading and trailing whitespace).static CharArraySet
WordlistLoader.getWordSet
(Reader reader, CharArraySet result) Reads lines from a Reader and adds every non-blank line as an entry to a CharArraySet (omitting leading and trailing whitespace).static CharArraySet
CharArraySet.unmodifiableSet
(CharArraySet set) Returns an unmodifiableCharArraySet
.Constructors in org.apache.lucene.analysis with parameters of type CharArraySetModifierConstructorDescriptionStopFilter
(TokenStream in, CharArraySet stopWords) Constructs a filter which removes words from the input TokenStream that are named in the Set.protected
StopwordAnalyzerBase
(CharArraySet stopwords) Creates a new instance initialized with the given stopword set -
Uses of CharArraySet in org.apache.lucene.analysis.standard
Constructors in org.apache.lucene.analysis.standard with parameters of type CharArraySetModifierConstructorDescriptionStandardAnalyzer
(CharArraySet stopWords) Builds an analyzer with the given stop words.