Home
last modified time | relevance | path

Searched refs:rtermfreq (Results 1 – 5 of 5) sorted by relevance

/dports/databases/xapian-core12/xapian-core-1.2.25/expand/
H A Dexpandweight.cc47 double rtermfreq = stats.rtermfreq; in get_weight() local
50 LOGVALUE(EXPAND, rtermfreq); in get_weight()
76 if (termfreq < rtermfreq) { in get_weight()
80 termfreq = rtermfreq; in get_weight()
89 double termfreq_upper_bound = dbsize - (rsize - rtermfreq); in get_weight()
100 double reldocs_without_term = rsize - rtermfreq; in get_weight()
102 num = (rtermfreq + 0.5) * (dbsize - termfreq - reldocs_without_term + 0.5); in get_weight()
104 denom = (termfreq - rtermfreq + 0.5) * (reldocs_without_term + 0.5); in get_weight()
/dports/databases/xapian-core/xapian-core-1.4.18/expand/
H A Dtradeweight.cc34 double reldocs_without_term = get_rsize() - stats.rtermfreq; in get_weight()
36 num = (stats.rtermfreq + 0.5) * (get_dbsize() - stats.termfreq - reldocs_without_term + 0.5); in get_weight()
38 denom = (stats.termfreq - stats.rtermfreq + 0.5) * (reldocs_without_term + 0.5); in get_weight()
H A Dexpandweight.h58 Xapian::doccount rtermfreq; variable
67 rcollection_freq(0), rtermfreq(0), multiplier(0) { in ExpandStats()
73 rcollection_freq(0), rtermfreq(0), multiplier(0) { in ExpandStats()
83 ++rtermfreq; in accumulate()
108 rtermfreq = 0; in clear_stats()
H A Dexpandweight.cc48 LOGVALUE(EXPAND, stats.rtermfreq); in collect_stats()
83 auto termfreq_upper_bound = dbsize - (rsize - stats.rtermfreq); in collect_stats()
/dports/databases/xapian-core12/xapian-core-1.2.25/common/
H A Dexpandweight.h56 Xapian::doccount rtermfreq; variable
63 dbsize(0), termfreq(0), multiplier(0), rtermfreq(0), db_index(0) { in ExpandStats()
73 ++rtermfreq; in accumulate()