#include <PropIndexTH.hpp>
Inheritance diagram for lemur::parse::PropIndexTH:
Public Member Functions | |
PropIndexTH () | |
PropIndexTH (const string &filename, int bufferSize, bool countStopWds) | |
~PropIndexTH () | |
char * | handleDoc (char *docno) |
Pushes the doc into the InvFPPushIndex. | |
char * | handleWord (char *word, const char *original, PropertyList *list) |
Pushes the word into the InvFPPushIndex. | |
void | setDocManager (const string &mgrID) |
passes mgrID onto index | |
Protected Member Functions | |
void | endDoc () |
Ends a document in the collection. | |
void | endCollection () |
Protected Attributes | |
lemur::index::PushIndex * | index |
The indexer. | |
DocumentProps * | dp |
Document properties object to be reused over repeated calls. | |
lemur::index::InvFPTerm * | term |
Term object to be reused over repeated calls. | |
int | docLength |
Keeps track of document length. | |
bool | countStopWds |
Indicates whether or not to count stop words in doc length. | |
bool | first |
|
|
|
Create a PropIndexTH with index name filename (minus the .ifp extension) and specified buffer size. |
|
|
|
|
|
Ends a document in the collection.
|
|
Pushes the doc into the InvFPPushIndex.
Reimplemented from lemur::api::TextHandler. |
|
Pushes the word into the InvFPPushIndex.
Reimplemented from lemur::api::TextHandler. |
|
passes mgrID onto index
|
|
Indicates whether or not to count stop words in doc length.
|
|
Keeps track of document length.
|
|
Document properties object to be reused over repeated calls.
|
|
Indicates whether object is before first doc true = yes, false = foundDoc has been called once. |
|
The indexer.
|
|
Term object to be reused over repeated calls.
|