33 Bo1EWeight::get_weight()
const 35 double F = get_collection_freq();
37 double N = get_dbsize();
40 double wt = stats.rcollection_freq *
log2((1.0 + mean) / mean) +
log2(1.0 + mean);
The Xapian namespace contains public interfaces for the Xapian library.
Collate statistics and calculate the term weights for the ESet.
Defines a log2() function to find the logarithm to base 2 if not already defined in the library...