lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <erlend.bjo...@aftenposten.no>
Subject SV: setBoost(float) in org.apache.lucene.document.Field cannot be applied to (double)???
Date Thu, 04 Aug 2005 11:56:22 GMT
Hi!

>Field senderNameField = Field.Text("senderName", senderName); Field 
>subjectField = Field.Text("subject", subject); subjectField.setBoost(1.2);

Try:

subjectField.setBoost(1.2f);

? :-)

Erlend

---------------------------------------------------------------------
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