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

Xapian nobody at xapian.org
Tue Dec 1 11:28:46 GMT 2015


#498: Expose PostingSource::set_maxweight() to bindings
-----------------------------+------------------------------
 Reporter:  richard          |             Owner:  olly
     Type:  enhancement      |            Status:  assigned
 Priority:  normal           |         Milestone:  1.3.5
Component:  Xapian-bindings  |           Version:  SVN trunk
 Severity:  normal           |        Resolution:
 Keywords:                   |        Blocked By:
 Blocking:                   |  Operating System:  All
-----------------------------+------------------------------
Changes (by olly):

 * status:  new => assigned
 * milestone:  1.3.x => 1.3.5


Comment:

 Had a quick poke, and the only sane ways I can see to get this wrapped is
 to either just make it public in the C++ API, or to create a
 `PostingSource` subclass which is wrapped for the bindings instead of the
 actual `PostingSource` class and provides a public method.

 I don't see any code generated (as comment:1 claims) - I guess SWIG used
 to generate code for this case which wasn't usable, and has since been
 fixed not to generate it.

 I don't see a big downside to just making this public in C++.  Not sure if
 it should be hidden from the doxygen documentation, or noted as probably
 only useful from subclasses, or what.

 Marking for 1.3.5.

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



More information about the Xapian-tickets mailing list