PyLucene GCJ 2.2.0-1 for win32, python 2.5

PyLucene is Python binding to the Lucene library created by
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.

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

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.

    • Josef
    • January 14th, 2008

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

    • Dan
    • March 5th, 2008

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

    • Dalvin
    • March 6th, 2008

    Installation didn’t work , its looking for dll.

    • Lorinkoz
    • November 4th, 2009

    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.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: