Add flag bit for Weight::is_bool_weight_()
commit564a0621534e4f80e2c636de8605bc91dcd305f1
authorOlly Betts <olly@survex.com>
Mon, 24 Jun 2024 00:16:23 +0000 (24 12:16 +1200)
committerOlly Betts <olly@survex.com>
Mon, 24 Jun 2024 00:54:40 +0000 (24 12:54 +1200)
tree97f129eb5e1e2549359dff2747af68e2f12c66b2
parentfc2cd89ecebdc33dddae6b68d50418930d633b28
Add flag bit for Weight::is_bool_weight_()

Now we no longer need to call name() to distinguish BoolWeight from
other weighting schemes which only need stats we provide anyway
(the built-in example is CoordWeight).
xapian-core/include/xapian/weight.h