#include <IndriDocMgr.hpp>
Inheritance diagram for lemur::parse::IndriDocMgr:
Public Member Functions | |
IndriDocMgr (indri::collection::Repository &repository, string name="IndriDocMgr") | |
virtual | ~IndriDocMgr () |
virtual bool | open (const string &manname) |
virtual char * | getDoc (const lemur::api::EXDOCID_T &docID) const |
returns the document with the given docID (usually in raw format) | |
vector< Match > | getOffsets (const lemur::api::EXDOCID_T &docID) const |
virtual lemur::api::Parser * | getParser () const |
NULL. | |
virtual void | buildMgr () |
do nothing | |
virtual const string & | getMyID () const |
get the ID string | |
Private Member Functions | |
indri::index::Index * | _indexWithDocument (indri::collection::Repository::index_state &indexes, lemur::api::DOCID_T documentID) const |
Private Attributes | |
indri::collection::Repository & | _repository |
string | _name |
|
|
|
|
|
|
|
do nothing
Implements lemur::api::DocumentManager. |
|
returns the document with the given docID (usually in raw format)
|
|
get the ID string
Implements lemur::api::DocumentManager. |
|
get the array of Match entries for the tokens in the document named docID. The entries are indexed by token position (as is recorded in a TermInfoList object. |
|
NULL.
Implements lemur::api::DocumentManager. |
|
IndriDocMgr can only be opend by its enclosing Repository.
Implements lemur::api::DocumentManager. |
|
|
|
|