[Xapian-discuss] Xapian Under Jython

Kenneth Loafman kenneth at loafman.com
Thu Sep 10 11:01:01 BST 2009


Richard Boulton wrote:
> 2009/9/9 Kenneth Loafman <kenneth at loafman.com <mailto:kenneth at loafman.com>>
> 
>     Hi,
> 
>     Has anyone run Xapian under Jython instead of Python?  In theory it
>     should work, but I don't see how to get the bindings to play nice.  Any
>     pointers would be appreciated.
> 
> 
> I've not tried it, but I imagine you'd need to use the Java-Xapian
> bindings, and talk to them from Jython, rather than using the
> Python-Xapian bindings.  Of course, the interface provided by the
> Java-Xapian bindings is going to be different from the Python-Xapian
> bindings, so I'm afraid it's not going to be a drop-in, plug-and-play
> exchange.

You're right.  An extension that's pure Python will work, but nothing
with C/C++ bindings.  Looks to me that Java as the base language is the
way to go in my case since this project does not have a lot in Python
already.

...Thanks,
...Ken



More information about the Xapian-discuss mailing list