[Xapian-tickets] [Xapian] #400: Optimise AND_MAYBE when the RHS has a maxweight of 0

Xapian nobody at xapian.org
Tue Dec 10 07:36:01 GMT 2019


#400: Optimise AND_MAYBE when the RHS has a maxweight of 0
-----------------------------+-------------------------------
 Reporter:  Richard Boulton  |             Owner:  Olly Betts
     Type:  enhancement      |            Status:  closed
 Priority:  normal           |         Milestone:  1.5.0
Component:  Matcher          |           Version:  git master
 Severity:  minor            |        Resolution:  fixed
 Keywords:                   |        Blocked By:
 Blocking:                   |  Operating System:  All
-----------------------------+-------------------------------
Comment (by Olly Betts):

 Just noting I'm doing some reworking to handle this in more cases.  It
 wasn't being handled for `OP_AND_MAYBE` directly below another AND-like
 operator.  And for an `OP_AND_MAYBE` with multiple right branches (which
 is probably much less common, especially as we used to only allow one
 right branch) it would only trigger if they all had maxweight 0, whereas
 with my changes it will consider them individually.
-- 
Ticket URL: <https://trac.xapian.org/ticket/400#comment:8>
Xapian <https://xapian.org/>
Xapian


More information about the Xapian-tickets mailing list