Uses of Class
org.apache.lucene.analysis.CharArraySet
-
-
Uses of CharArraySet in org.apache.lucene.analysis
Fields in org.apache.lucene.analysis declared as CharArraySet Modifier and Type Field Description static CharArraySetCharArraySet. EMPTY_SETAn emptyCharArraySet.protected CharArraySetStopwordAnalyzerBase. stopwordsAn immutable stopword setMethods in org.apache.lucene.analysis that return CharArraySet Modifier and Type Method Description static CharArraySetCharArraySet. copy(Set<?> set)Returns a copy of the given set as aCharArraySet.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.CharArraySetStopwordAnalyzerBase. getStopwordSet()Returns the analyzer's stopword set or an empty set if the analyzer has no stopwordsstatic 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-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 line as an entry to a CharArraySet (omitting leading and trailing whitespace).CharArraySetCharArrayMap. keySet()Returns anCharArraySetview on the map's keys.protected static CharArraySetStopwordAnalyzerBase. loadStopwordSet(boolean ignoreCase, Class<? extends Analyzer> aClass, String resource, String comment)Creates a CharArraySet from a file resource associated with a class.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 CharArraySet Modifier and Type Method Description static 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-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 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 CharArraySet Constructor Description StopFilter(TokenStream in, CharArraySet stopWords)Constructs a filter which removes words from the input TokenStream that are named in the Set.StopwordAnalyzerBase(CharArraySet stopwords)Creates a new instance initialized with the given stopword set -
Uses of CharArraySet in org.apache.lucene.analysis.core
Constructors in org.apache.lucene.analysis.core with parameters of type CharArraySet Constructor Description StopAnalyzer(CharArraySet stopWords)Builds an analyzer with the stop words from the given set. -
Uses of CharArraySet in org.apache.lucene.analysis.en
Fields in org.apache.lucene.analysis.en declared as CharArraySet Modifier and Type Field Description static CharArraySetEnglishAnalyzer. ENGLISH_STOP_WORDS_SETAn unmodifiable set containing some common English words that are not usually useful for searching.Methods in org.apache.lucene.analysis.en that return CharArraySet Modifier and Type Method Description static CharArraySetEnglishAnalyzer. getDefaultStopSet()Returns an unmodifiable instance of the default stop words set.Constructors in org.apache.lucene.analysis.en with parameters of type CharArraySet Constructor Description EnglishAnalyzer(CharArraySet stopwords)Builds an analyzer with the given stop words.EnglishAnalyzer(CharArraySet stopwords, CharArraySet stemExclusionSet)Builds an analyzer with the given stop words. -
Uses of CharArraySet in org.apache.lucene.analysis.miscellaneous
Constructors in org.apache.lucene.analysis.miscellaneous with parameters of type CharArraySet Constructor Description SetKeywordMarkerFilter(TokenStream in, CharArraySet keywordSet)Create a new KeywordSetMarkerFilter, that marks the current token as a keyword if the tokens term buffer is contained in the given set via theKeywordAttribute. -
Uses of CharArraySet in org.apache.lucene.analysis.standard
Fields in org.apache.lucene.analysis.standard declared as CharArraySet Modifier and Type Field Description static CharArraySetClassicAnalyzer. STOP_WORDS_SETAn unmodifiable set containing some common English words that are usually not useful for searching.Constructors in org.apache.lucene.analysis.standard with parameters of type CharArraySet Constructor Description ClassicAnalyzer(CharArraySet stopWords)Builds an analyzer with the given stop words.StandardAnalyzer(CharArraySet stopWords)Builds an analyzer with the given stop words. -
Uses of CharArraySet in org.apache.lucene.analysis.util
Methods in org.apache.lucene.analysis.util that return CharArraySet Modifier and Type Method Description protected CharArraySetAbstractAnalysisFactory. getSnowballWordSet(ResourceLoader loader, String wordFiles, boolean ignoreCase)same asAbstractAnalysisFactory.getWordSet(ResourceLoader, String, boolean), except the input is in snowball format.protected CharArraySetAbstractAnalysisFactory. getWordSet(ResourceLoader loader, String wordFiles, boolean ignoreCase)Returns asCharArraySetfrom wordFiles, which can be a comma-separated list of filenames -
Uses of CharArraySet in org.apache.lucene.search.suggest.analyzing
Constructors in org.apache.lucene.search.suggest.analyzing with parameters of type CharArraySet Constructor Description SuggestStopFilter(TokenStream input, CharArraySet stopWords)Sole constructor. -
Uses of CharArraySet in org.elasticsearch.index.analysis
Methods in org.elasticsearch.index.analysis that return CharArraySet Modifier and Type Method Description static CharArraySetAnalysis. getWordSet(Environment env, Settings settings, String settingsPrefix)static CharArraySetAnalysis. parseArticles(Environment env, Settings settings)static CharArraySetAnalysis. parseCommonWords(Environment env, Settings settings, CharArraySet defaultCommonWords, boolean ignoreCase)static CharArraySetAnalysis. parseStemExclusion(Settings settings, CharArraySet defaultStemExclusion)static CharArraySetAnalysis. parseStopWords(Environment env, Settings settings, CharArraySet defaultStopWords)static CharArraySetAnalysis. parseStopWords(Environment env, Settings settings, CharArraySet defaultStopWords, boolean ignoreCase)static CharArraySetAnalysis. parseWords(Environment env, Settings settings, String name, CharArraySet defaultWords, Map<String,Set<?>> namedWords, boolean ignoreCase)Methods in org.elasticsearch.index.analysis with parameters of type CharArraySet Modifier and Type Method Description static CharArraySetAnalysis. parseCommonWords(Environment env, Settings settings, CharArraySet defaultCommonWords, boolean ignoreCase)static CharArraySetAnalysis. parseStemExclusion(Settings settings, CharArraySet defaultStemExclusion)static CharArraySetAnalysis. parseStopWords(Environment env, Settings settings, CharArraySet defaultStopWords)static CharArraySetAnalysis. parseStopWords(Environment env, Settings settings, CharArraySet defaultStopWords, boolean ignoreCase)static CharArraySetAnalysis. parseWords(Environment env, Settings settings, String name, CharArraySet defaultWords, Map<String,Set<?>> namedWords, boolean ignoreCase)
-