lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liquideshark <>
Subject problem with field.setboost(5.0f) on lucene 2.00
Date Thu, 01 Feb 2007 11:15:49 GMT

iam building up a search engine using lucene 2.0, and iam having problem
using the term boost "setboost" a part of my code is :
and my code is :

Field("title",httpd.getTitle(),Field.Store.YES,Field.Index.TOKENIZED ));
doc.getField("title").setboost(5.0f);//  <=== the boost wont update to 5.0
it remain 1.0

but when i look up in the index created the field title is still 1.0
can some one help me thx
View this message in context:
Sent from the Lucene - Java Users mailing list archive at

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

View raw message