lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: Boost doesn't works
Date Mon, 28 Feb 2005 21:30:36 GMT
Claude Libois wrote:
> The explanation given by the IndexSearcher indicate me that the boost of my
> title is
> 1.0 where  it should be 10.0.
> I really don't understand what it's wrong.

You're seeing the boost for the query term, not the boost for the 
document's field.  The boost for the field in the document is multiplied 
by its lengthNorm.  This product is displayed in explanations as the 
"fieldNorm".

Doug

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


Mime
View raw message