Moray McConnachie wrote:
If you are using QueryParser to generate the query, then the syntax is
to add ^W where weight is a positive number, e.g. if searching an email
database for the term Fred

from:Fred^10 to:Fred^10 subject:Fred^5 Fred

 From memory, if you are using the API purely then you use
TermQuery.setBoost(w)

The default boost (weight) for terms is 1.

Thank you very much! This is just the information I was looking for!

-Michael

Reply via email to