api/omdatabase.cc,tests/api_backend.cc: Fix
commit19e382c0aeaeb17d67e84affd60eed89c5d493c5
authorOlly Betts <olly@survex.com>
Sun, 31 May 2015 12:33:25 +0000 (1 00:33 +1200)
committerOlly Betts <olly@survex.com>
Sun, 31 May 2015 12:33:25 +0000 (1 00:33 +1200)
treebec3b3c07c2b2ba69c1b70462a677bb90cad5f54
parent083d27ae99da5cca890b4d867beb8ae054e384e5
api/omdatabase.cc,tests/api_backend.cc: Fix
Database::get_doclength_lower_bound() over multiple databases when
some are empty or consist only of zero-length documents.  Previously
this would report a lower bound of zero, now it reports the same
lowest bound as a single database containing all the same documents.
xapian-core/ChangeLog
xapian-core/api/omdatabase.cc
xapian-core/tests/api_backend.cc