You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Grant Ingersoll <gs...@apache.org> on 2008/12/01 23:18:44 UTC
Re: Boosting fields are searching or indexing time?
Possibly, but probably not. Index time boosting is generally done to
say one field is more important than another field, or one document is
more important than another document, whereas query time boosting
generally says this term is more important than that term.
Additionally, search time boosting has much more granularity than
index time boosting, meaning you have more bits to express the boost
value during search than you do during indexing.
HTH,
Grant
On Nov 30, 2008, at 11:11 AM, Marc Sturlese wrote:
>
> Hey there,
> I have a simple question about boosting fields,
> I have a lucene indexer app that indexes data from a db. At indexing
> time I
> give different boost to the fields depending on if the field is
> title or
> content. Would it be the same to set the boost at searching time
> instead of
> at indexing? I mean, the results of the search would be exactly the
> same?
>
> Thanks in advance
> --
> View this message in context: http://www.nabble.com/Boosting-fields-are-searching-or-indexing-time--tp20759051p20759051.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: Boosting fields are searching or indexing time?
Posted by Marc Sturlese <ma...@gmail.com>.
Thanks, I clearly understood it.
Grant Ingersoll-6 wrote:
>
> Possibly, but probably not. Index time boosting is generally done to
> say one field is more important than another field, or one document is
> more important than another document, whereas query time boosting
> generally says this term is more important than that term.
>
> Additionally, search time boosting has much more granularity than
> index time boosting, meaning you have more bits to express the boost
> value during search than you do during indexing.
>
> HTH,
> Grant
>
>
> On Nov 30, 2008, at 11:11 AM, Marc Sturlese wrote:
>
>>
>> Hey there,
>> I have a simple question about boosting fields,
>> I have a lucene indexer app that indexes data from a db. At indexing
>> time I
>> give different boost to the fields depending on if the field is
>> title or
>> content. Would it be the same to set the boost at searching time
>> instead of
>> at indexing? I mean, the results of the search would be exactly the
>> same?
>>
>> Thanks in advance
>> --
>> View this message in context:
>> http://www.nabble.com/Boosting-fields-are-searching-or-indexing-time--tp20759051p20759051.html
>> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Boosting-fields-at-search-or-indexing-time--tp20759051p20787949.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org