JASSv2
Public Member Functions | Public Attributes | List of all members
JASS::index_postings::posting Class Reference

The representation of a single postings as a tuple of docid, term frequency and position. More...

#include <index_postings.h>

Public Member Functions

 posting (uint32_t document_id, uint32_t term_frequency)
 Constructor. More...
 

Public Attributes

compress_integer::integer document_id
 Internal document identifier.
 
index_postings_impact::impact_type term_frequency
 Number of times the term occurs in this document.
 

Detailed Description

The representation of a single postings as a tuple of docid, term frequency and position.

Constructor & Destructor Documentation

◆ posting()

JASS::index_postings::posting::posting ( uint32_t  document_id,
uint32_t  term_frequency 
)
inline

Constructor.

Parameters
document_id[in] the document ID to use
term_frequency[in] the term frequency to use

The documentation for this class was generated from the following file: