Lucene++ - a full-featured, c++ search engine
API Documentation
TokenStream(const AttributeFactoryPtr &factory)
A TokenStream using the supplied AttributeFactory for creating new Attribute instances.
TokenStream(const AttributeSourcePtr &input)
A TokenStream that uses the same attributes as the supplied one.
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
virtual bool incrementToken()=0
Consumers (ie., IndexWriter) use this method to advance the stream to the next token....
A TokenStream enumerates the sequence of tokens, either from Fields of a Document or from query text.
Definition: TokenStream.h:44
An AttributeSource contains a list of different Attributes, and methods to add and get them....
Definition: AttributeSource.h:43
TokenStream()
A TokenStream using the default attribute factory.
virtual void end()
This method is called by the consumer after the last token has been consumed, after incrementToken() ...
Definition: AbstractAllTermDocs.h:12
boost::shared_ptr< AttributeSource > AttributeSourcePtr
Definition: LuceneTypes.h:520
virtual void close()
Releases resources associated with this stream.
boost::shared_ptr< AttributeFactory > AttributeFactoryPtr
Definition: LuceneTypes.h:519
clucene.sourceforge.net