xapian-core
1.4.27
|
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 = 0 |
Xapian::doccount | reltermfreq = 0 |
Xapian::termcount | collfreq = 0 |
double | max_part = 0.0 |
The frequencies for a term.
Definition at line 39 of file weightinternal.h.
|
inline |
Definition at line 46 of file weightinternal.h.
|
inline |
Definition at line 47 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 56 of file weightinternal.h.
References Assert, collfreq, get_description(), max_part, reltermfreq, and termfreq.
Referenced by Xapian::Weight::Internal::Internal().
Xapian::termcount TermFreqs::collfreq = 0 |
Definition at line 42 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 = 0.0 |
Definition at line 44 of file weightinternal.h.
Referenced by Xapian::Weight::Internal::get_max_termweight(), and operator+=().
Xapian::doccount TermFreqs::reltermfreq = 0 |
Definition at line 41 of file weightinternal.h.
Referenced by MultiXorPostList::get_termfreq_est_using_stats(), MultiAndPostList::get_termfreq_est_using_stats(), and operator+=().
Xapian::doccount TermFreqs::termfreq = 0 |
Definition at line 40 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+=().