lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eun Yong Kang <ek...@cs.utah.edu>
Subject giving different boost to different terms in a same document
Date Wed, 20 Dec 2006 08:39:58 GMT
Hi,

I am trying to figure out how to give different weights to different 
terms in a same document.
Anybody knows how to do this?

For example,

doc A   contains  field1 : term1  (weight C)   field1 : term2 (weight F)

If I use setBoost(float)  function in the Field Object, I cannot give 
different weight to
term1 and term2.

Thanks,

Eun

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