[Xapian-discuss] Perl bindings and MatchSpy
Olly Betts
olly at survex.com
Wed Aug 19 14:50:18 BST 2015
On Wed, Aug 19, 2015 at 05:31:31PM +0700, Andreas Marienborg wrote:
> I’m cleaning up some code at my work place, and it turns out someone
> had forked Search::Xapian and added MatchSpy bindings for it for one
> of our internal projects. I was wondering if I should try to extract
> this as a patch against the current Search::Xapian code, and submit
> it, or if that is not wanted/wasted effort? It seems to be against
> 1.2.4.n of Search::Xapian, but I think I should be able to update it
> against the most current release.
>
> Last time I was involved (which was a long time ago, haha), the
> Search::Xapian stuff was moving to SWIG soon, but I am not sure if
> that has happened or not yet?
The 1.3.x development series only has SWIG-based Perl bindings.
In 1.2.x, there are both the hand-coded XS ones and SWIG-based ones, but
the XS ones are the ones most people use (well, probably - it's hard to
actually measure).
There's going to be a new 1.4.x stable release series fairly soon, but
1.2.x will live on for a while to give people a chance to transition.
So a patch to add MatchSpy support to the XS bindings seems useful at
this point.
> If I want to create a patch, should it be against the xapian-bindings
> directory/repo? or somewhere else?
Against the search-xapian directory of the git repo would be best.
The SWIG-based bindings should already wrap MatchSpy.
Cheers,
Olly
More information about the Xapian-discuss
mailing list