lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Climan" <>
Subject RE: Explanations and overridden similarity
Date Fri, 17 Dec 2004 20:31:26 GMT
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,

-----Original Message-----
From: Erik Hatcher [] 
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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message