On 11 Nov 2005, at 20:32, Yonik Seeley wrote:

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.

Oops - you're right. I was merely considering the coordination factor as the issue, neglecting the additive nature of the clauses. My bad.

    Erik



-Yonik
Now hiring -- http://forms.cnet.com/slink?231706

On 11/11/05, Erik Hatcher <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

Reply via email to