Make TradWeight a simple subclass and deprecatemaster
commitfe348e1a4661b21d454ac2315d6ba998c826f6c9
authorOlly Betts <olly@survex.com>
Tue, 25 Jun 2024 00:07:01 +0000 (25 12:07 +1200)
committerOlly Betts <olly@survex.com>
Tue, 25 Jun 2024 21:44:54 +0000 (26 09:44 +1200)
tree8e30c5eb40ba4efd3c344d2c7182edd7bc0c3457
parent098820a8ae145ed5c41d35dab736f9cc2988f2ec
Make TradWeight a simple subclass and deprecate

The effect of TradWeight can be achieved using BM25Weight with
a particular set of parameter values.  Profiling shows negligible
additional overhead with current Xapian code and TradWeight is not a
scheme people are likely to want to actually use anyway except perhaps
for experiments comparing weighting schemes.
xapian-bindings/perl/Xapian/TradWeight.pm
xapian-core/api/registry.cc
xapian-core/docs/deprecation.rst
xapian-core/docs/sorting.rst
xapian-core/examples/quest.cc
xapian-core/include/xapian/weight.h
xapian-core/tests/api_percentages.cc
xapian-core/tests/api_weight.cc
xapian-core/weight/Makefile.mk
xapian-core/weight/tradweight.cc [deleted file]
xapian-core/weight/weight.cc