#include <Repository.hpp>
Public Methods | |
| Repository () | |
| ~Repository () | |
| void | addDocument (ParsedDocument *document) |
| const std::vector< Field > & | fields () const |
| |
| std::vector< std::string > | tags () const |
| |
| std::string | processTerm (const std::string &term) |
| CompressedCollection * | collection () |
| |
| IndriIndex * | index () |
| |
| void | create (const std::string &path, Parameters *options=0) |
| void | open (const std::string &path, Parameters *options=0) |
| void | openRead (const std::string &path, Parameters *options=0) |
| void | close () |
| Close the repository. | |
Static Public Methods | |
| bool | exists (const std::string &path) |
|
|
|
|
|
|
|
|
add a parsed document to the repository.
|
|
|
Close the repository.
|
|
|
|
|
||||||||||||
|
Create a new empty repository.
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
Open an existing repository.
|
|
||||||||||||
|
Open an existing repository in read only mode.
|
|
|
Process, possibly transforming, the given term
|
|
|
|
1.2.18