Fix allterms with prefix on glass with uncommitted changes
commitfa52f59d75969fe91ffe46abb8dd8f7ae5ea0f6a
authorOlly Betts <olly@survex.com>
Wed, 19 Oct 2016 07:33:17 +0000 (19 20:33 +1300)
committerOlly Betts <olly@survex.com>
Thu, 20 Oct 2016 21:11:25 +0000 (21 10:11 +1300)
treef1649f1113ad60f3571ec87f620df727b98d8d1f
parent2bcf80947427ff01af96f1ebf304a9b31592fd2a
Fix allterms with prefix on glass with uncommitted changes

Glass aims to flush just the relevant postlist changes in this case
but the end of the range to flush was wrong, so we'd only actually
flush changes for a term exactly matching the prefix.

Fixes #721

(cherry picked from commit 4a12d37f3b9dedfed36cc76eefd0f31dc9cc3b9b)
xapian-core/backends/glass/glass_inverter.cc
xapian-core/tests/api_queryparser.cc