40 static const wchar_t* _ENGLISH_STOP_WORDS_SET[];
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
An Analyzer builds TokenStreams, which analyze text. It thus represents a policy for extracting index...
Definition Analyzer.h:19
Utility template class to handle hash set collections that can be safely copied and shared.
Definition HashSet.h:17
Version
Definition Constants.h:40
Filters LetterTokenizer with LowerCaseFilter and StopFilter.
Definition StopAnalyzer.h:18
virtual TokenStreamPtr reusableTokenStream(const String &fieldName, const ReaderPtr &reader)
Creates a TokenStream that is allowed to be re-used from the previous time that the same thread calle...
StopAnalyzer(LuceneVersion::Version matchVersion, const String &stopwordsFile)
Builds an analyzer with the stop words from the given file.
StopAnalyzer(LuceneVersion::Version matchVersion, HashSet< String > stopWords)
Builds an analyzer with the stop words from the given set.
StopAnalyzer(LuceneVersion::Version matchVersion, const ReaderPtr &stopwords)
Builds an analyzer with the stop words from the given reader.
static const HashSet< String > ENGLISH_STOP_WORDS_SET()
An unmodifiable set containing some common English words that are usually not useful for searching.
HashSet< String > stopWords
Definition StopAnalyzer.h:37
virtual TokenStreamPtr tokenStream(const String &fieldName, const ReaderPtr &reader)
Creates a TokenStream which tokenizes all the text in the provided Reader. Must be able to handle nul...
bool enablePositionIncrements
Definition StopAnalyzer.h:38
StopAnalyzer(LuceneVersion::Version matchVersion)
Builds an analyzer which removes words in ENGLISH_STOP_WORDS_SET.
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< TokenStream > TokenStreamPtr
Definition LuceneTypes.h:63
boost::shared_ptr< Reader > ReaderPtr
Definition LuceneTypes.h:547