CLucene - a full-featured, c++ search engine
API Documentation
#include <Analyzers.h>
Public Member Functions | |
StopAnalyzer () | |
Builds an analyzer which removes words in ENGLISH_STOP_WORDS. | |
virtual | ~StopAnalyzer () |
StopAnalyzer (const TCHAR **stopWords) | |
Builds an analyzer which removes words in the provided array. | |
StopAnalyzer (const char *stopwordsFile, const char *enc=NULL) | |
Builds an analyzer with the stop words from the given file. | |
StopAnalyzer (lucene::util::Reader *stopwordsReader, const bool _bDeleteReader=false) | |
Builds an analyzer with the stop words from the given reader. | |
TokenStream * | tokenStream (const TCHAR *fieldName, lucene::util::Reader *reader) |
Filters LowerCaseTokenizer with StopFilter. | |
Static Public Attributes | |
static const TCHAR * | ENGLISH_STOP_WORDS [] |
An array containing some common English words that are not usually useful for searching. |
lucene::analysis::StopAnalyzer::StopAnalyzer | ( | ) |
Builds an analyzer which removes words in ENGLISH_STOP_WORDS.
virtual lucene::analysis::StopAnalyzer::~StopAnalyzer | ( | ) | [virtual] |
lucene::analysis::StopAnalyzer::StopAnalyzer | ( | const TCHAR ** | stopWords | ) |
Builds an analyzer which removes words in the provided array.
lucene::analysis::StopAnalyzer::StopAnalyzer | ( | const char * | stopwordsFile, | |
const char * | enc = NULL | |||
) |
Builds an analyzer with the stop words from the given file.
lucene::analysis::StopAnalyzer::StopAnalyzer | ( | lucene::util::Reader * | stopwordsReader, | |
const bool | _bDeleteReader = false | |||
) |
Builds an analyzer with the stop words from the given reader.
TokenStream* lucene::analysis::StopAnalyzer::tokenStream | ( | const TCHAR * | fieldName, | |
lucene::util::Reader * | reader | |||
) | [virtual] |
const TCHAR* lucene::analysis::StopAnalyzer::ENGLISH_STOP_WORDS[] [static] |
An array containing some common English words that are not usually useful for searching.