10 #ifndef META_FORWARD_INDEX_H_
11 #define META_FORWARD_INDEX_H_
29 template <
class,
class>
53 using std::runtime_error::runtime_error;
60 template <
class Index,
class... Args>
61 friend std::shared_ptr<Index>
make_index(
const std::string& config_file,
68 template <
class Index,
template <
class,
class>
class Cache,
class... Args>
69 friend std::shared_ptr<cached_index<Index, Cache>>
70 make_index(
const std::string& config_file, Args&&... args);
72 using primary_key_type = doc_id;
73 using secondary_key_type = term_id;
117 virtual std::shared_ptr<postings_data_type>
A class to represent the per-PrimaryKey data in an index's postings file.
Definition: forward_index.h:30