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

John Kleven johnkleven at yahoo.com
Tue Mar 20 10:54:58 PST 2007


Thanks - that was it.

Because i had not issued a "make install" after the
make all, it was not really testing what i had just
created, I believe it was grabbing PyLucene from
site-packages still.

I should've paid more attention to sys.path.  Thank
you very much Andi.  Now i can finally try out the
similarity delegator stuff you added :)

John


--- Andi Vajda <vajda at osafoundation.org> wrote:

> 
> 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..
> _______________________________________________
> pylucene-dev mailing list
> pylucene-dev at osafoundation.org
>
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
> 



 
____________________________________________________________________________________
Expecting? Get great news right away with email Auto-Check. 
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html 


More information about the pylucene-dev mailing list