[Xapian-tickets] [Xapian] #498: Expose PostingSource::set_maxweight() to bindings

Xapian nobody at xapian.org
Thu Jun 30 19:29:51 BST 2011


#498: Expose PostingSource::set_maxweight() to bindings
-----------------------------+----------------------------------------------
 Reporter:  richard          |       Owner:  olly     
     Type:  enhancement      |      Status:  new      
 Priority:  normal           |   Milestone:  1.2.x    
Component:  Xapian-bindings  |     Version:  SVN trunk
 Severity:  normal           |    Keywords:           
Blockedby:                   |    Platform:  All      
 Blocking:                   |  
-----------------------------+----------------------------------------------

Comment(by olly):

 > However, they can still return a custom maxweight by overriding their
 get_maxweight(); method, which appears to be wrapped correctly, such that
 it will be called by the matcher.

 That won't work as {{{get_maxweight()}}} isn't virtual.

 Not sure what's up with {{{set_maxweight()}}} - there's code generated for
 it, but it doesn't seem to be callable.

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



More information about the Xapian-tickets mailing list