Detect common wdf-disjoint OP_SYNONYM subqueries
commit18669e0f5363d5110c716c32de4a0734c773bfa2
authorOlly Betts <olly@survex.com>
Mon, 5 Nov 2018 03:37:46 +0000 (5 16:37 +1300)
committerOlly Betts <olly@survex.com>
Mon, 5 Nov 2018 03:37:46 +0000 (5 16:37 +1300)
tree61ef17034d931159d954fb98f1269f08836bb576
parentda3fce2dba479e3a967ff894774497f661aae44d
Detect common wdf-disjoint OP_SYNONYM subqueries

Check for all subqueries being different terms, and for all
subqueries being non-overlapping wildcards.  The second case
is what QueryParser produces for wildcard or partial when a query
prefix maps to more than one term prefix.
xapian-core/api/queryinternal.cc