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

InvFPPushIndex Class Reference

#include <InvFPPushIndex.hpp>

Inheritance diagram for InvFPPushIndex:

PushIndex List of all members.

Public Methods

 InvFPPushIndex (char *prefix="DefaultIndex",int cachesize=128000000,long maxfilesize=2100000000,DOCID_T startdocid=1)
 ~InvFPPushIndex ()
void setName (char *prefix)
 sets the name for this index. the name will be the prefix for all files related to this index.

bool beginDoc (DocumentProps *dp)
 the beginning of a new document, returns true if initiation was successful.

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

void endDoc (DocumentProps *dp)
 signify the end of current document.

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


Constructor & Destructor Documentation

InvFPPushIndex::InvFPPushIndex ( char * prefix = "DefaultIndex",
int cachesize = 128000000,
long maxfilesize = 2100000000,
DOCID_T startdocid = 1 )
 

InvFPPushIndex::~InvFPPushIndex ( )
 


Member Function Documentation

bool InvFPPushIndex::addTerm ( Term & t ) [virtual]
 

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

Reimplemented from PushIndex.

bool InvFPPushIndex::beginDoc ( DocumentProps * dp ) [virtual]
 

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

Reimplemented from PushIndex.

void InvFPPushIndex::endCollection ( CollectionProps * cp ) [virtual]
 

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

Reimplemented from PushIndex.

void InvFPPushIndex::endDoc ( DocumentProps * dp ) [virtual]
 

signify the end of current document.

Reimplemented from PushIndex.

void InvFPPushIndex::setName ( char * prefix )
 

sets the name for this index. the name will be the prefix for all files related to this index.


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