#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
Removes words that are too long or too short from the stream.
Definition LengthFilter.h:15
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.
A TokenFilter is a TokenStream whose input is another TokenStream.
Definition TokenFilter.h:18
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< TokenStream > TokenStreamPtr
Definition LuceneTypes.h:63
boost::shared_ptr< TermAttribute > TermAttributePtr
Definition LuceneTypes.h:58