Use FP calculation for OR synonym freq estimates
commit8523aa1280c5d935f37e2f8b0ab977944e7a925f
authorOlly Betts <olly@survex.com>
Sun, 16 Oct 2016 07:45:51 +0000 (16 20:45 +1300)
committerOlly Betts <olly@survex.com>
Tue, 18 Oct 2016 13:12:32 +0000 (19 02:12 +1300)
tree0d331466c17aa6b52f3dad6abc3c213e6d8a2e5d
parent94771d0a2459d0550e68ba88b3f8eb820af8ef3d
Use FP calculation for OR synonym freq estimates

The division was being done as an integer division, which means the
result was always getting rounded down rather than rounded to the
nearest integer.

(cherry picked from commit 8b7fef5f67b8032698ad3287bb0e02b69581d240)
xapian-core/matcher/orpostlist.cc