Fix bug with handling split positions
commit783b9bd97a07905786ab6205065763a3055c8861
authorOlly Betts <olly@survex.com>
Tue, 30 Oct 2018 16:14:28 +0000 (31 05:14 +1300)
committerOlly Betts <olly@survex.com>
Tue, 30 Oct 2018 16:14:28 +0000 (31 05:14 +1300)
tree0515c587db27e4c02aa8ec10a8b21426c1a52001
parent22b84f7181a37c8f71882a65a52d0ac4dec9dcc6
Fix bug with handling split positions

This bug in specific to the RELEASE/1.4 branch.  We weren't merging
the split positions before trying to encode them, which can lead to
corrupt encoded data.

Testcase splitpostings1 added by the previous commit serves as a
regression test for this too.
xapian-core/api/documentterm.h
xapian-core/api/maptermlist.h
xapian-core/api/omdocument.cc