#include <InvFPTextHandler.hpp>
Inheritance diagram for InvFPTextHandler:
Public Methods | |
InvFPTextHandler () | |
InvFPTextHandler (const string &filename, int bufferSize, bool countStopWds=false, int ind=1) | |
~InvFPTextHandler () | |
char * | handleDoc (char *docno) |
Pushes the doc into the InvFPPushIndex. | |
char * | handleWord (char *word) |
Pushes the word into the InvFPPushIndex. | |
void | setDocManager (const string &mgrID) |
passes mgrID onto index | |
Protected Methods | |
void | endDoc () |
Ends a document in the collection. | |
Protected Attributes | |
PushIndex * | index |
The indexer. | |
DocumentProps * | dp |
Document properties object to be reused over repeated calls. | |
InvFPTerm * | term |
Term object to be reused over repeated calls. | |
int | docLength |
Keeps track of document length. | |
int | pos |
Keeps track of term positions. | |
bool | countStopWds |
Indicates whether or not to count stop words in doc length. | |
bool | first |
|
|
|
Create a InvFPTextHandler 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 TextHandler. |
|
Pushes the word into the InvFPPushIndex.
Reimplemented from 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.
|
|
Keeps track of term positions.
|
|
Term object to be reused over repeated calls.
|