Re: Different boost values for different terms in a field.

2006-10-05 Thread Doron Cohen
Frode Bjerkholt <[EMAIL PROTECTED]> wrote on 05/10/2006 01:10:43: > My intention is to give different terms in a field different boost values. > The queries from a use perspective, will be one fulltext input field. > The following code illustrates this: > > Field f1 = new Field("name", "John", Fiel

Different boost values for different terms in a field.

2006-10-05 Thread Frode Bjerkholt
Hi My intention is to give different terms in a field different boost values. The queries from a use perspective, will be one fulltext input field. The following code illustrates this: Field f1 = new Field("name", "John", Field.Store.NO, Field.Index.TOKENIZED); Field f2 = new Field("name", "Doe