#include <LemurIndriIndex.hpp>
Inheritance diagram for LemurIndriIndex:
Public Methods | |
LemurIndriIndex () | |
Create. | |
virtual | ~LemurIndriIndex () |
DocInfoList * | docInfoList (TERMID_T termID) const |
doc entries in a term index with positions,
| |
TermInfoList * | termInfoList (DOCID_T docID) const |
word entries in a document index (bag of words),
| |
TermInfoList * | termInfoListSeq (DOCID_T docID) const |
word entries in a document index (sequence of words),
| |
const DocumentManager * | docManager (DOCID_T docID) const |
const string & | getRepositoryName () const |
Open index | |
bool | open (const std::string &indexName) |
Open previously created Repository with given prefix. | |
bool | open (const char *indexName) |
Open previously created Repository with given prefix. | |
void | close () |
close the Repository | |
Spelling and index conversion | |
TERMID_T | term (const TERM_T &word) const |
Convert a term spelling to a termID. | |
const TERM_T | term (TERMID_T termID) const |
Convert a termID to its spelling. | |
DOCID_T | document (const EXDOCID_T &docIDStr) const |
Convert a spelling to docID. | |
const EXDOCID_T | document (DOCID_T docID) const |
Convert a docID to its spelling. | |
Summary counts | |
COUNT_T | docCount () const |
Total count (i.e., number) of documents in collection. | |
COUNT_T | termCountUnique () const |
Total count of unique terms in collection. | |
COUNT_T | termCount (TERMID_T termID) const |
Total counts of a term in collection. | |
COUNT_T | termCount () const |
Total counts of all terms in collection. | |
float | docLengthAvg () const |
Average document length. | |
COUNT_T | docCount (TERMID_T termID) const |
Total counts of doc with a given term. | |
COUNT_T | docLength (DOCID_T documentID) const |
return length of the document |
|
Create. Lemur Index API wrapper for Indri Repository. |
|
|
|
close the Repository
|
|
Total counts of doc with a given term.
Implements Index. |
|
Total count (i.e., number) of documents in collection.
Implements Index. |
|
doc entries in a term index with positions,
Implements Index. |
|
return length of the document
Implements Index. |
|
Average document length.
Implements Index. |
|
A String identifier for the document manager to get at the source of the document with this document id Reimplemented from Index. |
|
Convert a docID to its spelling.
Implements Index. |
|
Convert a spelling to docID.
Implements Index. |
|
|
|
Open previously created Repository with given prefix.
|
|
Open previously created Repository with given prefix.
|
|
Convert a termID to its spelling.
Implements Index. |
|
Convert a term spelling to a termID.
Implements Index. |
|
Total counts of all terms in collection.
Implements Index. |
|
Total counts of a term in collection.
Implements Index. |
|
Total count of unique terms in collection.
Implements Index. |
|
word entries in a document index (bag of words),
Implements Index. |
|
word entries in a document index (sequence of words),
Reimplemented from Index. |