Add constant FLINT_MAX_DOCID
commitf27ca4dcf113c447508d52e17e9df6335ace88dc
authorOlly Betts <olly@survex.com>
Tue, 1 Dec 2015 08:24:49 +0000 (1 21:24 +1300)
committerOlly Betts <olly@survex.com>
Tue, 1 Dec 2015 08:24:49 +0000 (1 21:24 +1300)
tree99c4f616c1d4766a7466d1b2869d64d2a2ad09fd
parent0d55bc643f495e181d21f76286d23c1d8c45ea89
Add constant FLINT_MAX_DOCID

This gives the largest docid which the backend supports, independent of the
size of type Xapian::docid.

(cross-ported from equivalent fix to chert backend in commit
bd1a69c2f037b7b3ffb4e0be94c9a2d3e1e64c72)
xapian-core/backends/flint/flint_database.cc
xapian-core/backends/flint/flint_types.h