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 CharArraySetCharArraySet.EMPTY_SETAn emptyCharArraySet.protected final CharArraySetStopwordAnalyzerBase.stopwordsAn immutable stopword setMethods in org.apache.lucene.analysis that return CharArraySetModifier and TypeMethodDescriptionstatic CharArraySetReturns a copy of the given set as aCharArraySet.protected final CharArraySetAbstractAnalysisFactory.getSnowballWordSet(ResourceLoader loader, String wordFiles, boolean ignoreCase) same asAbstractAnalysisFactory.getWordSet(ResourceLoader, String, boolean), except the input is in snowball format.static CharArraySetWordlistLoader.getSnowballWordSet(InputStream stream) Reads stopwords from a stopword list in Snowball format.static CharArraySetWordlistLoader.getSnowballWordSet(InputStream stream, Charset charset) Reads stopwords from a stopword list in Snowball format.static CharArraySetWordlistLoader.getSnowballWordSet(Reader reader) Reads stopwords from a stopword list in Snowball format.static CharArraySetWordlistLoader.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 CharArraySetAbstractAnalysisFactory.getWordSet(ResourceLoader loader, String wordFiles, boolean ignoreCase) Returns asCharArraySetfrom wordFiles, which can be a comma-separated list of filenamesstatic CharArraySetWordlistLoader.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 CharArraySetWordlistLoader.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 CharArraySetWordlistLoader.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 CharArraySetWordlistLoader.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 CharArraySetWordlistLoader.getWordSet(Reader reader) Reads lines from a Reader and adds every line as an entry to a CharArraySet (omitting leading and trailing whitespace).static CharArraySetWordlistLoader.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 CharArraySetWordlistLoader.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 CharArraySetWordlistLoader.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 CharArraySetCharArrayMap.keySet()Returns anCharArraySetview on the map's keys.protected static CharArraySetStopwordAnalyzerBase.loadStopwordSet(Reader stopwords) Creates a CharArraySet from a file.protected static CharArraySetStopwordAnalyzerBase.loadStopwordSet(Path stopwords) Creates a CharArraySet from a path.static CharArraySetStopFilter.makeStopSet(String... stopWords) Builds a Set from an array of stop words, appropriate for passing into the StopFilter constructor.static CharArraySetStopFilter.makeStopSet(String[] stopWords, boolean ignoreCase) Creates a stopword set from the given stopword array.static CharArraySetStopFilter.makeStopSet(List<?> stopWords) Builds a Set from an array of stop words, appropriate for passing into the StopFilter constructor.static CharArraySetStopFilter.makeStopSet(List<?> stopWords, boolean ignoreCase) Creates a stopword set from the given stopword list.static CharArraySetCharArraySet.unmodifiableSet(CharArraySet set) Returns an unmodifiableCharArraySet.Methods in org.apache.lucene.analysis with parameters of type CharArraySetModifier and TypeMethodDescriptionstatic CharArraySetWordlistLoader.getSnowballWordSet(Reader reader, CharArraySet result) Reads stopwords from a stopword list in Snowball format.static CharArraySetWordlistLoader.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 CharArraySetWordlistLoader.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 CharArraySetCharArraySet.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.protectedStopwordAnalyzerBase(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.