Main Page   Namespace List   Class Hierarchy   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 InvFPPushIndex List of all members.

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.

virtual void setDocManager (const char *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

PushIndex::~PushIndex ( ) [inline, virtual]
 


Member Function Documentation

bool PushIndex::addTerm ( Term & t ) [pure virtual]
 

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

Reimplemented in InvFPPushIndex, and InvPushIndex.

bool PushIndex::beginDoc ( DocumentProps * dp ) [pure virtual]
 

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

Reimplemented in InvPushIndex.

void PushIndex::endCollection ( CollectionProps * cp ) [pure virtual]
 

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

Reimplemented in InvFPPushIndex, and InvPushIndex.

void PushIndex::endDoc ( DocumentProps * dp ) [pure virtual]
 

signify the end of current document.

Reimplemented in InvPushIndex.

virtual void PushIndex::setDocManager ( const char * mgrID ) [pure virtual]
 

Reimplemented in InvPushIndex.


The documentation for this class was generated from the following file:
Generated at Fri Jul 26 18:27:14 2002 for LEMUR by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000