#include <PushIndex.hpp>
Inheritance diagram for PushIndex:
Public Methods | |
virtual | ~PushIndex () |
virtual bool | beginDoc (DocumentProps *dp)=0 |
the beginning of a new document, returns true if initiation was successful. | |
virtual bool | addTerm (Term &t)=0 |
adding a term to the current document, returns true if term was added successfully. | |
virtual void | endDoc (DocumentProps *dp)=0 |
signify the end of current document. | |
virtual void | endCollection (CollectionProps *cp)=0 |
signify the end of this collection. properties passed at the beginning of a collection should be handled by the constructor. |
This is an abstract class that provides a uniform interface for building an indexed document collection where the index is unaware of the parser (docstream).
|
|
|
adding a term to the current document, returns true if term was added successfully.
Reimplemented in InvFPPushIndex. |
|
the beginning of a new document, returns true if initiation was successful.
Reimplemented in InvFPPushIndex. |
|
signify the end of this collection. properties passed at the beginning of a collection should be handled by the constructor.
Reimplemented in InvFPPushIndex. |
|
signify the end of current document.
Reimplemented in InvFPPushIndex. |