Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

PushIndex Class Reference

Abstract Class for push method of building an index. More...

#include <PushIndex.hpp>

Inheritance diagram for PushIndex:

InvPushIndex KeyfileIncIndex InvFPPushIndex IncFPPushIndex InvPassagePushIndex IncPassagePushIndex List of all members.

Public Methods

virtual ~PushIndex ()
virtual bool beginDoc (const DocumentProps *dp)=0
 the beginning of a new document, returns true if initiation was successful

virtual bool addTerm (const Term &t)=0
 adding a term to the current document, returns true if term was added successfully.

virtual void endDoc (const DocumentProps *dp)=0
 signify the end of current document

virtual void endCollection (const CollectionProps *cp)=0
 signify the end of this collection. properties passed at the beginning of a collection should be handled by the constructor.

virtual void setDocManager (const string &mgrID)=0

Detailed Description

Abstract Class for push method of building an index.

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).


Constructor & Destructor Documentation

virtual PushIndex::~PushIndex   [inline, virtual]
 


Member Function Documentation

virtual bool PushIndex::addTerm const Term   t [pure virtual]
 

adding a term to the current document, returns true if term was added successfully.

Implemented in IncPassagePushIndex, InvFPPushIndex, InvPassagePushIndex, InvPushIndex, and KeyfileIncIndex.

virtual bool PushIndex::beginDoc const DocumentProps   dp [pure virtual]
 

the beginning of a new document, returns true if initiation was successful

Implemented in IncPassagePushIndex, InvPassagePushIndex, InvPushIndex, and KeyfileIncIndex.

virtual void PushIndex::endCollection const CollectionProps   cp [pure virtual]
 

signify the end of this collection. properties passed at the beginning of a collection should be handled by the constructor.

Implemented in InvFPPushIndex, InvPushIndex, and KeyfileIncIndex.

virtual void PushIndex::endDoc const DocumentProps   dp [pure virtual]
 

signify the end of current document

Implemented in InvPushIndex, and KeyfileIncIndex.

virtual void PushIndex::setDocManager const string &    mgrID [pure virtual]
 

Implemented in InvPushIndex, and KeyfileIncIndex.


The documentation for this class was generated from the following file:
Generated on Wed Nov 3 12:59:52 2004 for Lemur Toolkit by doxygen1.2.18