lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <>
Subject Re: Max score of two fields
Date Sat, 12 Nov 2005 01:32:48 GMT
It doesn't seem like a custom Similarity would work.  Always returning
1.0 for coord would still rank a doc higher if both current_name and
old_name matched.

Now hiring --

On 11/11/05, Erik Hatcher <> wrote:
> I believe if you create a custom Similarity implementation (subclass
> DefaultSimilarity) and override coord() and return 1.0f from it you
> will achieve what you're after.

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

View raw message