charupload

PyLucene GCJ 2.2.0-1 for win32, python 2.5

with 4 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.

Written by char101

December 28, 2007 at 7:36 pm

Posted in Python

Tagged with , , ,

4 Responses

Subscribe to comments with RSS.

  1. Installation did not work for me – _pylucene is looking for a dll

    Josef

    January 14, 2008 at 10:49 pm

  2. I had the same problem, fixed by renaming libiconv-2.dll to libiconv2.dll

    Dan

    March 5, 2008 at 4:01 am

  3. Installation didn’t work , its looking for dll.

    Dalvin

    March 6, 2008 at 6:12 am

  4. Could you please do the same with the current version of PyLucene 2.9.0 ? That would be great. You’d prevent us from all the pain of compiling/making/installing/etc.
    Thanks

    Lorinkoz

    November 4, 2009 at 10:17 am


Leave a Reply