#include <InvFPPushIndex.hpp>
Inheritance diagram for InvFPPushIndex:
Public Methods | |
InvFPPushIndex () | |
InvFPPushIndex (const string &prefix, int cachesize=128000000, long maxfilesize=2100000000, DOCID_T startdocid=1) | |
~InvFPPushIndex () | |
bool | addTerm (const Term &t) |
adding a term to the current document, returns true if term was added successfully. | |
void | endCollection (const CollectionProps *cp) |
signify the end of this collection. properties passed at the beginning of a collection should be handled by the constructor. | |
Protected Methods | |
void | writeTOC (int numinv) |
void | doendDoc (const DocumentProps *dp, int mgrid) |
signify the end of current document | |
Protected Attributes | |
vector< LocatedTerm > | termlist |
table of all terms and their doclists |
This class builds an index assigning termids, docids, tracking locations of term within documents, and tracking terms within documents. It also expects a DocumentProp to have the total number of terms that were in a document. It expects that all stopping and stemming (if any) occurs before the term is passed in.
|
|
|
|
|
|
|
adding a term to the current document, returns true if term was added successfully.
Reimplemented from InvPushIndex. Reimplemented in IncPassagePushIndex, and InvPassagePushIndex. |
|
signify the end of current document
Reimplemented from InvPushIndex. Reimplemented in IncPassagePushIndex, and InvPassagePushIndex. |
|
signify the end of this collection. properties passed at the beginning of a collection should be handled by the constructor.
Reimplemented from InvPushIndex. |
|
Reimplemented from InvPushIndex. |
|
table of all terms and their doclists
Reimplemented from InvPushIndex. |