QueryParser: Fix CJK query over multiple prefixes
commitd724b413089329038e0cee05190b8c38cd794cc0
authorOlly Betts <olly@survex.com>
Sat, 17 Sep 2016 21:55:45 +0000 (18 09:55 +1200)
committerOlly Betts <olly@survex.com>
Sat, 17 Sep 2016 22:51:51 +0000 (18 10:51 +1200)
tree9abe9d364c64b5767ae33d4be1d67b5d43000d79
parent512005e706775171e8197b44976534a2c8423974
QueryParser: Fix CJK query over multiple prefixes

Previously all the n-gram terms were AND-ed together - now we AND
together for each prefix, then OR the results.

Fixes #719, reported by Aaron Li.

(cherry picked from commit a5b11842a6469ea37205455500094af3d7db85ec)
xapian-core/queryparser/queryparser.lemony
xapian-core/tests/queryparsertest.cc