Holder class for an impact ordered postings list.
forceinline void compute_idf_component(compress_integer::integer document_frequency, compress_integer::integer documents_in_collection)
Called once per term (per query). Computes the IDF component of the ranking function and stores it in...
Definition: ranking_function_none.h:71
forceinline void compute_tf_component(index_postings_impact::impact_type term_frequency)
Compute and store internally the term-frequency based component of the ranking function (useful when ...
Definition: ranking_function_none.h:84
forceinline double compute_score(compress_integer::integer document_id, index_postings_impact::impact_type term_frequency)
Return the term frequency.
Definition: ranking_function_none.h:99
uint16_t impact_type
An impact value (i.e. a term frequency value) is of this type.
Definition: index_postings_impact.h:41