List Info

Thread: Re: extend Similarity -- but only want to overide one func: lengthNorm()




Re: extend Similarity -- but only want to overide one func: lengthNorm()
country flaguser name
United States
2007-03-19 23:40:50
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-devosafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylu
cene-dev

Re: extend Similarity -- but only want to overide one func: lengthNorm()
country flaguser name
United States
2007-03-20 13:54:58
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 <vajdaosafoundation.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-devosafoundation.org
>
http://lists.osafoundation.org/mailman/listinfo/pylu
cene-dev
> 



 
____________________________________________________________
________________________
Expecting? Get great news right away with email Auto-Check.

Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newm
ail_tools.html 
_______________________________________________
pylucene-dev mailing list
pylucene-devosafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylu
cene-dev

Re: extend Similarity -- but only want to overide one func: lengthNorm()
country flaguser name
United States
2007-03-20 13:54:58
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 <vajdaosafoundation.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-devosafoundation.org
>
http://lists.osafoundation.org/mailman/listinfo/pylu
cene-dev
> 



 
____________________________________________________________
________________________
Expecting? Get great news right away with email Auto-Check.

Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newm
ail_tools.html 
_______________________________________________
pylucene-dev mailing list
pylucene-devosafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylu
cene-dev

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )