Thanks that clears it up. Sorry to confuse things with a basic java mistake.

I think Lucene is a great library. My question for the future is whether
others perceive a need for expanding the capabilities of Document or Field
Boosts. I feel they are limited by both the number of allowed boost values
and the method in which they are encoded (i.e. can't be overridden). 

In my application I wanted to have differences in boosts of 5% or so
influence the results. Given the wide range of values covered by
Similarity.encodeNorm()  small percentage changes are typically lost. In the
meantime, I can edit the open source for my particular use.

Thanks for the help,
Dan

-----Original Message-----
From: Erik Hatcher [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 17, 2004 11:50 AM
To: Lucene Developers List
Subject: Re: Explanations and overridden similarity


You cannot override static methods - this is how Java works.  You can 
override any of the non-static (and non-final) methods.

        Erik




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to