lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fisheye <>
Subject Custom hit score
Date Tue, 04 Apr 2006 10:00:40 GMT

I want to have a simple hit score for every document where the query has been
found. E.g. if the query word was found 3 times in a document, this doc
should have 100% score, next document with 2 times should have 90% and so

Normal hit score used by Lucene seems to be strange so I only want to know
how many times a query text appears in a document. With that information,
then I can make my own simple ranking...

Does someone know how this works in Lucene?


Simon Dietschi
View this message in context:
Sent from the Lucene - Java Users forum at

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

View raw message