[Xapian-tickets] [Xapian] #508: OP_PHRASE should directly support non-leaf subqueries
Xapian
nobody at xapian.org
Sun Sep 19 09:28:17 BST 2010
#508: OP_PHRASE should directly support non-leaf subqueries
-------------------------+--------------------------------------------------
Reporter: olly | Owner: olly
Type: enhancement | Status: new
Priority: normal | Milestone: 1.2.x
Component: Matcher | Version: SVN trunk
Severity: normal | Blockedby:
Platform: All | Blocking:
-------------------------+--------------------------------------------------
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-lead subqueries.
Marking as 1.2.x since this is essentially an internal implementation
change so there aren't API or ABI compatibility concerns.
--
Ticket URL: <http://trac.xapian.org/ticket/508>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list