RE: giving different boost to different terms in a same document

2006-12-20 Thread Michael Rusch
xcept it's only implemented in my head...so it's more of a brainstorm than a proven technique... Michael. > -Original Message- > From: Eun Yong Kang [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 20, 2006 12:33 PM > To: java-user@lucene.apache.org > Subject:

Re: giving different boost to different terms in a same document

2006-12-20 Thread Eun Yong Kang
Yes I want to do boost in indexing time. But I want to do boost for terms instead of fields. I want to give different weight for different terms even if the field of two terms are same. For example, doc A contains field1 : term1 (weight C) field1 : term2 (weight F) I want to give diffe

Re: giving different boost to different terms in a same document

2006-12-20 Thread Erick Erickson
I don't think you want to do this at index time, but rather search time. Quoting from Hoss (?)... Index time field boosts are a way to express things like "this documents title is worth twice as much as the title of most documents". Query time boosts are a way to express "I care about matches on