#include <PropIndexTH.hpp>
Inheritance diagram for PropIndexTH:

Public Methods | |
| PropIndexTH () | |
| PropIndexTH (const string &filename, int bufferSize, bool countStopWds=false, int ind=1) | |
| PropIndexTH (const string &filename, int bufferSize, bool countStopWds, string ind) | |
| ~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 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. | |
| 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 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.
|
|
|
Term object to be reused over repeated calls.
|
1.2.18