lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Woon <>
Subject Javadoc error?
Date Thu, 24 Feb 2005 04:27:34 GMT
The javadoc for Field.setBoost() claims: 

"The boost is multiplied by |Document.getBoost()| 

of the document containing this field. If a document has multiple fields 
with the same name, all such values are multiplied together."

However, from what I can tell from IndexSearcher.explain(), multiple 
fields with the same name have their boost values added together.  It 
might very well be that I'm misinterprating what I'm seeing from 
explain(), but if I'm not, then either the javadoc is wrong or there's a 
bug somewhere...

Does anyone know which way it's actually supposed to work?


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

View raw message