December 28, 2007...7:36 pm

PyLucene GCJ 2.2.0-1 for win32, python 2.5

Jump to Comments

PyLucene is Python binding to the Lucene library created by osafoundation.org.

PyLucene-2.2.0-1-gcj-py25-win32.zip
Download from DivShare
Download from WikiFortio

Compilation Settings:
This version is compiled MingW 3.4.5 (the PyLucene creators recommends MingW 3.4.2 ;P), Lucene release 2.2.0 (the PyLucene creators use Lucene revision 549438, which is older revision, I believe). I do not add Berkeley DB support on this compilation.

Installation:
Extract the zip file contents into Python site-package directory.

Usage:
import PyLucene

# your code here

Source Code:
The source code of this package can be retrieved from PyLucene homepage and GnuWin32 homepage (for the libiconv-2 source).

Test Result:
All 31 tests distributed with the sources run OK.

Other Things:
Lucene 2.2.0 has a different API with Lucene 2.1.0, for example with PyLucene 2.2.0 we can write PyLucene.FSDirectory.getDirectory(dir) while with PyLucene 2.1.0 we need to add the second argument PyLucene.FSDirectory.getDirectory(dir, False), so it might not be 100% compatible with your existing code.

3 Comments

Leave a Reply