Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
7 #ifndef CACHINGTOKENFILTER_H
8 #define CACHINGTOKENFILTER_H
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
virtual void end()
Performs end-of-stream operations, if any, and calls then end() on the input TokenStream....
This class can be used if the token attributes of a TokenStream are intended to be consumed more than...
Definition: CachingTokenFilter.h:19
boost::shared_ptr< AttributeSourceState > AttributeSourceStatePtr
Definition: LuceneTypes.h:521
virtual ~CachingTokenFilter()
CachingTokenFilter(const TokenStreamPtr &input)
A TokenFilter is a TokenStream whose input is another TokenStream.
Definition: TokenFilter.h:18
Definition: AbstractAllTermDocs.h:12
Collection< AttributeSourceStatePtr > cache
Definition: CachingTokenFilter.h:24
AttributeSourceStatePtr finalState
Definition: CachingTokenFilter.h:29
Collection< AttributeSourceStatePtr >::iterator iterator
Definition: CachingTokenFilter.h:28
virtual void reset()
Reset the filter as well as the input TokenStream.
boost::shared_ptr< TokenStream > TokenStreamPtr
Definition: LuceneTypes.h:63
virtual bool incrementToken()
Consumers (ie., IndexWriter) use this method to advance the stream to the next token....
clucene.sourceforge.net