10 #ifndef META_CACHED_INDEX_H_
11 #define META_CACHED_INDEX_H_
29 template <
class Index,
template <
class,
class>
class Cache>
46 template <
class... Args>
49 using primary_key_type =
typename Index::primary_key_type;
50 using secondary_key_type =
typename Index::secondary_key_type;
51 using postings_data_type =
typename Index::postings_data_type;
61 virtual std::shared_ptr<postings_data_type>
74 mutable Cache<primary_key_type, std::shared_ptr<postings_data_type>>
cache_;
Definition: analyzer.h:19