#include <IncFPPushIndex.hpp>
Inheritance diagram for IncFPPushIndex:
Public Methods | |
IncFPPushIndex (const string &prefix, int cachesize=128000000, long maxfilesize=2100000000, DOCID_T startdocid=1) |
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. If used with an existing index, new documents are added incrementally.
|
opens the index named by prefix, if it exists, and initializes the state of the indexer to begin adding new documents. |