search for: _enquire_match_spy_add

Displaying 1 result from an estimated 1 matches for "_enquire_match_spy_add".

2010 Dec 01
2
Using a subclass of MatchSpy in Python bindings
.... >>> ms = MyMatchSpy() >>> enquire = xapian.Enquire(database) >>> enquire.add_matchspy(ms) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.6/dist-packages/xapian/__init__.py", line 6920, in _enquire_match_spy_add _enquire_add_matchspy_orig(self, decider) TypeError: in method 'Enquire_add_matchspy', argument 2 of type 'Xapian::MatchSpy *' Am I missing something obvious here, or is swig misbehaving? The above works if ms is an instance of xapian.ValueCountMatchSpy, but I need to implement...