lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fisheye <des...@gmx.ch>
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
on...

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?

thx

Simon Dietschi
--
View this message in context: http://www.nabble.com/Custom-hit-score-t1392157.html#a3741693
Sent from the Lucene - Java Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message