#include <expandweight.h>
Public Member Functions | |
ExpandStats (Xapian::doclength avlen_, double expand_k_) | |
void | accumulate (Xapian::termcount wdf, Xapian::doclength doclen, Xapian::doccount subtf, Xapian::doccount subdbsize) |
Public Attributes | |
Xapian::doccount | dbsize |
Size of the subset of a multidb to which the value in termfreq applies. | |
Xapian::doccount | termfreq |
Term frequency (for a multidb, may be for a subset of the databases). | |
Xapian::weight | multiplier |
Factor to multiply w(t) by. | |
Xapian::doccount | rtermfreq |
The number of documents from the RSet indexed by the current term (r). | |
size_t | db_index |
Keeps track of the index of the sub-database we're accumulating for. | |
Private Attributes | |
std::vector< bool > | dbs_seen |
Xapian::doclength | avlen |
double | expand_k |
Parameter 'k' in the probabilistic expand weighting formula. |
Definition at line 35 of file expandweight.h.
Xapian::Internal::ExpandStats::ExpandStats | ( | Xapian::doclength | avlen_, | |
double | expand_k_ | |||
) | [inline] |
Definition at line 61 of file expandweight.h.
void Xapian::Internal::ExpandStats::accumulate | ( | Xapian::termcount | wdf, | |
Xapian::doclength | doclen, | |||
Xapian::doccount | subtf, | |||
Xapian::doccount | subdbsize | |||
) | [inline] |
Definition at line 66 of file expandweight.h.
References avlen, db_index, dbs_seen, dbsize, expand_k, multiplier, rtermfreq, and termfreq.
Referenced by NetworkTermList::accumulate_stats(), QuartzTermList::accumulate_stats(), InMemoryTermList::accumulate_stats(), and FlintTermList::accumulate_stats().
std::vector<bool> Xapian::Internal::ExpandStats::dbs_seen [private] |
double Xapian::Internal::ExpandStats::expand_k [private] |
Parameter 'k' in the probabilistic expand weighting formula.
Definition at line 43 of file expandweight.h.
Referenced by accumulate().
Size of the subset of a multidb to which the value in termfreq applies.
Definition at line 47 of file expandweight.h.
Referenced by accumulate().
Term frequency (for a multidb, may be for a subset of the databases).
Definition at line 50 of file expandweight.h.
Referenced by accumulate().
Factor to multiply w(t) by.
Definition at line 53 of file expandweight.h.
Referenced by accumulate().
The number of documents from the RSet indexed by the current term (r).
Definition at line 56 of file expandweight.h.
Referenced by accumulate().
Keeps track of the index of the sub-database we're accumulating for.
Definition at line 59 of file expandweight.h.
Referenced by accumulate(), and MultiTermList::accumulate_stats().