#include <IndexSearcher.hpp>
Public Member Functions | |
IndexSearcher () | |
~IndexSearcher () | |
void | dashboard (std::ostream &os) const |
void | init (const Configuration &config) throw (std::runtime_error, std::logic_error) |
Iterator::SharedPointer | generic_search (const std::string &key) throw (std::runtime_error) |
Iterator::SharedPointer | generic_search (const std::string &key, Quantile::Order order) throw (std::runtime_error) |
Iterator::SharedPointer | generic_search (const std::string &key, size_t length) throw (std::runtime_error) |
Postlist< Value > | search (const std::string &key) throw (std::runtime_error) |
Postlist< Value > | search (const std::string &key, Quantile::Order order) throw (std::runtime_error) |
Postlist< Value > | search (const std::string &key, size_t length) throw (std::runtime_error) |
const Quantile & | quantile (const std::string &key) const |
const Vocabulary & | vocabulary () const |
const MPHashFunction & | mphf () const |
const Header & | header () const |
Static Public Attributes | |
static const std::string | header_file |
Static Private Member Functions | |
static void | check_config (const Configuration &config) throw (std::invalid_argument) |
Private Attributes | |
StorageSearcher | storage_ |
Header | header_ |
A class to search an external index.
Created on Jun 22, 2008
Definition at line 27 of file IndexSearcher.hpp.
aitools::invertedindex::IndexSearcher< Value >::IndexSearcher | ( | ) | [inline] |
The default constructor.
Definition at line 102 of file IndexSearcher.hpp.
aitools::invertedindex::IndexSearcher< Value >::~IndexSearcher | ( | ) | [inline] |
The destructor.
Definition at line 106 of file IndexSearcher.hpp.
void aitools::invertedindex::IndexSearcher< Value >::check_config | ( | const Configuration & | config | ) | throw (std::invalid_argument) [inline, static, private] |
Definition at line 111 of file IndexSearcher.hpp.
void aitools::invertedindex::IndexSearcher< Value >::dashboard | ( | std::ostream & | os | ) | const [inline] |
Definition at line 128 of file IndexSearcher.hpp.
Iterator::SharedPointer aitools::invertedindex::IndexSearcher< Value >::generic_search | ( | const std::string & | key, | |
size_t | length | |||
) | throw (std::runtime_error) [inline, virtual] |
Implements aitools::invertedindex::Searcher.
Definition at line 192 of file IndexSearcher.hpp.
Iterator::SharedPointer aitools::invertedindex::IndexSearcher< Value >::generic_search | ( | const std::string & | key, | |
Quantile::Order | order | |||
) | throw (std::runtime_error) [inline, virtual] |
Implements aitools::invertedindex::Searcher.
Definition at line 185 of file IndexSearcher.hpp.
Iterator::SharedPointer aitools::invertedindex::IndexSearcher< Value >::generic_search | ( | const std::string & | key | ) | throw (std::runtime_error) [inline, virtual] |
Implements aitools::invertedindex::Searcher.
Definition at line 176 of file IndexSearcher.hpp.
const Header & aitools::invertedindex::IndexSearcher< Value >::header | ( | ) | const [inline, virtual] |
Implements aitools::invertedindex::Searcher.
Definition at line 254 of file IndexSearcher.hpp.
void aitools::invertedindex::IndexSearcher< Value >::init | ( | const Configuration & | config | ) | throw (std::runtime_error, std::logic_error) [inline, virtual] |
Implements aitools::invertedindex::Searcher.
Definition at line 135 of file IndexSearcher.hpp.
const MPHashFunction & aitools::invertedindex::IndexSearcher< Value >::mphf | ( | ) | const [inline] |
Definition at line 247 of file IndexSearcher.hpp.
const Quantile & aitools::invertedindex::IndexSearcher< Value >::quantile | ( | const std::string & | key | ) | const [inline, virtual] |
Implements aitools::invertedindex::Searcher.
Definition at line 233 of file IndexSearcher.hpp.
Postlist< Value > aitools::invertedindex::IndexSearcher< Value >::search | ( | const std::string & | key, | |
size_t | length | |||
) | throw (std::runtime_error) [inline] |
Definition at line 225 of file IndexSearcher.hpp.
Postlist< Value > aitools::invertedindex::IndexSearcher< Value >::search | ( | const std::string & | key, | |
Quantile::Order | order | |||
) | throw (std::runtime_error) [inline] |
Definition at line 217 of file IndexSearcher.hpp.
Postlist< Value > aitools::invertedindex::IndexSearcher< Value >::search | ( | const std::string & | key | ) | throw (std::runtime_error) [inline] |
Definition at line 210 of file IndexSearcher.hpp.
const Vocabulary & aitools::invertedindex::IndexSearcher< Value >::vocabulary | ( | ) | const [inline, virtual] |
Implements aitools::invertedindex::Searcher.
Definition at line 240 of file IndexSearcher.hpp.
Header aitools::invertedindex::IndexSearcher< Value >::header_ [private] |
Definition at line 79 of file IndexSearcher.hpp.
const std::string aitools::invertedindex::IndexSearcher< Value >::header_file [inline, static] |
Definition at line 19 of file IndexSearcher.hpp.
StorageSearcher aitools::invertedindex::IndexSearcher< Value >::storage_ [private] |
Definition at line 78 of file IndexSearcher.hpp.