lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anson Lau" <a...@fulfil-net.com>
Subject RE: Weighting database fields
Date Wed, 21 Jul 2004 15:40:56 GMT
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:erik@ehatchersolutions.com] 
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:dev_johnpatterson@hotmail.com]
> Sent: Thursday, July 22, 2004 12:07 AM
> To: lucene-user@jakarta.apache.org
> 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: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message