ModErn Text Analysis
META Enumerates Textual Applications
Classes | Functions
meta::index::detail Namespace Reference

Implementation details for indexing and ranking implementations. More...

Classes

struct  postings_context
 

Functions

template<class T >
uint64_t bytes_used (const T &elem, typename std::enable_if< std::is_same< T, std::string >::value >::type *=nullptr)
 Gets the bytes used by a std::string.
 
template<class T >
uint64_t bytes_used (const T &elem, typename std::enable_if<!std::is_same< T, std::string >::value >::type *=nullptr)
 Gets the bytes used by anything not a std::string.
 
term_id get_term_id (disk_index &inv, const std::string &term)
 
term_id get_term_id (disk_index &, term_id tid)
 

Detailed Description

Implementation details for indexing and ranking implementations.