[honey] Index doclen chunks by the last docid
commit1038f853db9a1c9917fa531a0a2d2ab680e71750
authorOlly Betts <olly@survex.com>
Wed, 21 Feb 2018 23:46:15 +0000 (22 12:46 +1300)
committerOlly Betts <olly@survex.com>
Thu, 22 Feb 2018 00:12:23 +0000 (22 13:12 +1300)
treeb5c36c5d0dfefdc7dc20232886b468e9d8cb71bd
parentae6df40822b668e63699e01c166de6739284cda3
[honey] Index doclen chunks by the last docid

Then we can use find_entry_ge() in skip_to() which means jumping into a
gap between chunks puts us on the chunk after the gap.  With the
previous approach, we'd end up on the chunk before.

The equivalent change has already been made for posting chunks.
xapian-core/backends/honey/honey_alldocspostlist.cc
xapian-core/backends/honey/honey_alldocspostlist.h
xapian-core/backends/honey/honey_compact.cc
xapian-core/backends/honey/honey_database.cc
xapian-core/backends/honey/honey_version.cc