[Xapian-discuss] xapian python bindings

Olly Betts olly at survex.com
Thu Aug 23 03:24:09 BST 2007


On Mon, Aug 20, 2007 at 09:34:37PM +0100, James Aylett wrote:
> On Mon, Aug 20, 2007 at 10:22:29AM -0700, Alexander Lind wrote:
> > The PHP bindings has a limitation which is really due to a SWIG 
> > limitation - it makes it so you can't use the matchdecider function in PHP.
> > 
> > Is this the same for the Python bindings?  Is it the same for all SWIG 
> > generated bindings?
> 
> No, it's a limitation of SWIG with PHP (primarily). Deciders should
> work with python (and, I believe, ruby? and some others).

They work with Python, Ruby, and C#.  And also for Java, though the Java
bindings aren't currently implemented using SWIG.

They don't work for PHP or Tcl, since SWIG doesn't currently support
"directors" for these languages.  I'm pretty sure it could for PHP;
I don't know about Tcl.

Cheers,
    Olly



More information about the Xapian-discuss mailing list