Support 64-bit docids in the glass backend.
commit32a10db6d0e60e5366180efd7675d6dc8bba9afd
authorOlly Betts <olly@survex.com>
Sat, 19 Dec 2015 22:31:40 +0000 (20 11:31 +1300)
committerOlly Betts <olly@survex.com>
Sat, 19 Dec 2015 22:46:11 +0000 (20 11:46 +1300)
tree034cc0f613fa5f24e250c4f93ab0ba90975e1025
parent9b96ae3a0b673c79e540b95ae7f655e1d78aebea
Support 64-bit docids in the glass backend.

This changes the encoding used by pack_uint_preserving_sort() to
one which supports 64 bit values, and is a byte smaller for values
16384-32767, and the same size for all other 32 bit values.

Fixes #686, from original report by James Aylett.
xapian-core/backends/glass/glass_defs.h
xapian-core/backends/glass/glass_version.cc
xapian-core/common/pack.h
xapian-core/tests/internaltest.cc