December 28, 2007...7:36 pm
PyLucene GCJ 2.2.0-1 for win32, python 2.5
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
January 14, 2008 at 10:49 pm
Installation did not work for me - _pylucene is looking for a dll
March 5, 2008 at 4:01 am
I had the same problem, fixed by renaming libiconv-2.dll to libiconv2.dll
March 6, 2008 at 6:12 am
Installation didn’t work , its looking for dll.
Leave a Reply