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

John Kleven johnkleven at yahoo.com
Thu Mar 8 00:52:20 PST 2007


Hey friends,

Is it possible extend the Similarity class via
PyLucene but only to override one function, namely
lengthNorm()?

I've seen the examples in ScoreTest.py and
test_similarity.py, and they both take over *all*
functions, but i would like to just get whatever
default behaviour i was getting before via Similarity,
except for i need to tweak lengthNorm a bit.

Sorry if this has been been covered and thanks -
John


 
____________________________________________________________________________________
The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php


More information about the pylucene-dev mailing list