PyLucene: Real Lucene in Python via GCJ and SWIG

Jun 26, 2004 04:32 · 97 words · 1 minute read

The OSAF has released PyLucene, which takes the fine Lucene search engine and compiles it to native code using GCJ, and then wrapping it for Python use using SWIG. There is a Python port of Lucene called Lupy, but it’s slower than the Java version and, since it’s a port, lags behind Lucene in development.

There’s been a lot of interesting work lately in bridging Python and Java (CPython, that is, not Jython, which is already quite attached to Java). The PyLucene approach is an interesting one, and could probably be applied to many fine Java libraries.