[Xapian-tickets] [Xapian] #433: MatchSpy should allow early termination

Xapian nobody at xapian.org
Fri Dec 23 10:24:59 GMT 2011


#433: MatchSpy should allow early termination
-------------------------+--------------------------------------------------
 Reporter:  richard      |       Owner:  olly     
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  1.3.x    
Component:  Matcher      |     Version:  SVN trunk
 Severity:  normal       |    Keywords:           
Blockedby:               |    Platform:  All      
 Blocking:               |  
-------------------------+--------------------------------------------------
Changes (by olly):

  * milestone:  1.2.x => 1.3.x


Comment:

 Marking for 1.3.x - if we want to make an API change here, early 1.3.x is
 the time to do it, so we should think about this ticket in the nearish
 future.

 We could add a second virtual operator() with different parameters which
 gets called by 1.3.x, and a default implementation of this which calls the
 existing operator() and returns the "don't change anything" value.  Then
 existing !MatchSpy subclasses will still compile and work, though with an
 extra virtual call overhead.

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



More information about the Xapian-tickets mailing list