lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Armbrust, Daniel C." <>
Subject Document scoring
Date Thu, 29 May 2003 19:44:13 GMT
I've noticed an oddity in scoring....

If I do my search like this:, filter, new HitCollector()
	public void collect(int doc, float score)
		tempHits.add(new LuceneHits(doc, score));

I get different scores for the resulting documents than I do if I do my search like this:

hits =, filter);

Both methods return the same number of hits.  I can live with them returning different scores,
I'm just curious as to why it happens.

Furthermore, the first method returns several scores that are greater than 1.0.  Isn't this
supposed to be impossible?  The FAQ states that scores range from 0 to 1.



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

View raw message