#include <InvFPIndex.hpp>
Inheritance diagram for InvFPIndex:
Public Methods | |
InvFPIndex () | |
InvFPIndex (const char *indexName) | |
~InvFPIndex () | |
bool | openName (char *filename) |
Open previously created Index using names in given param file, return true if opened successfully. | |
Open index | |
bool | open (const char *indexName) |
Open previously created Index with given prefix, return true if opened successfully. | |
Spelling and index conversion | |
int | term (const char *word) |
Convert a term spelling to a termID. | |
const char* | term (int termID) |
Convert a termID to its spelling. | |
int | document (const char *docIDStr) |
Convert a spelling to docID. | |
const char* | document (int docID) |
Convert a docID to its spelling. | |
Summary counts | |
int | docCount () |
Total count (i.e., number) of documents in collection. | |
int | termCountUnique () |
Total count of unique terms in collection. | |
int | termCount (int termID)const |
Total counts of a term in collection. | |
int | termCount ()const |
Total counts of all terms in collection. | |
float | docLengthAvg () |
Average document length. | |
int | docCount (int termID) |
Total counts of doc with a given term. | |
int | docLength (DOCID_T docID)const |
Total counts of terms in a document, including stop words. | |
int | docLengthCounted (int docID) |
Total count of terms in given document, not including stop words. | |
Index entry access | |
DocInfoList* | docInfoList (int termID) |
doc entries in a term index,
| |
TermInfoList* | termInfoList (int docID) |
word entries in a document index (bag of words),
| |
TermInfoList* | termInfoListSeq (int docID) |
word entries in a document index (sequence of words),
|
|
|
|
|
|
|
|
Total counts of doc with a given term.
Reimplemented from Index. |
|
Total count (i.e., number) of documents in collection.
Reimplemented from Index. |
|
doc entries in a term index,
Reimplemented from Index. |
|
Total counts of terms in a document, including stop words.
|
|
Average document length.
Reimplemented from Index. |
|
Total count of terms in given document, not including stop words.
|
|
Convert a docID to its spelling.
Reimplemented from Index. |
|
Convert a spelling to docID.
Reimplemented from Index. |
|
Open previously created Index with given prefix, return true if opened successfully.
Reimplemented from Index. |
|
Open previously created Index using names in given param file, return true if opened successfully.
|
|
Convert a termID to its spelling.
Reimplemented from Index. |
|
Convert a term spelling to a termID.
Reimplemented from Index. |
|
Total counts of all terms in collection.
Reimplemented from Index. |
|
Total counts of a term in collection.
Reimplemented from Index. |
|
Total count of unique terms in collection.
Reimplemented from Index. |
|
word entries in a document index (bag of words),
Reimplemented from Index. |
|
word entries in a document index (sequence of words),
|