[pylucene-dev] extend Similarity -- but only want to overide one func: lengthNorm()

Andi Vajda vajda at osafoundation.org
Mon Mar 19 20:40:50 PST 2007


On Mon, 19 Mar 2007, John Kleven wrote:

> Traceback (most recent call last):
>  File "test/test_ThaiAnalyzer.py", line 27, in ?
>    from PyLucene import ThaiAnalyzer
> ImportError: cannot import name ThaiAnalyzer

This import should work. You might be running an older version of PyLucene.
In your python interpreter, what does PyLucene.VERSION say ?

Andi..


More information about the pylucene-dev mailing list