lib: Fix RegexpPostingSource
authorOlly Betts <olly@survex.com>
Tue, 7 Mar 2017 12:52:39 +0000 (08:52 -0400)
committerDavid Bremner <david@tethera.net>
Tue, 7 Mar 2017 23:44:36 +0000 (19:44 -0400)
commit81bd72cebbffcc11be4198a099974a0e0722c86e
tree4ceaffb0540ec8ae8752700a2ec9e2b6df182b44
parent9208289eeae0e878213606717af5d59b0c0720f9
lib: Fix RegexpPostingSource

Remove incorrect skipping to first match from init(), and add explicit
skip_to() and check() methods to work around xapian-core bug (the
check() method will also improve speed when filtering by one of
these).
lib/regexp-fields.cc
lib/regexp-fields.h