Fix OP_SCALE_WEIGHT to work with all weighting schemes
commit3cc562a3aaf90a9b731a4581dd850dce34aed965
authorOlly Betts <olly@survex.com>
Fri, 19 Aug 2016 07:42:25 +0000 (19 19:42 +1200)
committerOlly Betts <olly@survex.com>
Fri, 16 Sep 2016 22:03:25 +0000 (17 10:03 +1200)
treece7292639efb8234013b7d3ed519be9e43d0ea89
parentb8841b82c1d7984c6857304d7a23d98d674c0b23
Fix OP_SCALE_WEIGHT to work with all weighting schemes

Previously it was ignored for PL2, PL2+ and LM.

(cherry picked from commit 4c9a7e648cdea2f9e8edd5f2020a68cb51f4d684)
xapian-core/include/xapian/weight.h
xapian-core/tests/api_weight.cc
xapian-core/weight/lmweight.cc
xapian-core/weight/pl2plusweight.cc
xapian-core/weight/pl2weight.cc