[honey] Don't store "plateaued" wdf values
commit394eb01c34eb335bb9f1e9f46d8740df769644ef
authorOlly Betts <olly@survex.com>
Mon, 19 Mar 2018 00:01:25 +0000 (19 13:01 +1300)
committerOlly Betts <olly@survex.com>
Mon, 19 Mar 2018 00:01:25 +0000 (19 13:01 +1300)
tree45502e8295404b2ead3298f0b12feb04bd7552cb
parentb01e16cf3213836f6a578aa5bdc630c1ba178f48
[honey] Don't store "plateaued" wdf values

If all the wdf values for a term are the same (with the possible
exception of the first) then we can detect this and don't need to
actually store them.  This reduces the size of the postlist table
in a sample database of wikipedia pages by 1.7%.
xapian-core/backends/honey/honey_compact.cc
xapian-core/backends/honey/honey_postlist.cc
xapian-core/backends/honey/honey_postlist.h
xapian-core/backends/honey/honey_version.cc