[honey] Reform doclen and boolean term chunks
commit4cf69327f66723bd68bcd2b0c1704ebef3109a19
authorOlly Betts <olly@survex.com>
Thu, 17 May 2018 20:45:34 +0000 (18 08:45 +1200)
committerOlly Betts <olly@survex.com>
Thu, 17 May 2018 20:45:34 +0000 (18 08:45 +1200)
tree60e69cb9b6f40e4ba65394dc98cdedcc27107c9d
parentc0f7fa5d6fdc61f73a6396fcba28f34580d99514
[honey] Reform doclen and boolean term chunks

When converting a glass DB to honey, reform doclen chunks (which are
about 30% smaller in honey) and merge pairs of boolean term chunks
(which are very close to 50% smaller in honey).

This doesn't have much of an impact on postlist table size (because
we prefix-compress keys) but it should speed up scanning through a
table.
xapian-core/backends/honey/honey_compact.cc
xapian-core/backends/honey/honey_defs.h