Enable open_nearby_postlist for writable databases
commit5489fb2f838c0f0b0a593b4c17df282a93a1fe5a
authorOlly Betts <olly@survex.com>
Thu, 21 Dec 2017 20:58:55 +0000 (22 09:58 +1300)
committerOlly Betts <olly@survex.com>
Thu, 21 Dec 2017 20:58:55 +0000 (22 09:58 +1300)
tree5fb4a095823e49aabeb22d17760ed9157f448ebf
parent54057177f67f4a7361a3c48af59ac2271458a90b
Enable open_nearby_postlist for writable databases

We were disabling this glass backend optimisation (which especially
helps large wildcard queries) if the database was writable, but it
is actually valid for a writable database provided there aren't any
uncommitted changes, so change the test to that.
xapian-core/backends/glass/glass_postlist.cc