lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Einspanjer" <>
Subject Is it possible to use a custom similarity class to cause extra terms in a field to lower score?
Date Thu, 17 May 2007 22:46:49 GMT
If I have two items in an index:
Terminator 2
Terminator 2: Judgment Day

And I score them against the query +title:(Terminator 2)
they come up with the same score (which makes sense, it just isn't
quite what I want)

Would there be some method or combination of methods in Similarity
that I could easily override to allow me to penalize the second item
because it had "unused terms"?

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

View raw message