#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
int32_t min
Definition LengthFilter.h:24
int32_t max
Definition LengthFilter.h:25
LengthFilter(const TokenStreamPtr &input, int32_t min, int32_t max)
Build a filter that removes words that are too long or too short from the text.
TermAttributePtr termAtt
Definition LengthFilter.h:28
virtual bool incrementToken()
Returns the next input Token whose term() is the right len.
TokenFilter(const TokenStreamPtr &input)
Construct a token stream filtering the given input.
TokenStreamPtr input
The source of tokens for this filter.
Definition TokenFilter.h:30
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< TokenStream > TokenStreamPtr
Definition LuceneTypes.h:63
boost::shared_ptr< TermAttribute > TermAttributePtr
Definition LuceneTypes.h:58