OP_PHRASE should directly support non-leaf subqueries
|Reported by:||Olly Betts||Owned by:||Olly Betts|
Description (last modified by )
Currently Xapian does support OP_PHRASE with non-leaf subqueries, like this:
A OP_PHRASE (B OP_OR C)
But it handles with by converting it to:
(A OP_PHRASE B) OP_OR (A OP_PHRASE C)
This works, but it would be more efficient for OP_OR, etc to support merging of the positional information of their subqueries so that OP_PHRASE could work directly with non-leaf subqueries.
Marking as 1.2.x since this is essentially an internal implementation change so there aren't API or ABI compatibility concerns.