[Xapian-tickets] [Xapian] #508: OP_PHRASE should directly support non-leaf subqueries

Xapian nobody at xapian.org
Tue Jan 5 11:11:36 GMT 2016


#508: OP_PHRASE should directly support non-leaf subqueries
-------------------------+------------------------------
 Reporter:  olly         |             Owner:  olly
     Type:  enhancement  |            Status:  assigned
 Priority:  normal       |         Milestone:  1.3.x
Component:  Matcher      |           Version:  SVN trunk
 Severity:  normal       |        Resolution:
 Keywords:               |        Blocked By:
 Blocking:               |  Operating System:  All
-------------------------+------------------------------

Comment (by olly):

 > However, IIRC 1.3.x no longer supports even the distribution of the
 operator indicated in the description

 Tested and confirmed.

 For `OP_OR`, we can have an `OrPositionList` which merges the positions
 lists (much like `OrPostList`) , but there's not an obvious matching
 interpretation for all the operators - e.g. `(a AND b) NEAR c` can't
 really require `a` and `b` occur at the same position, as generally only
 one term occurs at each position.  Expanding this to `(a NEAR c) AND (b
 NEAR c)` as 1.2.x does makes sense (though if we're clever we create the
 equivalent `(a AND b AND c)` plus two positional filters which can get
 hoisted.

--
Ticket URL: <http://trac.xapian.org/ticket/508#comment:8>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list