On Wed, 30 Sep 2009, Aric Coady wrote:
On Sep 29, 2009, at 3:10 PM, Andi Vajda wrote:
With the recent release of Java Lucene 2.9.0, a PyLucene 2.9.0 release is
in the works. I just completed the first rev of this and checked it into
svn trunk. So far, I've only tested it on Mac OS X 10.6 with 64-bit Python.
All unit tests pass as run with 'make test'.
If you're on a different platform and have some spare cycles, I'd be
curious to see if all unit tests pass on your platform.
Unit tests passed for me (also on OS X though). I did run into a problem
with the MemoryIndex type missing. It was a top level class in 2.4, and
apparently the highlighter uses it.
import lucene
lucene.initVM(lucene.CLASSPATH)
print lucene.VERSION
print lucene.MemoryIndex # AttributeError in 2.9
Indeed.
I now added the 'memory' contrib to the default PyLucene build.
Thanks for catching this !
Andi..