aitools::invertedindex::IndexSearcher< Value > Class Template Reference

#include <IndexSearcher.hpp>

List of all members.

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< Valuesearch (const std::string &key) throw (std::runtime_error)
Postlist< Valuesearch (const std::string &key, Quantile::Order order) throw (std::runtime_error)
Postlist< Valuesearch (const std::string &key, size_t length) throw (std::runtime_error)
const Quantilequantile (const std::string &key) const
const Vocabularyvocabulary () const
const MPHashFunctionmphf () const
const Headerheader () 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_

Detailed Description

template<typename Value>
class aitools::invertedindex::IndexSearcher< Value >

A class to search an external index.

Author:
martin.trenkmann@uni-weimar.de

Created on Jun 22, 2008

Id
IndexSearcher.hpp,v 1.34 2011/02/02 19:57:32 trenkman Exp

Definition at line 27 of file IndexSearcher.hpp.


Constructor & Destructor Documentation

template<typename Value >
aitools::invertedindex::IndexSearcher< Value >::IndexSearcher (  )  [inline]

The default constructor.

Definition at line 102 of file IndexSearcher.hpp.

template<typename Value >
aitools::invertedindex::IndexSearcher< Value >::~IndexSearcher (  )  [inline]

The destructor.

Definition at line 106 of file IndexSearcher.hpp.


Member Function Documentation

template<typename Value >
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.

template<typename Value >
void aitools::invertedindex::IndexSearcher< Value >::dashboard ( std::ostream &  os  )  const [inline]

Definition at line 128 of file IndexSearcher.hpp.

template<typename Value >
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.

template<typename Value >
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.

template<typename Value >
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.

template<typename Value >
const Header & aitools::invertedindex::IndexSearcher< Value >::header (  )  const [inline, virtual]

Implements aitools::invertedindex::Searcher.

Definition at line 254 of file IndexSearcher.hpp.

template<typename Value >
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.

template<typename Value >
const MPHashFunction & aitools::invertedindex::IndexSearcher< Value >::mphf (  )  const [inline]

Definition at line 247 of file IndexSearcher.hpp.

template<typename Value >
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.

template<typename Value >
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.

template<typename Value >
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.

template<typename Value >
Postlist< Value > aitools::invertedindex::IndexSearcher< Value >::search ( const std::string &  key  )  throw (std::runtime_error) [inline]

Definition at line 210 of file IndexSearcher.hpp.

template<typename Value >
const Vocabulary & aitools::invertedindex::IndexSearcher< Value >::vocabulary (  )  const [inline, virtual]

Implements aitools::invertedindex::Searcher.

Definition at line 240 of file IndexSearcher.hpp.


Member Data Documentation

template<typename Value >
Header aitools::invertedindex::IndexSearcher< Value >::header_ [private]

Definition at line 79 of file IndexSearcher.hpp.

template<typename Value >
const std::string aitools::invertedindex::IndexSearcher< Value >::header_file [inline, static]

Definition at line 19 of file IndexSearcher.hpp.

template<typename Value >
StorageSearcher aitools::invertedindex::IndexSearcher< Value >::storage_ [private]

Definition at line 78 of file IndexSearcher.hpp.


The documentation for this class was generated from the following file:
Generated on Wed May 30 15:07:33 2012 by  doxygen 1.6.3