Add backend method to get range of docids actually in use
commitbb8b30c0eb24606b761da2402f1da671786e5b44
authorOlly Betts <olly@survex.com>
Thu, 31 Dec 2015 05:19:40 +0000 (31 18:19 +1300)
committerOlly Betts <olly@survex.com>
Thu, 31 Dec 2015 05:19:40 +0000 (31 18:19 +1300)
treec9d9d5e3a43b7a6c773e8f60626e98efdab50886
parent2664d3d13c5d6e78d1e1c9827b5ebaf868cad4ce
Add backend method to get range of docids actually in use

We need this information when compacting, and the backend can generally find
this more efficiently than we can using existing methods (previously we binary
chopped to find the upper bound).
xapian-core/api/compactor.cc
xapian-core/backends/chert/chert_database.cc
xapian-core/backends/chert/chert_database.h
xapian-core/backends/chert/chert_postlist.cc
xapian-core/backends/chert/chert_postlist.h
xapian-core/backends/database.cc
xapian-core/backends/database.h
xapian-core/backends/glass/glass_database.cc
xapian-core/backends/glass/glass_database.h
xapian-core/backends/glass/glass_postlist.cc
xapian-core/backends/glass/glass_postlist.h