Erik,

Is there any benefit to set the boost during indexing rather than set it
during query?

I usually set it when doing a query because you can change that boost values
easily without having to re-index.

Thanks,
ANson


-----Original Message-----
From: Erik Hatcher [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 22, 2004 12:52 AM
To: Lucene Users List
Subject: Re: Weighting database fields

On Jul 21, 2004, at 10:09 AM, Anson Lau wrote:
> Apply boost factor to fields when you do a lucene search.

Or... set the boost on the Field during indexing.

        Erik


>
> Anson
>
> -----Original Message-----
> From: John Patterson [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 22, 2004 12:07 AM
> To: [EMAIL PROTECTED]
> Subject: Weighting database fields
>
> Hi,
>
> What is the best way to get Lucene to assign weightings to certain 
> fields
> from a database?  For example, the 'name' field should be weighted 
> higher
> than the 'description' field.
>
> Thanks,
>
> John.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to