xapian-core
1.4.25
|
The frequencies for a term. More...
#include <weightinternal.h>
Public Member Functions | |
TermFreqs () | |
TermFreqs (Xapian::doccount termfreq_, Xapian::doccount reltermfreq_, Xapian::termcount collfreq_, double max_part_=0.0) | |
void | operator+= (const TermFreqs &other) |
std::string | get_description () const |
Return a std::string describing this object. More... | |
Public Attributes | |
Xapian::doccount | termfreq |
Xapian::doccount | reltermfreq |
Xapian::termcount | collfreq |
double | max_part |
The frequencies for a term.
Definition at line 38 of file weightinternal.h.
|
inline |
Definition at line 44 of file weightinternal.h.
|
inline |
Definition at line 45 of file weightinternal.h.
string TermFreqs::get_description | ( | ) | const |
Return a std::string describing this object.
Definition at line 39 of file weightinternal.cc.
References Xapian::Internal::str().
Referenced by operator+=(), and Xapian::Weight::Internal::set_bounds_from_db().
|
inline |
Definition at line 54 of file weightinternal.h.
References collfreq, get_description(), max_part, reltermfreq, and termfreq.
Referenced by Xapian::Weight::Internal::Internal().
Xapian::termcount TermFreqs::collfreq |
Definition at line 41 of file weightinternal.h.
Referenced by Xapian::Weight::Internal::accumulate_stats(), MultiXorPostList::get_termfreq_est_using_stats(), MultiAndPostList::get_termfreq_est_using_stats(), and operator+=().
double TermFreqs::max_part |
Definition at line 42 of file weightinternal.h.
Referenced by Xapian::Weight::Internal::get_max_termweight(), and operator+=().
Xapian::doccount TermFreqs::reltermfreq |
Definition at line 40 of file weightinternal.h.
Referenced by MultiXorPostList::get_termfreq_est_using_stats(), MultiAndPostList::get_termfreq_est_using_stats(), and operator+=().
Xapian::doccount TermFreqs::termfreq |
Definition at line 39 of file weightinternal.h.
Referenced by Xapian::Weight::Internal::accumulate_stats(), NearPostList::get_termfreq_est_using_stats(), ExactPhrasePostList::get_termfreq_est_using_stats(), PhrasePostList::get_termfreq_est_using_stats(), MultiXorPostList::get_termfreq_est_using_stats(), MultiAndPostList::get_termfreq_est_using_stats(), and operator+=().