|
xapian-core
2.0.0
|
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) |
| void | operator*= (double factor) |
| void | operator/= (unsigned x) |
| 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 53 of file weightinternal.h.
|
inline |
Definition at line 60 of file weightinternal.h.
|
inline |
Definition at line 61 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().
|
inline |
Definition at line 79 of file weightinternal.h.
References collfreq, reltermfreq, and termfreq.
|
inline |
Definition at line 70 of file weightinternal.h.
References Assert, collfreq, max_part, reltermfreq, and termfreq.
|
inline |
Definition at line 85 of file weightinternal.h.
References collfreq, reltermfreq, and termfreq.
| Xapian::termcount Xapian::Internal::TermFreqs::collfreq = 0 |
Definition at line 56 of file weightinternal.h.
Referenced by Xapian::Weight::Internal::accumulate_stats(), Xapian::Internal::OrContext::estimate_termfreqs(), LocalSubMatch::make_synonym_postlist(), operator*=(), operator+=(), operator/=(), Xapian::Internal::XorContext::postlist(), and Xapian::Internal::AndContext::postlist().
| double Xapian::Internal::TermFreqs::max_part = 0.0 |
Definition at line 58 of file weightinternal.h.
Referenced by operator+=().
| Xapian::doccount Xapian::Internal::TermFreqs::reltermfreq = 0 |
Definition at line 55 of file weightinternal.h.
Referenced by Xapian::Internal::OrContext::estimate_termfreqs(), LocalSubMatch::make_synonym_postlist(), operator*=(), operator+=(), operator/=(), Xapian::Internal::XorContext::postlist(), and Xapian::Internal::AndContext::postlist().
| Xapian::doccount Xapian::Internal::TermFreqs::termfreq = 0 |
Definition at line 54 of file weightinternal.h.
Referenced by Xapian::Weight::Internal::accumulate_stats(), Xapian::Internal::OrContext::estimate_termfreqs(), LocalSubMatch::make_synonym_postlist(), operator*=(), operator+=(), operator/=(), Xapian::Internal::XorContext::postlist(), and Xapian::Internal::AndContext::postlist().