[omega] Compute date spans in days
[xapian.git] / xapian-bindings / perl / Xapian / TradWeight.pm
blob7eaf7a986eb8aaf5ab25f411a9bc83278ac32337
1 package Xapian::TradWeight;
3 =head1 NAME
5 Xapian::TradWeight - Traditional Probabilistic Weighting scheme.
7 =head1 DESCRIPTION
9 Traditional Probabilistic Weighting scheme, as described by the early papers
10 on Probabilistic Retrieval. BM25 generally gives better results.
12 This class is deprecated - use C<BM25Weight(k, 0, 0, 1, 0)> instead (which it
13 is equivalent to).
15 =head1 METHODS
17 =over 4
19 =item new
21 Constructor. Either takes no parameters, or a single non-negative parameter k.
22 If k isn't specified, the default value used is 1.
24 =back
26 =head1 SEE ALSO
28 L<Xapian>,
29 L<Xapian::Enquire>
31 =cut