CLucene - a full-featured, c++ search engine
API Documentation
#include <Analyzers.h>
Public Member Functions | |
LengthFilter (TokenStream *in, const size_t _min, const size_t _max) | |
Build a filter that removes words that are too long or too short from the text. | |
bool | next (Token *token) |
Returns the next input Token whose termText() is the right len. |
lucene::analysis::LengthFilter::LengthFilter | ( | TokenStream * | in, | |
const size_t | _min, | |||
const size_t | _max | |||
) |
Build a filter that removes words that are too long or too short from the text.
bool lucene::analysis::LengthFilter::next | ( | Token * | token | ) | [virtual] |
Returns the next input Token whose termText() is the right len.
Implements lucene::analysis::TokenStream.